flash as2 question
flash as2 question
Out of context: Reply #3
- Started
- Last post
- 5 Responses
- fyoucher10
Put this on the 1st frame somewhere >>
var delay_to:Number;
function pause(num:Number):Void {
clearTimeout(delay_to);
delay_to = setTimeout( function():Void { nextFrame(); }, num * 1000);
stop();
}Then instead of of adding your setTimeout function and stop on EACH frame, add this >
pause(4);