# Transition Effect for Dynamic Images

**URL:** https://forum.kirupa.com/t/transition-effect-for-dynamic-images/85782
**Category:** flash
**Created:** [April 7, 2005, 1:30pm UTC](https://forum.kirupa.com/t/transition-effect-for-dynamic-images/85782 "2005-04-07T13:30:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rusty27851](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@rusty27851](https://forum.kirupa.com/u/rusty27851)
#### Post date: [April 7, 2005, 1:30pm UTC](https://forum.kirupa.com/t/transition-effect-for-dynamic-images/85782/1 "2005-04-07T13:30:19Z")

</div>

I’m working on a slideshow that is pulling random images from a database (with the help of php) and displaying them four at a time. Two questions:

1. Is it possible to apply a transition effect from one image to the next – current image fading into the one after it or something like that?
2. Do you think a transition effect will hide the fact that there is a delay between the images? For example the next image is being loaded as the current one is fading out.

Here’s the url:  
[http://cbsr.obinet.net/home/welcome.html](http://cbsr.obinet.net/home/welcome.html)

Here’s the actionscript for one of the images - the rest are pretty much the same, just different clip names, coordinates, etc.:

loadVariablesNum(“[http://cbsr.obinet.net/flash/images.html](http://cbsr.obinet.net/flash/images.html)”, 0);  
createEmptyMovieClip(“pic\_holder”, 1);  
pic\_holder.\_x = 7;  
pic\_holder.\_y = 172;  
pic\_holder.loadMovie(external\_image);  
\_root.onEnterFrame = function() {  
if (\_root.pic\_holder.\_width\>0) {  
delete \_root.onEnterFrame;  
\_root.pic\_holder.\_height = 150;  
\_root.pic\_holder.\_width = 200;  
}  
};

Thanks in advance for any suggestions/actionscript
