# Error with loadMovie?

**URL:** <https://forum.kirupa.com/t/error-with-loadmovie/40662>\
**Category:** flash\
**Created:** [January 20, 2004, 10:05pm UTC](https://forum.kirupa.com/t/error-with-loadmovie/40662 "2004-01-20T22:05:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SpiritDancer](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@SpiritDancer](https://forum.kirupa.com/u/SpiritDancer)\
**Post date:** [January 20, 2004, 10:05pm UTC](https://forum.kirupa.com/t/error-with-loadmovie/40662/1 "2004-01-20T22:05:18Z")

</div>

Hi,

I am new to flash development, but I have followed the kirupa ‘full-site’ tutorial, and created the following flash site:  
[http://www.asbs17.dsl.pipex.com/Robertson%20Godfrey/](http://www.asbs17.dsl.pipex.com/Robertson%20Godfrey/)  
(although the webserver is a bit flimsy at the moment)

My problem is as follows:  
I have a ‘main’ SWF which onLoad attempts to loadMovie my ‘home\_flash’ SWF: i.e.

this.onLoad = function() {  
trace(“load movie”);  
};  
\_root.contents.loadMovie(“home\_flash.swf”);

This works fine apart from the ActionScript part of the ‘home\_flash’ fails to run?? this ActionScript fades an images from left to right and runs fine if the home\_flash is run on its own (i.e. not loaded by main.swf), so I figure it must be something to do with the interaction with the main.swf or the way I am loading it???

Any ideas??

I have attached the main.fla file, howver the home\_flash.fla is too large to attach.

Thanks.
