Hi guys im using the timer to triger a second function from the top one.
But how do i sent a variable from the top function down to second one??
The above code works fine, but how would you send the var poo down to attached_menu function??Code:public function wait_for_flv() { var poo = "plop"; var myTimer:Timer = new Timer(5000, 1); myTimer.addEventListener("timer",attach_menu); myTimer.start(); } public function attach_menu(event:TimerEvent):void { trace("plop"); }
Tar
Aidan




Reply With Quote