# External MovieClip

**URL:** <https://forum.kirupa.com/t/external-movieclip/265313>\
**Category:** Uncategorized\
**Created:** [July 7, 2008, 5:21pm UTC](https://forum.kirupa.com/t/external-movieclip/265313 "2008-07-07T17:21:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![autumnmedia](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@autumnmedia](https://forum.kirupa.com/u/autumnmedia)\
**Post date:** [July 7, 2008, 5:21pm UTC](https://forum.kirupa.com/t/external-movieclip/265313/1 "2008-07-07T17:21:59Z")

</div>

Hi I have a main swf file, called main.swf

then inside this i use the code

var myLoader:Loader = new Loader();  
myLoader.load(new URLRequest(“home.swf”));  
addChild(myLoader);

to load an external swf called home,

now when im in home.swf i want to use a button to access the myLoader in the main.swf

any help please?

function contact(event:MouseEvent):void  
{  
this.myLoader.load(new URLRequest(“contact.swf”));  
}

this accesses the property inside the main.swf itself  
but i want to access it from the home.swf

help please!

---

<div class="post-metadata">

**Author:** ![autumnmedia](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@autumnmedia](https://forum.kirupa.com/u/autumnmedia)\
**Post date:** [July 13, 2008, 7:41pm UTC](https://forum.kirupa.com/t/external-movieclip/265313/2 "2008-07-13T19:41:17Z")

</div>

anyone?

i need to be able to change what swf is being show on the main swf by a button on the loaded swf?!
