Skip to main content
Participant
April 23, 2010
Question

Change FPS rate with ActionScript?

  • April 23, 2010
  • 1 reply
  • 5454 views

I need to speed up a section of movie clip to 30 fps but I can't figure out how to do this in ActionScript. I tried changing it from the fps thing at the bottom of the timeline while I was inside the movie clip but when I exited the movie clip the fps rate was 30 for the main timeline. I thought it would be as such but I tried it anyway.

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
April 23, 2010

AS3 is the first version that allows for changing the frame rate dynamically.  Look into the Stage.frameRate property.

Participant
April 23, 2010

Ok, but can you be more specific as to where I can find this "property"? I'm a newbie to ActionScript and basically have no idea what you are talking about... I probably won't know what to do once I find this "property"...

Ned Murphy
Legend
April 24, 2010

Learning how to find information is key to succeeding.

You need to becomne familiar with the Flash Help documentation.  In the top toolbar under the Help selection choose "Flash Help".  If you are using CS4, I am not familiar with how accessing the Help docs works (they have them online instead of locally), but if they function anywhere near similar to older versions, you should be able to select the sections you want to search (AS3) and enter your search term (frameRate).

Another excellent resource for Flash information is searching Google.  If you were to search Google using "AS3 frameRate" you might find someone has prepared a tutorial for you that shows up early in the search results.