# Fading in thumbnails as they load

**URL:** https://forum.kirupa.com/t/fading-in-thumbnails-as-they-load/311600
**Category:** flash
**Created:** [July 12, 2010, 3:42am UTC](https://forum.kirupa.com/t/fading-in-thumbnails-as-they-load/311600 "2010-07-12T03:42:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![brianharms](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@brianharms](https://forum.kirupa.com/u/brianharms)
#### Post date: [July 12, 2010, 3:42am UTC](https://forum.kirupa.com/t/fading-in-thumbnails-as-they-load/311600/1 "2010-07-12T03:42:59Z")

</div>

Hi, I know I’ve seen a tutorial for this before, but I just cant seem to find it. I have many thumbnails being placed into a container and I would like each thumbnail to fade in as it is placed.

Should I be using an Event.COMPLETE listener and then tween the alpha of currentTarget or something?

I assume the code would go in/around here:

function thumbLoaded(e:Event):void{  
var my\_thumb:Loader = Loader(e.target.loader);  
container\_mc.addChild(my\_thumb);  
}

Any suggestions?
