# Problem loading multiple as2 swf

**URL:** <https://forum.kirupa.com/t/problem-loading-multiple-as2-swf/323877>\
**Category:** Uncategorized\
**Created:** [July 22, 2011, 12:55am UTC](https://forum.kirupa.com/t/problem-loading-multiple-as2-swf/323877 "2011-07-22T00:55:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhapanowicz](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@rhapanowicz](https://forum.kirupa.com/u/rhapanowicz)\
**Post date:** [July 22, 2011, 12:55am UTC](https://forum.kirupa.com/t/problem-loading-multiple-as2-swf/323877/1 "2011-07-22T00:55:02Z")

</div>

I am currently working on a AS3 project that needs to load AS2 swf’s into it.  
The AS2 swf’s use accordion componets and are wrote very simmarly.  
I can get the AS2 swf’s to load but only the last swf works correctly. Bellow is the code I am using:uck

import flash.display.Loader;  
import flash.display.MovieClip;

var clip1:MovieClip = new MovieClip();  
var clip2:MovieClip = new MovieClip();  
var l:Loader =new Loader();  
var requestImg:URLRequest = new URLRequest(“course010\_card02\_PID\_3M.swf” );  
var li:Loader =new Loader();  
var requestImg1:URLRequest = new URLRequest(“Assets/AHS/AHS\_QSQ.swf” );

//\*\*\* Block 1 – li loads but does not work  
li.load(requestImg1);  
clip2.addChild(li);  
addChild(clip2);  
clip2.y=0;

//\*\*\*\* Block 2 – l loads and works works  
l.load(requestImg);  
clip1.addChild(l);  
addChild(clip1);  
clip1.y=340;

If I swap block 1 and block 2 l works but li now does not. I have been working on this project for a  
long time, this is the final piece and I’m stuck. It seems like the second swf overwrites something the first one needs.  
Please Help!!!
