| Creating the control mechanism/button Making a button.
1. Select frame 1 of the bottom bulb layer. Select the Rectangle
tool.
2. Set the fill color to be the green radial gradient on the bottom of
the color palette. Select the line color as black.
3. Draw a rectangle on the stage where it is blank.
4. Using your arrow tool, highlight the rectangle and select the menu
Insert => convert to symbol. Call it Button and select the property of
button for this symbol.
5.
Double click on the button symbol on the stage. In the Button, right click
on the second frame and INSERT KEYFRAME. Click on the fourth frame and hit
your F5 key.
6.
On Frame number two, highlight the button and select the fill color of the
white to black radial fill color.
7. Double click on the stage to bring you back to the movie.
8. Highlight just the button on the stage, select edit=>copy.
9. Click on frame 2 of the bottom bulb layer. Select Edit Paste in Place.
Action Scripting the button.
1.
Click on the button on frame 1 to select it. Open your actions panel by
clicking the menu window=> actions.
2. Click the + symbol on the actions panel and select actions=> Movie Control=> goto..

3. Select the following settings
- Select GotoAnd Stop
- type = frame label
- frame = off
4. Click on frame 2, and highlight the button.
5.Click the + symbol on the actions panel and select actions=> Movie Control=> goto.
6. Select the following settings
- Select GotoAnd Stop
- type = frame label
- frame = off
7. Publish your movie.
|