# Using a transition on an externally loaded swf

**URL:** <https://forum.kirupa.com/t/using-a-transition-on-an-externally-loaded-swf/255348>\
**Category:** flash\
**Created:** [March 21, 2008, 2:11pm UTC](https://forum.kirupa.com/t/using-a-transition-on-an-externally-loaded-swf/255348 "2008-03-21T14:11:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![guttyguppy](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@guttyguppy](https://forum.kirupa.com/u/guttyguppy)\
**Post date:** [March 21, 2008, 2:11pm UTC](https://forum.kirupa.com/t/using-a-transition-on-an-externally-loaded-swf/255348/1 "2008-03-21T14:11:52Z")

</div>

Hi, I would have no problem doing this the old fashioned way, but for some client-requested reason it has to be in AS3. Here’s what I have:

var myLoader:Loader = new Loader();  
addChild(myLoader);  
var url:URLRequest = new URLRequest(“movie.swf”);  
myLoader.load(url);  
//Fade-in 9 seconds  
TransitionManager.start(myLoader, {type:Fade, direction:Transition.IN, duration:9, easing:Strong.easeOut});

Apparantly, myLoader isn’t the instance name of the loded swf. I have no idea what it is though. Can someone help me? Thanks!
