# Movie clip doesn't respond to gotoAndPlay()

**URL:** https://forum.kirupa.com/t/movie-clip-doesnt-respond-to-gotoandplay/312465
**Category:** flash
**Created:** [August 4, 2010, 4:26am UTC](https://forum.kirupa.com/t/movie-clip-doesnt-respond-to-gotoandplay/312465 "2010-08-04T04:26:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stoniek](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@stoniek](https://forum.kirupa.com/u/stoniek)
#### Post date: [August 4, 2010, 4:26am UTC](https://forum.kirupa.com/t/movie-clip-doesnt-respond-to-gotoandplay/312465/1 "2010-08-04T04:26:42Z")

</div>

My movie clip doesn’t respond to gotoAndPlay(1) command at all. Here is the situation:  
The Main.fla has a movie clip instance “Mov1” and the following AS3 code in the first timeframe:

function LoadSWF(Mov:Object, swf:String ):void {  
fl\_Loader = new Loader();  
fl\_Loader.load(new URLRequest(swf));  
Mov.addChild(fl\_Loader);  
}  
LoadSWF(Mov1, “ChildMovie\_1.swf”);

Once it’s loaded it plays once (there is a stop(); at the end).  
So far so good but… the following code in the button script doesn’t trigger any action at all:

Mov1.gotoAndPlay(1);

Any other code in that button works fine, so the button itself works ok.  
Anyone know what am I missing? Any “import” piece?  
Thanks a lot in advance…
