Search the site








Flash: Lesson 4 - Assigning actions

To make our movie interactive, we must assign actions to our buttons. First of all, however, we do not want our movie to play through each scene in turn, so we must stop it running through each frame. To do this, click on a frame in Scene 1 and go to Modify, Frame (Ctrl+F). In the tabbed dialog box that appears, click on Actions and then the plus button to add an action. Select Stop to prevent the movie playing on. This is the same window where we will add actions for our buttons.

Still in scene 1, select each button in turn and assign the appropriate action to it. For the first button, Tintagel to Land's End, for example, you want this to take the user to scene 2. To do this, go to Modify, Instance (Ctrl+I) and select the Actions tab. Click on the plus button and choose Go To, then, from the right hand side, Scene 2, Frame 1, ensuring that on press is selected. For each of the buttons in turn, repeat and go to Scenes 3-5.

A problem with our movie is that once we move off this first page, none of our buttons will work. The easiest thing to do is to copy our buttons from scene 1 to the other scenes. Click on the button layer to select all the buttons then, in each scene, click on Edit, Paste in Place (Ctrl+Shift+V).

 

Lesson 1 Lesson 2 Lesson 3
Lesson 4 Lesson 5  

 

© Jason Whittaker 2000-04



You can order copies of the following books:
Web Production for Writers and Journalists in paperback.
The Internet: The Basics in paperback.
The Cyberspace Handbook in paperback.