ok, i have a movie with two buttons and movie clip called square,
the script for the first button is
on (release) {
if (x!=1) {
_root.square.gotoAndPlay(2);
x=1;}
}
the script for the second button is
on (release) {
if(x=1){
_root.square.gotoAndPlay(31);
x=0;}
}
the first frame on the main timeline sets x=0.
What i want to happen is the first button starts the mask then stops and the second button closes it. The problem is that i want to hit the second button to close it only if the mask is open (after pushing the first button). I provided the .fla for more info.
Thanks always