control button
control button
This lesson is designed to show you the basics of Flash animation, interactivity, and authoring. You will:
STEPS
2) Open the actions window (WINDOW>ACTIONS). Copy and paste script below in the window. This script
means “when you click the button and the mouse RELEASES, PLAY the movie you’re in.”
on (release) {
play();
}
3) Now script your stop button. Select it, open the actions window, and this time copy and paste the
following script:
on (release) {
stop();
}
You have just created a .swf file and an HTML page that will have your animation appear inside of it. To
view your file in a default browser, double-click on the HTML page you created (or drag the HTML page icon
onto your browser icon—for example, Internet Explorer). Your animation should appear inside of the page.
Just with the skills you have learned today, you can see that you could create amazing animations and
make them interactive.