Search Tutorials
Step 7: For this step, we need to go back to scene 1, or your main movie scene. This
part gets a little tricky so pay attention. click once on your movie clip symbol
and in the properties panel where it says movie clip and "instance Name", for
instance name, put "main" or whatever you want to put. I shouldnt have to give
you a screenshot, because again, you should know how to give an instance name
for an object. Now, still in scene 1, create a new layer and put a rectangle
that covers the area of the text, and convert it to a button. Make sure that
layer with the button is ontop of the movie clip layer 1. Now, make the alpha
of your button 0%, and put it on top of your movie clip so it looks like the
below screenshot. Ready for the last step? OK!!! We will now have to add a couple of actions
to the button we just created. so, click on the button and open the actions
panel. Enter the following code in the actions panel so it looks like the screenshot
below. So, how do you feel that you have successfully completed the fantastic
rollover and rollout buttons? I felt good when I figured it out on my OWN thanks
to nobody that has a tutorial for these that is easy to find =).
on(rollOver){
_root.main.gotoAndPlay(2);
}
on(rollOut){
_root.main.gotoAndPlay(16);
}
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|