Ive been creating an alphabet game in Flash(CS5) AS3. My problem is:
* How can i link the first scene Aa to 2nd scene Bb and so on... after 5 seconds of showing the result(Image 3). :rolleyes:
Printable View
Ive been creating an alphabet game in Flash(CS5) AS3. My problem is:
* How can i link the first scene Aa to 2nd scene Bb and so on... after 5 seconds of showing the result(Image 3). :rolleyes:
Timer class:
PHP Code:import flash.utils.Timer;
import flash.events.TimerEvent;
myTimer=new Timer(50000);
myTimer.addEventListener(TimerEvent.TIMER, timerHandler);
myTimer.start()
function timerHandler(e:TimerEvent):void{
// code
}
ok thanks for that nice Timer class!!! I get it... but.. if i use frame by frame to my alphabet game, what should i use to call the next frame for (i.e. after the Aa stage, the next stage Bb will show up then Cc, Dd etc...) should i use gotoandplay(); ?