I have two simple buttons on my movie clip (‘ON’ and ‘OFF’) that when clicked, change the ._visible state of the movie clip. Thing is, I only want ONE button to turn it on and off. Is this possible?
Basically, I would need an if statement or something…like
on (release)
{
if (movieclip is visible)
{ turn visible to false;}
else
{ turn visible to true;}
}
something like that is what I want to do. All code for the same button.
Any help?