# Help loading a .swf in another .swf

**URL:** <https://forum.kirupa.com/t/help-loading-a-swf-in-another-swf/203634>\
**Category:** flash\
**Created:** [October 12, 2006, 5:36pm UTC](https://forum.kirupa.com/t/help-loading-a-swf-in-another-swf/203634 "2006-10-12T17:36:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anya0636](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@anya0636](https://forum.kirupa.com/u/anya0636)\
**Post date:** [October 12, 2006, 5:36pm UTC](https://forum.kirupa.com/t/help-loading-a-swf-in-another-swf/203634/1 "2006-10-12T17:36:47Z")

</div>

Hi, am new in this forum but i had being reading the web site for a time now. I was wondering if someone might help me with this little problem i have.

I had two swf file one called web.swf that is where the empty movie clip is located and other filed called infocorporativa.swf.

I had being trying that once the web.swf is open it load automatically the infocorporativa.swf on the empty movie clip.

I put on the on the action script this code: loadMovie(“info corporativa.swf”, \_root);  
but when i activated this error pop up:

**Error** Scene=Reset, layer=layerinvisible, frame=1:Line 1: Statement must appear within on/onClipEvent handler  
loadMovie(“info corporativa.swf”, \_root);

Total ActionScript Errors: 1 Reported Errors: 1

What can i do?  
Please help me! 🙂

Thanks for your time and help
