# Transitioning Through External SWF's

**URL:** <https://forum.kirupa.com/t/transitioning-through-external-swfs/253872>\
**Category:** flash\
**Created:** [March 5, 2008, 11:16pm UTC](https://forum.kirupa.com/t/transitioning-through-external-swfs/253872 "2008-03-05T23:16:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RyuuJin](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@RyuuJin](https://forum.kirupa.com/u/RyuuJin)\
**Post date:** [March 5, 2008, 11:16pm UTC](https://forum.kirupa.com/t/transitioning-through-external-swfs/253872/1 "2008-03-05T23:16:41Z")

</div>

I have recently made the switch to Actionscript 3.0. I am slowly, but getting the hang on of it. I am re designing my portfolio in AS3.0 as a form a practice. On my previous portfolio I transitioned through external SWF’s using this method posted on Kirupa.

[http://www.kirupa.com/developer/mx2004/transitions2.htm](http://www.kirupa.com/forum/../developer/mx2004/transitions2.htm)

It worked great and was not hard to do at all. After about a month of looking on the web for a tutorial and reading through several books I have yet to find something that shows how to transition through SWF’s using AS3.0. Can anyone point me in the right direction whether it be tips, or full tutorials on how to accomplish my goal?

Thanks,

RyuuJin

---

<div class="post-metadata">

**Author:** ![subz17](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@subz17](https://forum.kirupa.com/u/subz17)\
**Post date:** [June 16, 2008, 12:13pm UTC](https://forum.kirupa.com/t/transitioning-through-external-swfs/253872/2 "2008-06-16T12:13:22Z")

</div>

I also have the same problem. It has slowed my project down. Someone need to post a solution for this.

---

<div class="post-metadata">

**Author:** ![subz17](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@subz17](https://forum.kirupa.com/u/subz17)\
**Post date:** [June 16, 2008, 12:19pm UTC](https://forum.kirupa.com/t/transitioning-through-external-swfs/253872/3 "2008-06-16T12:19:29Z")

</div>

> [@subz17;2343471](#):
>
> I also have the same problem. It has slowed my project down. Someone need to post a solution for this.

var imageReq1:URLRequest = new URLRequest(“w1.swf”);  
var imageReq2:URLRequest = new URLRequest(“w2.swf”);  
var imageReq3:URLRequest = new URLRequest(“w3.swf”);  
var imageLoader:Loader = new Loader();  
imageLoader.load(imageReq1);  
container\_mc.addChild(imageLoader);

btn1\_btn.addEventListener(MouseEvent.CLICK, btn1\_click);  
btn1\_btn.buttonMode=true;

btn2\_btn.addEventListener(MouseEvent.CLICK, btn2\_click);  
btn2\_btn.buttonMode=true;

bt3\_btn.addEventListener(MouseEvent.CLICK, btn3click);  
btn3\_btn.buttonMode=true;

function btn1\_click(event:MouseEvent):void{  
imageLoader.load(imageReq1);  
container\_mc.addChild(imageLoader);  
}

function btn2\_click(event:MouseEvent):void{  
imageLoader.load(imageReq2);  
container\_mc.addChild(imageLoader);  
}

function btn3\_click(event:MouseEvent):void{  
imageLoader.load(imageReq3);  
container\_mc.addChild(imageLoader);  
}
