# \[MX\] \_root / this / \_parent problem

**URL:** <https://forum.kirupa.com/t/mx--root-this--parent-problem/64835>\
**Category:** flash\
**Created:** [September 20, 2004, 5:34pm UTC](https://forum.kirupa.com/t/mx--root-this--parent-problem/64835 "2004-09-20T17:34:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![3pinter](https://avatars.discourse-cdn.com/v4/letter/3/9de053/32.png) [@3pinter](https://forum.kirupa.com/u/3pinter)\
**Post date:** [September 20, 2004, 5:34pm UTC](https://forum.kirupa.com/t/mx--root-this--parent-problem/64835/1 "2004-09-20T17:34:55Z")

</div>

Flash-heroes,

I’ve read this topic [http://www.kirupa.com/developer/mx/preloader\_transition.htm](http://www.kirupa.com/developer/mx/preloader_transition.htm)  
and is ofcourse working perfect. 😏

But… now I want to use this movieclip in another movieclip using loadmovie.  
Ofcourse the “\_root referring to”'s have to be changed … but I just can’t get it working.

Mainmovie.fla using as. to get submovie.fla.  
submovie contains the as. used in the topic.

Could anybody help me?!

Oh… btw: I’ve also read topic [http://www.kirupa.com/developer/actionscript/tricks/root\_parent\_this.htm](http://www.kirupa.com/developer/actionscript/tricks/root_parent_this.htm)

---

<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:** [September 20, 2004, 9:55pm UTC](https://forum.kirupa.com/t/mx--root-this--parent-problem/64835/2 "2004-09-20T21:55:25Z")

</div>

Not sure where your problem lies without looking at the code, but to convert a movie to work inside another movie clip, I would change find everything that says \_root. and change it to something relative to the clip itself. For instance a movie clip inside the main movie that has \_root. would be changed to \_parent. And a movie clip inside a movie clip inside the main movie would have a \_root. changed to \_parent.\_parent. Basically anything with \_root replace it with the number of \_parent’s it takes to count back to the main timeline.
