Skip navigation
vampyricus
Currently Being Moderated

FPS frame rates

Jun 29, 2012 11:17 AM

I have created an fla file using 35 individual jpg files and a sound file.

I have imported them all into the library and then i have created the file as 35 individual scenes and then added the sound.

 

The problem I have is that some of my jpg files have text on them and some are visual only.

The text jpgs need to display for longer than the visual only files however I cannot find a way to adjust the FPS rate on the individual scenes - I can only adjust the FPS of the entore document through either the timeline OR the "modify" menu.

 

Can anyone tell me if I have done this the easiest or correct way ?

Is there a way to adjust individual FPS rates ?

Or is there an easier way to create my animation using the files I have ?

 

 

I am a flash beginner and have already tried to search for solutions to my problem.

 
Replies
  • Currently Being Moderated
    Jun 29, 2012 11:40 AM   in reply to vampyricus

    You can just extend the images for more frames in their scenes if you want them to appear longer.

     

    If your file is an AS3 file, then you can change the frameRate using actionscript.

     

    It is not clear what the intention of your design approach is, so explaining that could help point you in an entirely different direction for your design.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 29, 2012 11:42 AM   in reply to vampyricus

    Change the frame rate dynamically:

    http://flashspeaksactionscript.com/dynamically-adjust-the-frame-rate-o f-a-flash-animation/

    http://www.leebrimelow.com/?p=237

    or just add a few extra frames if you want one image to display longer... so instead of displaying each image for one frame, some display for one, others for two, etc.

    Also, if the audio is intended to sync up with the images, realize that any change in frame rate will throw this off.

     

    then added the sound

    If you do plan to sync the audio, you may have to add the sound first and then match up (add) the images to the audio... or you could be looking at problems.

    Best wishes,

    Adninjastrator

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 29, 2012 6:45 PM   in reply to vampyricus

    With those kinds of delays, I would not deal with this in terms of manipulating the frame rate or the number of frames at all.  You should build delays into each frame using code.  Also, do not use scenes, just place the images one frame after another in the first (and only) scene. 

     

    Then what you can do is have one layer with code that will extend across all frames so that its code is shared.  In this shared layer you could have the following code:

     

    var sto:uint;

     

    function playOn(){

         play();

    }

     

    Then have another layer for actionscript where you have code for each frame that resembles the following...

     

    stop();

     

    sto = setTimeout(playOn, 30000); // 30 seconds delay

     

     

    The stop makes the animation stop in that frame.

     

    The sto line starts a timeout function that will call that playOn function after the time specified passes (30 secs in that example - the value is specified as milliseconds)

     

    You could also use a Timer instead, but the setTimeout is probably simpler for you to deal with.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 29, 2012 6:50 PM   in reply to vampyricus

    If you are running into a wall trying to use code to solve this, then just use the timeline.  Set the framerate of the file to 1.00  (1 frame per second) and extend the images for as many frames as you want them to have seconds of display time.

     

    If you want the first image to last for 30 seconds, extend it for 30 frames.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 29, 2012 7:00 PM   in reply to vampyricus

    You're welcome

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points