I have this code in the last frame
stop();
var loop = true;
var timer = setInterval(makeLoop, 10000);
function makeLoop()
{
if(loop)
{
loop = false;
clearInterval(timer);
Play();
}
}
How can i put something in the first frame, so that the first loop take 1 sec, and then the code above will kick in instead of the code in the first frame?
btw, im a newbie.
[COLOR=red]EDIT:[/COLOR]
[COLOR=black]i know that i can create a varible in the first frame like:[/COLOR]
If (xx) {
} else {
make first loop 1 sec
xx = true;
}