222 ActionScript: Use Script Assist mode
5.
Next, using either the Actions toolbox or the Add button, select
ActionScript 2.0 Classes > Movie > MovieClip > Methods >
gotoAndStop.
Modifying function parameters to complete the script
6.
In the Script Assist panel, select the
7.
Click in the Object text box.
8.
Click the Insert Target Path button.
9.
In the Insert Target Path dialog box, click the
click OK.
10.
In the Frame text box, enter home.
11.
Deselect the Expression checkbox.
Now, when the
Title
animation is complete, "Home" is displayed. This is the initial state of
the application, after it loads and before the user clicks any of
the buttons.
12.
Save your work.
All of the scripts needed to run the sample application are now complete
and the application is ready to be tested.
gotoAndStop
movie clip reaches the last frame and the
action on line 2.
object and
_root
Need help?
Do you have a question about the FLASH 8-FLASH and is the answer not in the manual?
Questions and answers