how to make a button disappear if something is x frame?
so erm. i have no idea what an identifying thingymajiggy would be like when a button has this sorta code; "if certain symbol is in a certain frame, disappear" & "if certain symbol is NOT in a certain frame, reappear" because ideally if the button is pressed, it has to look a certain way when its released, so it will instead show the duplicate i placed behind it and thus be inaccessible until deactivated. (cuz you can only change a 'button' frame if its a movieclip i think....so its my solution)
here's the code for the button... "if" is unfinished coz idk what to put there... aaa is the thing that changes frame and eee is the button
Code:
on (press) {
_root.aaa1.gotoAndStop(2);
_root.aaa2.gotoAndStop(2);
_root.aaa3.gotoAndStop(2);
}
if (aaa1.) {
eee._visible = false;
}