Control dynamically your FPS
Introduction
If you look for 'control dynamically the speed of your animation' on Flash sites you will find different methods but they all work by skipping frames. That means loss of smoothness and precision in the movement, loss of quality in the animation.
A better way is to modify the frame rate of the movieclip at runtime.
This tutorial introduces the use of the FPS Controller component. We will use it to modify the speed of an imported animated gif while playing by increasing and reducing the frame rate using the arrows keys, and display this speed. Like this:
| use : RIGHT key to increase speed LEFT key to reduce speed CTRL key to pause the animation SPACE key to unpause |
This requires basic to intermediate knowledge of actionscript. Be careful with instance names!
I used Flash MX 2004.
| » Level Intermediate |
|
Added: 2005-06-22 Rating: 8 Votes: 8 |
| » Author |
| . |
| » Download |
| Download the files used in this tutorial. |
| Download (346 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!