# .fl transitions

**URL:** https://forum.kirupa.com/t/fl-transitions/307420
**Category:** flash
**Created:** [April 3, 2010, 12:13am UTC](https://forum.kirupa.com/t/fl-transitions/307420 "2010-04-03T00:13:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dekock](https://avatars.discourse-cdn.com/v4/letter/d/a9a28c/32.png) [@dekock](https://forum.kirupa.com/u/dekock)
#### Post date: [April 3, 2010, 12:13am UTC](https://forum.kirupa.com/t/fl-transitions/307420/1 "2010-04-03T00:13:01Z")

</div>

Hello!

I have animation I’ve put together and it is linking to an external .jpg image - I’m new to the .fl transitions so I was hoping there’s a way to add a .fl transition fade to ‘fade’ in the external jpg in the .fla!!?

I’ve googled it a few times; but all the results coming back are inconclusive; I can’t make head nor tale of them lol.

I know I could do it by setting up the .jpg with an .fl transition fade and then externally linking to the .swf but I really just want to link to the .jpg image externally and have one .fla/master .swf and then add a transition fade-in effect for 4/5 seconds to the external .jpg image?

This is the code I’m using I followed a tutorial to produce the external image setup. 🙂

Thanks for the help…

> package {

import flash.display.MovieClip;  
import flash.display.Loader;  
import flash.events.\*;  
import flash.net.URLRequest;

public class Main extends MovieClip {

public function Main() {

var imageLoader:Loader = new Loader();  
var theURL:String = “images/sunflower.jpg”;

var imageRequest = new URLRequest(theURL);

imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);  
imageLoader.load(imageRequest);

function onComplete(evt:Event) {

```
addChild(imageLoader.content);

```

}

}

}

}
