Miakosummin
07-31-2006, 10:00 AM
On frame 7 of the main movie I have a button that I want to start off invisible. On the same frame, theres another button that you click to make the first button visible. Clicking the now-visible first button hides itself.
I have no idea how to do this unfortunatly. It seems really easy but it just doesn't want to work.
My idea was that when you hit the play button on the preloader, it will set that button to visible, but when I click that button it does nothing.
Also, by the way, every frame has a stop() attached to it, with buttons that have gotoAndStop(_) on them.
On frame 1: Button with instance name "play":
on (release) {
_level0.unfold._visible=0;
gotoAndStop(2)
}
and on frame 7 there is a Button with instance name "unfold"
I have tried lots of things, and poured over tons of tutorials, but I just can't seem to make this work... Another idea I had but haven't tried was to set the instance of unfold to be inactive and have alpha 0%, and clicking the revealing button makes the second button active and alpha 100%. However, that requires more typing which I don't think I need to do...
Thanks for the help.
I have no idea how to do this unfortunatly. It seems really easy but it just doesn't want to work.
My idea was that when you hit the play button on the preloader, it will set that button to visible, but when I click that button it does nothing.
Also, by the way, every frame has a stop() attached to it, with buttons that have gotoAndStop(_) on them.
On frame 1: Button with instance name "play":
on (release) {
_level0.unfold._visible=0;
gotoAndStop(2)
}
and on frame 7 there is a Button with instance name "unfold"
I have tried lots of things, and poured over tons of tutorials, but I just can't seem to make this work... Another idea I had but haven't tried was to set the instance of unfold to be inactive and have alpha 0%, and clicking the revealing button makes the second button active and alpha 100%. However, that requires more typing which I don't think I need to do...
Thanks for the help.