# gotoAndPlay acts like gotoAndStop

**URL:** <https://forum.kirupa.com/t/gotoandplay-acts-like-gotoandstop/232408>\
**Category:** flash\
**Created:** [July 13, 2007, 12:31pm UTC](https://forum.kirupa.com/t/gotoandplay-acts-like-gotoandstop/232408 "2007-07-13T12:31:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![halian](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@halian](https://forum.kirupa.com/u/halian)\
**Post date:** [July 13, 2007, 12:31pm UTC](https://forum.kirupa.com/t/gotoandplay-acts-like-gotoandstop/232408/1 "2007-07-13T12:31:35Z")

</div>

I feel like I’m missing something really really simple here but I don’t know what’s happening.

Here’s the deal.  
I have 2 mc’s. Both of them have a motion tweened box between frames 1 to 15 and move along the x axis 300 pixels. Both have a stop(); action at frame 1 on a separate layer to stop the movie from playing right off the bat.

I put both of them on the stage in the main timeline which contains 1 frame, give both a unique instance name (m1\_mc and m2\_mc), created a new layer for actionscript. On that frame is the following.

stop();  
m1\_mc.gotoAndPlay(2);  
m2\_mc.gotoAndPlay(2);

normally I would assume this would play the movie clips…but it’s not…instead it goes to the specified frame and stops. I know I’ve done this before…any ideas what’s going on?
