Featured FLA
» Author Miguel Panos
» Title: Tarta
» Description: It is a circle graph or pie chart that takes the data entered by user
» More byMiguel Panos
Featured Site
» AuthorDeft Creative Ltd
» Link: Home Page
» Description: Portfolio site for .DeftCreative Ltd. A UK based web design studio specialising in flash websites, games and interactive CDROMs. With an emphasis on making things different.
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.