# gotoAndStop won't go

**URL:** https://forum.kirupa.com/t/gotoandstop-wont-go/174878
**Category:** flash
**Created:** [January 10, 2006, 1:38am UTC](https://forum.kirupa.com/t/gotoandstop-wont-go/174878 "2006-01-10T01:38:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![eric\_chua](https://avatars.discourse-cdn.com/v4/letter/e/f9ae1b/32.png) [@eric\_chua](https://forum.kirupa.com/u/eric_chua)
#### Post date: [January 10, 2006, 1:38am UTC](https://forum.kirupa.com/t/gotoandstop-wont-go/174878/1 "2006-01-10T01:38:10Z")

</div>

Hi, please see my coding here. I had applied this script to four of the mc(aboutus,advertiser,history,contactus) but just one of those run this script perfectly, this is funny. Other 3 of them failed to run in the last gotoAndStop(1), that means only 1 of them will go back to frame1, others will not go back. What happen??

```auto
onClipEvent (load) {
	_root.closebtn._visible = false;
}
onClipEvent (enterFrame) {
	this.btn1.onRelease = function() {
		_root.fco.dd += 2;
		_root.fco.aboutus.swapDepths(_root.fco.dd);
		gotoAndPlay(1);
	};
	if (this._currentframe == 24) {
		_root.closebtn._visible = true;
		_root.contents.loadMovie("kocha.swf");
	}
		_root.closebtn.onRelease = function() {
			_root.closebtn._visible = false;
			_root.contents.loadMovie("");
			_root.fco.aboutus.gotoAndStop(1);//this one will not go and stop on the others 3
		};
}

```
