# Loadmovie headache. Aye!

**URL:** <https://forum.kirupa.com/t/loadmovie-headache-aye/118880>\
**Category:** Uncategorized\
**Created:** [August 9, 2004, 10:48pm UTC](https://forum.kirupa.com/t/loadmovie-headache-aye/118880 "2004-08-09T22:48:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![worm](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/worm/32/235_2.png) [@worm](https://forum.kirupa.com/u/worm)\
**Post date:** [August 9, 2004, 10:48pm UTC](https://forum.kirupa.com/t/loadmovie-headache-aye/118880/1 "2004-08-09T22:48:53Z")

</div>

i have some script in a movieclip in my main movie that creates an emptymovieclip and uses the loadmovie function to load a swf into it.

```auto
on (release) {
gotoAndStop ("blank");
_root.pyr.gotoAndPlay ("home");
}

```

It works fine for most imported swfs but one in particular doesnt function completely. When you press a certain button with the following script on it

```auto
on (release) {
gotoAndStop ("blank");
_root.pyr.gotoAndPlay ("home");
}

```

it doesnt execute the last line. I figured that this is because the “\_root” wouldnt be the same since its actually imported into another movie. I’ve messing around with the absolute path but nothing.

HELP!!

---

<div class="post-metadata">

**Author:** ![Ordinathorreur](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ordinathorreur/32/536_2.png) [@Ordinathorreur](https://forum.kirupa.com/u/Ordinathorreur)\
**Post date:** [August 9, 2004, 11:18pm UTC](https://forum.kirupa.com/t/loadmovie-headache-aye/118880/2 "2004-08-09T23:18:52Z")

</div>

If you load a movie into your main movie all actionscript referring to \_root will be targetting the main timeline of your main movie.
