A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Changing framerate with actionscript

  1. #1

    Changing framerate with actionscript

    Is there a way to change the framerate a movie runs at with actionscript? For example, I could have three buttons, slow, medium fast, which would change the framerate to 6, 12, or 24.

    Thanks

  2. #2
    Registered User Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    No, frame rate is set with the movie when you create the swf. There is no property to control it with.

    You could fake it. Like if you had some animation in a movie clip, you could use:

    _root.mcName.gotoAndPlay(_currentframe + 2);

    But it will appear jerky cause it's skipping frames.

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