Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. package{
  2. import flash.display.*;
  3. import flash.text.*;
  4. import flash.events.*;
  5.  
  6. public class validarusuarios extends MovieClip{
  7. public var id:String = 'Juan';
  8.  
  9. public function validarusuarios(){
  10. gotoAndStop(1);
  11.  
  12. var boton1:botonentrar = new botonentrar();
  13. boton1.x = 100;
  14. boton1.y = 100;
  15. addChild(boton1);
  16.  
  17. boton1.addEventListener(MouseEvent.CLICK, entrada)
  18. }
  19.  
  20. public function entrada(event:MouseEvent){
  21. gotoAndStop(1); }
  22.  
  23. public function entrar(){
  24. gotoAndStop(2);
  25.  
  26. }
  27. }
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement