Skip to main content

flash as2 question 33 Responses

Last post: 1 year ago | Thread started: Apr 25, 12, 12:42 p.m.

RespondNew TopicDisable Images

  • CygnusZero4

    Say the fps of my Flash movie in the properties is set to 30fps, is it possible to change the framerate within individual movie clips, but keep the main movie fps at 30?

    Apr 25, 12, 12:42 p.m. – Permalink
  • albums

    Frame rate considerations

    In most cases, a loaded movie inherits the parent movie's frame rate. For example, a SWF file whose frame rate is 12 fps plays back at 24 fps when loaded into a movie whose frame rate is 24 fps. The only exception is if the movie being loaded contains a sound on the timeline whose sync is set to "stream". Only then does the main movie then inherit the frame rate of the loaded movie to assure the correct playback of that sound.

    Note: ActionScript 3.0 allows you to change the frame rate dynamically using the Stage.frameRate property.

    + add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earApr 25, 12, 12:46 p.m. – Permalink
  • angrybear

    no.

    AS3 will let you change framerate dynamically, but of the entire swf, not individual assets.

    you're going to need to go in and add/remove frames most likely to adjust speed.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earApr 25, 12, 3:02 p.m. – Permalink
  • uan

    yes. with tricks actually:
    "prior to AS3 you can also change the frame rate of the player by loading in a movie that has a streamed sound in it. The frame rate of that movie will then be used for your main movie (this has worked since at least Flash 5 if I remember right)"

    or you can control the framerate manually with updateAfterEvent.

    http://www.kirupa.com/forum/show…

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earApr 25, 12, 3:31 p.m. – Permalink

Login or Register to respond to this

Skip to main content