all groups > flash actionscript > november 2006 >
You're in the

flash actionscript

group:

wait then gotoAndPlay



wait then gotoAndPlay KG800
11/6/2006 2:13:56 PM
flash actionscript: Hello,

In my flash piece I want the play head to stop at the last frame wait a little
bit then go to a specific frame with in the piece, so it will loop after it
plays the whole timeline once. I'm not sure how to complete this. I'm guessing
I will need to use setInterval, but not sure how. Thanks for any help you can
provide.

KG
Re: wait then gotoAndPlay kglad
11/6/2006 2:33:32 PM
try:



stop();
waitI=setInterval(waitF,5000); // <- will wait for 5000 milliseconds
function waitF(){
clearInterval(waitI);
_root.gotoAndPlay("specificFrameLabel");
Re: wait then gotoAndPlay KG800
11/6/2006 2:56:46 PM
Re: wait then gotoAndPlay kglad
11/6/2006 3:00:11 PM
AddThis Social Bookmark Button