//waitX
Thought this might come in handy for a few out there its a wait interval all you need to do is copy and paste this code sniplit into your timeline to get to work.
check the trace commands in the output panel for examples,
code definitions:
when the handle has been called 'waitXcall', sets a timer of 4 seconds '4*1000' then calls the interval waitX which then clears of the timer has depleted displaying the trace/goto frame.
----- code starts -----
//waitX
trace('waitX here \nWaitX by 1NF3C710N.');
waitX = function(){
clearInterval(waitXcall);
trace('waitX complete, gogogo');
//_root.play();
}
waitXcall = setInterval(waitX, 4*1000); //set the viable 4 higher value to wait longer.
//
stop();
----- code ends -----
/out. v
Labels: action script, adobe, as, flash, set Interval, setInterval, timer, wait, wait timer




