# Loading external mc and go back btn not working

**URL:** <https://forum.kirupa.com/t/loading-external-mc-and-go-back-btn-not-working/277017>\
**Category:** Uncategorized\
**Created:** [December 6, 2008, 9:14am UTC](https://forum.kirupa.com/t/loading-external-mc-and-go-back-btn-not-working/277017 "2008-12-06T09:14:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Psyme](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@Psyme](https://forum.kirupa.com/u/Psyme)\
**Post date:** [December 6, 2008, 9:14am UTC](https://forum.kirupa.com/t/loading-external-mc-and-go-back-btn-not-working/277017/1 "2008-12-06T09:14:23Z")

</div>

hi everyone - all you AS geniuses:)

I have this problem I just cant solve and tried reading loads of threads -

I have an Index page (as2) - I press the gallery button and go to the as3 gallery - I then press home (index) and go back - but… - all the buttons won’t direct me when i press them again… - I really dont get it -

code for home button -

var newLoader:Loader = new Loader();  
var fileIndex:URLRequest = new URLRequest(“index.swf”)  
home.addEventListener(MouseEvent.CLICK,loadIndex);  
function loadIndex(event:Event):void{  
newLoader.load(fileIndex);  
newLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,swfLoadedNow);  
}  
function swfLoadedNow(event:ProgressEvent):void {  
if (event.bytesLoaded == event.bytesTotal) {  
addChild(newLoader);  
}  
}

I really really hope some of you master minds can help me out .

best regards psyme
