# Linking from Child to Parent

**URL:** <https://forum.kirupa.com/t/linking-from-child-to-parent/308570>\
**Category:** flash\
**Created:** [April 26, 2010, 7:51am UTC](https://forum.kirupa.com/t/linking-from-child-to-parent/308570 "2010-04-26T07:51:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteveBruch](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@SteveBruch](https://forum.kirupa.com/u/SteveBruch)\
**Post date:** [April 26, 2010, 7:51am UTC](https://forum.kirupa.com/t/linking-from-child-to-parent/308570/1 "2010-04-26T07:51:22Z")

</div>

Hey Guys,

I have an index.swf file that loads external .swf files into the page through its UILoader with the instance name “sectionLoader” Once I load a new swf into the index.swf --\> “business.swf” I’m having trouble linking to new files on the child swf file. Is there a way to link to new pages from a child so that it can reload the new swfs into the UILoader of the Parent index.swf.

Here is my code for the button in the child .swf file.

```auto
readmore_btn.addEventListener(MouseEvent.CLICK, stage.getChildAt(0).businessClick);
function businessClick(e:MouseEvent):void{
    trace("businessClick");
    sectionLoader.source = "business.swf";
}

```

I know there has to be an easy way to be able to link back into the main index file. Any help is much appreciated! I’ve been stuck on this for hours! Thanks!

-Stephen
