Flash in a Flash
Goal: To import and control an animated GIF project.
- Open Flash.
- Choose File+Import and import your Maple generated animated GIF.
- Create a new Layer.
- On the new layer, draw a circle, away from the animation.
- Deselect the circle by selecting the arrow tool.
- Draw an imaginary rectangle around the circle and choose Insert+Convert
to Symbol.
- Choose "Button." Give it a name if you wish, though it's
not necessary. You now have a button.
- Select the button (with the mouse).
- Toggle the Actions panel (F9). Be sure you are in expert mode.
- Type in the following code
on (press) {if(_currentframe ==_totalframes) gotoAndStop(1);
nextFrame();stop();
}
on (rollOut) {play();
} |
- Try your new controlled animation by choosing Control+Text Movie.
Here is the movie that contains these instructions.
|