# Motion tutorial

**URL:** https://forum.kirupa.com/t/motion-tutorial/6249
**Category:** Uncategorized
**Created:** [October 2, 2002, 6:07pm UTC](https://forum.kirupa.com/t/motion-tutorial/6249 "2002-10-02T18:07:33Z")
**Posts on this page:** 4
**Page:** 2

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 1, 2002, 5:32pm UTC](https://forum.kirupa.com/t/motion-tutorial/6249/21 "2002-11-01T17:32:51Z")

</div>

you made the backgrounds yourself??? You made all of it yourself???  
OMG!  
COOL backgrounds and design man!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 6, 2002, 2:01am UTC](https://forum.kirupa.com/t/motion-tutorial/6249/22 "2002-11-06T02:01:45Z")

</div>

okay syko, I once again need your help. The action below works perfectly fine when the swf is by itself, but once that swf is loaded into another swf, the action no longer works. I know that \_root is the main timeline so I’m guessing if I load it into another swf file, the \_root is now different. How do I rewrite the action so that it refers to the \_root of the first swf instead of the one its loaded into?

on(release) {  
\_root.gotoAndPlay(“data”);  
}

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 6, 2002, 5:34am UTC](https://forum.kirupa.com/t/motion-tutorial/6249/23 "2002-11-06T05:34:46Z")

</div>

Nevermind syko, I figured it out, instead of using \_root, I tried \_parent instead and it works. =)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 6, 2002, 1:58pm UTC](https://forum.kirupa.com/t/motion-tutorial/6249/24 "2002-11-06T13:58:23Z")

</div>

I was at school! so I couldn’t answer before…  
You could use \_parent but you could also use the more complicated way =) 😛  
the \_root. is now the root of the main movie and you can merge the 2 movieclip hierarchies. like  
\_root.mainmovie.loadedmovie.lmmc.play();  
like if loadedmovie is where you loaded the movie and lmmc is the movieclip you want to start playing… or sumthin’ like that! 🙂

[Previous page](https://forum.kirupa.com/t/motion-tutorial/6249.md?page=1)
