all groups > flash (macromedia) > november 2004 >
You're in the

flash (macromedia)

group:

pause


pause KiwiChic
11/29/2004 10:59:31 PM
flash (macromedia): other than adding frames to the time line, is there a way to:

load a frame
pause it for 5 secs
play the next frame
pause for 5 secs

Re: pause NSurveyor
11/29/2004 11:15:12 PM
Insert a new Layer. Then on the first frame of this layer, add this
actionscript:
stop();
stopping = false;
this.onEnterFrame = function(){
if(!stopping){
for(start = new Date();end-start<5000;end = new Date()){
stopping = true;
}
theNextFrame = _currentframe + 1;
stopping = false;
gotoAndStop(theNextFrame);
}
}
Re: pause NSurveyor
11/29/2004 11:45:08 PM
Re: pause urami_
11/30/2004 7:34:39 AM


[quoted text, click to view]

stop();
intID = setInterval(playOn, 5000);
function playOn() {
nextFrame();
}

5000 milliseconds = 5 seconds

--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
Re: pause urami_
11/30/2004 7:54:14 AM


[quoted text, click to view]

not really , flash 5 for instance has no SetInterval so in case someone use it,
will find the answer in this thread.

--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
AddThis Social Bookmark Button