# Usage of \_root command with loaded swf files

**URL:** https://forum.kirupa.com/t/usage-of--root-command-with-loaded-swf-files/14002
**Category:** Uncategorized
**Created:** [February 20, 2003, 8:33pm UTC](https://forum.kirupa.com/t/usage-of--root-command-with-loaded-swf-files/14002 "2003-02-20T20:33:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hellstormvice](https://avatars.discourse-cdn.com/v4/letter/h/e9bcb4/32.png) [@hellstormvice](https://forum.kirupa.com/u/hellstormvice)
#### Post date: [February 20, 2003, 8:33pm UTC](https://forum.kirupa.com/t/usage-of--root-command-with-loaded-swf-files/14002/1 "2003-02-20T20:33:37Z")

</div>

hi everyone! :hat:

i have a problem because i do not understand why one cannot use \_root commands when you load a swf file into one other, if you are using loadmovie?!

i think this is kinda logical, but is there an alternative\>

plz tell me thnx people

:skull: michael :!:

---

<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: [February 20, 2003, 8:47pm UTC](https://forum.kirupa.com/t/usage-of--root-command-with-loaded-swf-files/14002/2 "2003-02-20T20:47:53Z")

</div>

the reason is because you are loading into a \_level, which is a different hierarchy than \_root–instead of using \_root, specify the MC like this

loadMovieNum(“myMC.swf”, 10);  
\_level10.myMC.gotoAndPlay(2);

C:-)  
-mojo

---

<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: [February 21, 2003, 12:51am UTC](https://forum.kirupa.com/t/usage-of--root-command-with-loaded-swf-files/14002/3 "2003-02-21T00:51:46Z")

</div>

Check the Action tricks section, something called “Relative Addressing”.

pom :cool:
