
Using the _visible command to save space and time (so to speak) - Page 2
The Stage:
start out by building your buttons on the left, as many as you like. When that is completed we begin to construct the content.
1. Make a new layer for every button. Keep the buttons on the layer they were created on. Name the new layers for the buttons they will correspond to (I.E. if the button is "home", name the layer that will have its content "home" as well).
2. On each of the new layers, create the content that will be shown when that button is clicked. Keep in mind that all of the content on each layer will eventually be put into a movie clip.
3. On each content layer, select everything on it and turn it into a symbol named after the button it corresponds to (home or home1 for the "home" button). Also, make sure to give your new symbol on each layer an instance name that that will correspond to the button it represents (homecontent for "home").
4. After you get all of your symbols made and named, move them all to the layer with the buttons. You can delete the other layers if you like. They will overlap each other and probably be unrecognizable, but that is ok.
And now, we'll make this mess work. On to the action scripting..
» Level Intermediate |
Added: 2005-01-30 Rating: 8 Votes: 4 |
» Author |
http://www.wildinkgc.com |
» Download |
Download the files used in this tutorial. |
Download (0 kb) |
» Forums |
More help? Search our boards for quick answers! |