This section explains how to use the speedController to control the FPS of a movieClip that is on the stage. These instructions also apply when loading an external movie into a container movieClip that's on your stage.
1. Having installed the speedController component using the Macromedia Extension Manager, open your Flash file which contains the movie clip that you wish to control.
2. The movieClip should already be on your stage. Give the movieClip an instance name.
3. Locate the speedController component in the components panel and drag on top of the movieClip that's on your stage. You can then move the speedController to another position on the stage.
4. Select the speedController by clicking once on it and open the Component Inspector (Alt+F7). Set the following parameters for the speedController in the Component Inspector:
| Property |
Description |
Example |
|---|---|---|
| _targetInstanceName | The instance name of the movieClip on the stage that the speedController is linked to. In most cases this value would inserted automatically. | myClip |
| sliderVisibility | Specifies whether the slider should be visible on the stage or not. If set to true, the end user will be able to change the speed of the movieClip. | true |
| speed | The FPS (frames per second) at which the movie should run. The range is -100 to 100. A negative range would cause the movie to play in reverse. A value of zero would cause the movie to stop. | 30 |
| Auto loop fwd | Specifies whether to loop the movie continuously when playing forward. | true |
| Auto loop rew | Specifies whether to loop the movie continuously when playing in reverse. When the movie gets to frame 1, it would start playing in reverse again from the last frame. | false |
You can now test your movie by pressing Ctrl+Enter (Windows) or Ctrl+Enter (Mac).