# Flash slideshow with fade transition

**URL:** <https://forum.kirupa.com/t/flash-slideshow-with-fade-transition/300829>\
**Category:** flash\
**Created:** [November 28, 2009, 1:09pm UTC](https://forum.kirupa.com/t/flash-slideshow-with-fade-transition/300829 "2009-11-28T13:09:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dawn\_99](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@dawn\_99](https://forum.kirupa.com/u/dawn_99)\
**Post date:** [November 28, 2009, 1:09pm UTC](https://forum.kirupa.com/t/flash-slideshow-with-fade-transition/300829/1 "2009-11-28T13:09:55Z")

</div>

Hi, I’ve created a slideshow that contains 137 images using this code.  
////////////////////////////  
var imageNumber:Number=1;  
var starTimer:Timer=new Timer(3000,10000);  
starTimer.addEventListener(TimerEvent.TIMER,nextImage);

function nextImage(event:TimerEvent):void {  
//Adding to the current value +1  
imageNumber++;  
largeImageLoader.source=+ imageNumber+".jpg";  
}

starTimer.start();  
////////////////////////////

However the problem is I want it to fade from 1 image to the next

I tried using tween lite to tween the alpha of the images to 0 so it would slowly load the next image in but since they’re loaded in from the same loader you don’t see it fading from one image to another, just fading to white…
