# \[AS\]loadMovie problems!

**URL:** https://forum.kirupa.com/t/as-loadmovie-problems/185878
**Category:** flash
**Created:** [April 17, 2006, 12:44pm UTC](https://forum.kirupa.com/t/as-loadmovie-problems/185878 "2006-04-17T12:44:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![btibia](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/btibia/32/1625_2.png) [@btibia](https://forum.kirupa.com/u/btibia)
#### Post date: [April 17, 2006, 12:44pm UTC](https://forum.kirupa.com/t/as-loadmovie-problems/185878/1 "2006-04-17T12:44:52Z")

</div>

[FONT=Tahoma]Hi,

I have a problem, and i don’t understand why…

I have a main movie, where i load other movie with loadMovie.

```auto

btn1.onRelease = function () {
    loadMovie ("fhome.swf", "home");
    unloadMovie ("gute");
    unloadMovie ("stuff");
    unloadMovie ("club");
};
//===================================
btn2.onRelease = function () {
    loadMovie ("fclub.swf", "club");
    unloadMovie ("gute");
    unloadMovie ("stuff");
    unloadMovie ("home");
};

```

In fhome.swf i just load some text.(this is displayed very well).

But in fclub.swf i have a dataGrid that loads a XML file(with cellRenderer API).

When i’m testing on my computer(hit ctrl+enter in flash,in index.fla) the fclub.swf it is loaded and showen, BUT when i put everything on localhost and i enter the site the fclub.swf it’s not loading!

Can somebody help me with this?

Thanks in advance, Tiberiu.

[/FONT]

---

<div class="post-metadata">

### Author: ![bobby\_hamilton](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@bobby\_hamilton](https://forum.kirupa.com/u/bobby_hamilton)
#### Post date: [April 17, 2006, 5:42pm UTC](https://forum.kirupa.com/t/as-loadmovie-problems/185878/2 "2006-04-17T17:42:25Z")

</div>

make sure you are entering the whole path where the external swf files are residing on your server.

ex.

btn1.onRelease = function(){  
\_root.containerMC.loadMovie(“swfs/fclub.swf”);  
}

If youre running the files locally and they work, make sure they are all put on the server in the same orientation.

if this doesnt make any sense I would say post an fla…

---

<div class="post-metadata">

### Author: ![btibia](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/btibia/32/1625_2.png) [@btibia](https://forum.kirupa.com/u/btibia)
#### Post date: [April 18, 2006, 7:35am UTC](https://forum.kirupa.com/t/as-loadmovie-problems/185878/3 "2006-04-18T07:35:01Z")

</div>

the swf is loading the in container, but not showen…not animating! i didn’t use the \_root function! because in the external swf i use the \_root function and i don’t want to have problems
