Frame controller

  • mansite_2003
  • Beginner
  • Beginner
  • mansite_2003
  • Posts: 39

Post 3+ Months Ago

hello guys... i have some problem about frame controller in flash... like when i play the movie using movie clip animation i want to make an something button to make an option like i whan the speed of 24 per frame, 34 per frame and so on... something like that.... is there anyone who give me this sample? or even code... :(

if can be.... how can i controlled it... if the movie files i can load it something like this... "mclLoader.loadClip("movie.swf",mcHolder);"

is there anyway to controlled it into my main page? or main movie... if that so! please help me..

please help me.
thanks guys.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Tchuki
  • Mastermind
  • Mastermind
  • Tchuki
  • Posts: 1774
  • Loc: Edinburgh

Post 3+ Months Ago

There is no script that you can use to alter the frame rate of the flash movie. You change the frame rate in the flash fla file and the frame rate is published with the settings it is given.
  • mansite_2003
  • Beginner
  • Beginner
  • mansite_2003
  • Posts: 39

Post 3+ Months Ago

thanks Enigma...
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Posts: 1402
  • Loc: Philadelphia, PA

Post 3+ Months Ago

Well, while you can't dynamically change the actual FPS rate of a movie... and all movies getting loading into another movie inherit the FPS rate of the movie it is getting loaded into, you can fake a frame rate using nextFrame(); and setInterval();.

Something like...

fps = 1000/24;//for 24 frames per second
setFPS = setInterval(this, 'nextFrame', fps);

Then you can stop it with...

clearInterval(setFPS);

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 16 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.