Hello! Sorry for the probably VERY simple question.
I'm playing around making a point and click game. I've made a box covering a key where you enter a password and press a button to make the box disappear. I've gotten it to disappear but only for a second, it reappears shortly after and I can't figure out why -_- Could anyone help me please?

The code on the button to magic away the box is:
Code:
on (release){
	if(password eq "20"){
		_root.safe.gotoAndPlay(2);
		this.gotoAndStop(2);
	}
	else{
		_root.safe.gotoAndPlay(1);
	}
}
I've tried making it gotoAndStop but it just makes the box not disappear at all. Sorry I'm an utter n00b to this :P