# AS3 problem loading AS2 swfs

**URL:** https://forum.kirupa.com/t/as3-problem-loading-as2-swfs/306583
**Category:** flash
**Created:** [March 17, 2010, 10:21pm UTC](https://forum.kirupa.com/t/as3-problem-loading-as2-swfs/306583 "2010-03-17T22:21:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![edward\_338](https://avatars.discourse-cdn.com/v4/letter/e/6de8d8/32.png) [@edward\_338](https://forum.kirupa.com/u/edward_338)
#### Post date: [March 17, 2010, 10:21pm UTC](https://forum.kirupa.com/t/as3-problem-loading-as2-swfs/306583/1 "2010-03-17T22:21:40Z")

</div>

I posted earlier, but I’m not sure my post was very clear. Here it is restated:

I’m trying to build a portfolio using ActionScript 3 that imports SWFs created in ActionScript 2.

The first time one of these SWFs loads and plays everything works fine, however when I try and load a 2nd SWF into the loader, the new SWF only plays a nested mc within, not the entire movie.

I didn’t build these external SWFs (I did the artwork) so I’m not sure how they were coded, but it’s as if assets on the main timeline are not being seen.

I tried unload() and removeChild(), but they didn’t fix the problem.

Any help is appreciated.

**Here is the code:**

var clipLoader:Loader = new Loader();  
var url:String = “ad1.swf”;  
var urlReq:URLRequest = new URLRequest(url);  
var url2:String = “ad2.swf”;  
var urlReq2:URLRequest = new URLRequest(url2);

clipLoader.load(urlReq);  
addChild(clipLoader);

box0.addEventListener(MouseEvent.CLICK, resetClip);

function resetClip(event:MouseEvent):void {  
clipLoader.load(urlReq2);  
}
