Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Main extends MovieClip
  2.     {
  3.         private var tmr:Timer;
  4.        
  5.         public function Main()
  6.         {
  7.             super();
  8.            
  9.             tmr = new Timer(5000, 1);
  10.             tmr.addEventListener(TimerEvent.TIMER, timerHandler);
  11.             tmr.start();
  12.            
  13.         }
  14.                
  15.         public function timerHandler(evt:TimerEvent):void
  16.         {
  17.            
  18.             Bla.addChild(vlekske);
  19.  
  20.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement