Forum Moderators: open

Message Too Old, No Replies

Flash MX FrameTempo

I want the frame to "wait" for few second

         

jilong

2:57 am on Apr 29, 2005 (gmt 0)

10+ Year Member



I would like to know does flash have the function call "frame tempo" just like Micromedia Director? I'm trying to control the frame time, for one frame i want it to hold on screen for few second . Now what i doing is extan the frame but this will make my file size biger and biger. Are there have any function can make the frame to "WAIT" for few second?

BlobFisk

11:04 am on Jun 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi jilong,

Sorry that this post has gone unanswered for so long!

I believe that a Flash movie has a set frame rate (that is, you set the number of frames per second for the whole movie). I think that to achieve what you want you need to use multiple frames...

Can anyone confirm/deny this?

benihana

11:20 am on Jun 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



yep. its set in the main document properties dialog.

rocknbil

4:26 pm on Jun 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This one's not a **great** solution because the actual delay time is going to vary based on the CPU speed of the host. Also it is going to depend on the selected frame rate for the movie.

But it works. :-D

Stretch the "pause" timeline over three frames. Let's put them at 12 and 14.
Frame 12:
count = 0;
Frame 13:
count=count+1;
frame14
if (count < 50) { gotoAndPlay(13); }

When count reaches 50 or more it will continue to the next frame.

Richard_N

3:07 pm on Jun 2, 2005 (gmt 0)



there is an article on macromedia.com which you can probably adapt (with a bit of actionscript knowledge)its for pausing and then looping.

[macromedia.com...]