![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Applications have an initial state that specifies how the content first appears to users. You initialize properties and variables in the first frame of a document. You'll specify that the map movie clip not be visible when the SWF file first plays.
Actions - Frame appears at the top of the panel, which indicates that you selected a frame in which to apply ActionScript. It's a good practice to verify that you're attaching ActionScript to the intended frame or object.
The Actions panel includes a Script pane, the blank text entry area, in which you can enter text directly; an Actions toolbox, which lets you select ActionScript to add to your script; and a Script navigator, which functions like the Movie Explorer.
A target path tells ActionScript the location of an object within the overall structure of a document.
.
). _visible
from the list of code hints, and type the following:
= false;
This line of code makes the screen_mc movie clip invisible on the Stage.
Note: If code hints don't appear, you don't have code hints selected as a preference in the Actions panel. You can type _visible
directly in the Script pane. You can also change your preferences by clicking the options menu in the upper right corner of the Actions panel. From the options menu, select Preferences, and then select Code Hints on the ActionScript tab.
Throughout authoring, remember to save your document frequently.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |