A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Frame rate

  1. #1
    Join Date
    Jun 2005
    A bin

    Frame rate

    I was wondering if there is an AS code in Flash 5 which allows you to change the movie's framerate during play? as I am trying to make an intro movie ppl can use in their movies, but what if they choose a different frame rate to the intro?

    Please help, I will greatly appreciate the thought!


  2. #2
    Can't Re-Member madzigian's Avatar
    Join Date
    Apr 2004
    Boston MA
    if what you are making is a fle that will be loaded into another swf file.. the one beiong loaded takes on the frame rate of the movie it's being loaded into. So if the main movie has a frame rate of 30 fps, and the external has a rate of 12fps... when the external is loaded into the main movie, they will both run at 30fps..
    Please DO NOT PM me simply for individual help. Post in the public forums...that's what they are for, and they allow others to benefit as well. - Thx
    OS X 10.3.9 || Flash MX04 Pro
    | del.icio.us || furl || Helpful Source Files || Free Pixel Fonts |

  3. #3
    Senior Member Dricciotti's Avatar
    Join Date
    Aug 2002
    You can trick flash into using a different frame rate by using setInterval(). Example (code will change the frame every 1000 milliseconds):
    setInterval(movieControl, 1000);
    function movieControl()


  4. #4
    Junior Member
    Join Date
    Jun 2004
    This worked for me thanks buddy... GOD BLESS YOU, you don't know how much you help me.

    I actually change the gotoAndStop for a gotoAndPlay and everything is work just fine.

    Thanks again

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center