Step 2: The Actions Layer (cont.)
Load Movie ("sound.swf", 5)
Set Variable: "sound" = "0"
Set Variable: "menu" = "0"
We put this code into frame one, because we want to define the variables "menu" and "sound" as soon as the movie loads. We also tell flash to load our sound.swf movie which we will be creating a little latter on, and put it into level 5. You can choose any level you would like to load the movie into. I just always use level 5 for sound.
On frame 2, in the actions layer, insert a blank keyframe. Double-click the frame, and on the actions tab, insert the following:
Stop
On frame 3, in the actions layer, insert a blank keyframe. Double-click the frame, and on the labels tab, insert the following label:
menuout
On frame 13, in the actions layer, insert a blank keyframe. Double-click the frame, and on the actions tab, insert the following:
Stop
On frame 16, in the actions layer, insert a blank keyframe. Double-click the frame, and on the labels tab, insert the following label:
menuin
And finally, On frame 26, in the actions layer, insert a blank keyframe. Double-click the frame, and on the actions tab, insert the following:
Stop
| » Level Advanced |
|
Added: 2000-12-15 Rating: 7 Votes: 43 |
| » Author |
| No information about the author has been provided. |
| » Download |
| Download the files used in this tutorial. |
| Download (463 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!