# Loading into Parent Container

**URL:** <https://forum.kirupa.com/t/loading-into-parent-container/270912>\
**Category:** flash\
**Created:** [September 16, 2008, 4:33am UTC](https://forum.kirupa.com/t/loading-into-parent-container/270912 "2008-09-16T04:33:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pherank](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Post date:** [September 16, 2008, 4:33am UTC](https://forum.kirupa.com/t/loading-into-parent-container/270912/1 "2008-09-16T04:33:30Z")

</div>

Late night dumb question time:

I have an SWF named “gallery.swf” that loads into an empty clip called “holder\_mc” in the parent movie. How do I call a function from gallery.swf that replaces gallery.swf with a file called “purchase.swf” in holder\_mc? The function I’m using looks like this:

```auto
function ProceedToCart():Void {
    _root.mcLoader.loadClip("purchase.swf",_root.holder_mc);
}

```
