--- In flexcoders@yahoogroups.com, "byte.sensei" <[EMAIL PROTECTED]> 
wrote:
>
> I'm trying to implement a simple image rotator that just rotates 
> among 5 different images.  I have it working except that I want a 
> smooth fade out/in between each image.

> The problem I'm having is that the image source is getting replaced 
> before the transition starts, so the image "pops" to the next image 
> and then the new image does a fade in/out.  I understand why it's 
> doing this, what I don't know is how to change it so that the fade 
> out happens *before* the image source is changed, and then the fade 
> in happens *after* the image source is changed.
> 
> I can think of way(s) this might be done by scrapping the 
> states/transitions approach and just writing ActionScript, but I 
was 
> wondering if there's any easy way to modify what I've already got 
> instead of scrapping it and going in a new direction.
> 
> Thanks in advance for any feedback.
>

You could try simply putting a Fade effect on the complete event of 
button_image.  I've used this in a similar application and I've found 
it to look pretty similar to what you seem to be trying for.

HTH;

Amy

Reply via email to