Frame controller

  • mansite2003
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Sep 22, 2004
  • Posts: 37
  • Loc: Philippines
  • Status: Offline

Post October 1st, 2004, 4:47 am

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 1st, 2004, 4:47 am

  • Tchuki
  • Mastermind
  • Mastermind
  • No Avatar
  • Joined: Sep 30, 2004
  • Posts: 1774
  • Loc: Edinburgh
  • Status: Offline

Post October 1st, 2004, 6:04 am

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.
  • mansite2003
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Sep 22, 2004
  • Posts: 37
  • Loc: Philippines
  • Status: Offline

Post October 1st, 2004, 9:21 am

thanks Enigma...
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post October 1st, 2004, 2:03 pm

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 45 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
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.