# Trouble with MovieClip.gotoAndPlay()

**URL:** https://forum.kirupa.com/t/trouble-with-movieclip-gotoandplay/237581
**Category:** flash
**Created:** [August 31, 2007, 5:02pm UTC](https://forum.kirupa.com/t/trouble-with-movieclip-gotoandplay/237581 "2007-08-31T17:02:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![irishcash33](https://avatars.discourse-cdn.com/v4/letter/i/958977/32.png) [@irishcash33](https://forum.kirupa.com/u/irishcash33)
#### Post date: [August 31, 2007, 5:02pm UTC](https://forum.kirupa.com/t/trouble-with-movieclip-gotoandplay/237581/1 "2007-08-31T17:02:40Z")

</div>

Hi,  
I have a button with action on rollover MovieClip.gotoandplay(1)…it works fine with the original movieclip…I duplicated that movie clip and changed the name of the file and in the code…and the rollover action does not work…it only works if I change it to the to the original file name…

test.gotoAndPlay(1) loads fine…

test2.gotoAndPlay(1) does not load test2 movieclip…

Please help…!!!
