How to Create a Button in Director to Jump to Another Frame
You can create a button in Macromedia Director that will allow you to jump to another frame when you click on it. You might want to do this if you are creating a menu, for example. These instructions apply to Macromedia Director 5.0. Procedures for other versions may vary.
Instructions
-
-
1
Open the Score, Control Panel and Tool Palette from the Window menu.
-
2
Click on a cell using the Score window at a point in the frame that is to contain your button. This selects the cell and moves the playback head to the frame that you have chosen.
-
-
3
Click on Button in the Tool Palette, then drag the Button tool to the Stage.
-
4
Draw a button on Stage.
-
5
Resize your button, color it and add text as desired.
-
6
Click on your button to select it.
-
7
Click in the white Script window at the top left-hand side of the screen, then select New Script. A Script window appears and contains the words, "On mouseUp .... end."
-
8
Locate the blank line that appears between "on MouseUp" and "end."
-
9
Type the words "go frame frameName" on the black line. In the place of "frameName," use the name of the frame that you have chosen.
-
10
Close the script window.
-
11
Play your movie using the Play command on the Control Panel. When you click on your button, the playhead will jump to the frame that you have specified.
-
1
Tips & Warnings
You can also create invisible buttons that will turn other images and text into hyperlinked objects.
Be sure to add a "go the frame" script to the frame, or the movie will not pause for input.