# Movie clip telling root to do stuff

**URL:** <https://forum.kirupa.com/t/movie-clip-telling-root-to-do-stuff/240909>\
**Category:** Uncategorized\
**Created:** [October 8, 2007, 7:28am UTC](https://forum.kirupa.com/t/movie-clip-telling-root-to-do-stuff/240909 "2007-10-08T07:28:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![imb0red123](https://avatars.discourse-cdn.com/v4/letter/i/ecd19e/32.png) [@imb0red123](https://forum.kirupa.com/u/imb0red123)\
**Post date:** [October 8, 2007, 7:28am UTC](https://forum.kirupa.com/t/movie-clip-telling-root-to-do-stuff/240909/1 "2007-10-08T07:28:39Z")

</div>

here is my code. it is on a movie clip which you can control to move left and right.

if (this.\_x\<=0) {\_root.gotoAndStop(3);}

im expecting that when the clip leaves the left side of the screen, the movie will jump to frame 3 of the current scene. but for some reason, it is jumping to the 3rd frame of the entire movie. so i tried this:

if (this.\_x\<=0) {\_root.gotoAndStop(“Scene 2”, 3);}

but this infact does absolutely nothing.

im confused. please help. its hurting my brain.
