A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Faster Frame Rate for Movie Clip

  1. #1
    Junior Member
    Join Date
    Sep 2010
    Posts
    22

    Faster Frame Rate for Movie Clip

    Hi,

    I'm trying to find a way to make a certain movie clip run at a faster frame rate than the main timeline. I've searched around a lot and only found ways to make it go at a slower frame rate (using the FPS Controller Component).

    Any ideas/workarounds?

    Thanks a lot!
    Amir.

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    Not possible in AS2, but in AS3 it is!
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  3. #3
    Junior Member
    Join Date
    Sep 2010
    Posts
    22
    Hey, yeah, I've actually managed to find that option just now! But for some reason this script won't work... any idea why? (AS3):

    PHP Code:
    stage.addEventListener(Event.ENTER_FRAMEincreaseFR);

    function 
    increaseFR(e:Event):void {
      
    stage.frameRate ==24;


  4. #4
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    Code:
    stage.frameRate ==24;
    there's one too many equal signs. Change it to single =

    == means comparing the left variable to the right value
    = sets the right assignment to the left variable

    Actionscript Code:
    stage.frameRate = 24;

    EDIT: my 800th post, yay ^^
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  5. #5
    Junior Member
    Join Date
    Sep 2010
    Posts
    22
    Thanks, it works now!
    (Congrats on your post )

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