Forum Moderators: open
I have an on/off button that toggles visibility of a movie clip on the stage. Here's the current actions I have for the button:
on (release) {
if(_parent.movieclip._visible = true){
_parent.movieclip._visible = false;
}else{
_parent.movieclip._visible = true;
}
}
When I click the button the movieclip is invisible, but when I click it again the movieclip doesn't re-appear. Any ideas?
Thanks!