Hello,
I'm using the following code in the first frame to delay my swf a set time for each frame:
Code:
stop();
var myTimer: Timer = new Timer(8000);
myTimer.addEventListener(TimerEvent.TIMER, timerF);
myTimer.start();
function timerF(e:TimerEvent):void {
nextFrame();
}
This works fine but I want to be able to change the length of the delay for each frame after the first. Can anyone help me with the script that I need to use for each following frame that I want to change the delay setting for? I've tried alsorts but my as3 knowledge is limited so any help would be greatly appreciated.
Thanks