This content has been marked as final. Show 5 replies
i didn't get past that _alpha incrementing firstImage() function because you have a substantial problem there: your stop() isn't going to terminate that loop which means you picture is going to have a very large alpha by the time.
also, i don't see two (or more target movieclips) into which you load your images. there's no way to cross-fade unless you have, at least, two target movieclips. in fact, you can't display both at the same time with only one target movieclip.
Thanks for the reply kglad. I put a second movie clip in underneath the current one. I have that movie clip loading the previous image so when the new image fades in, it looks like it's fading over the old one.
The problem with this is that there's a brief period of white between the images - I'm guessing because the other image hasn't been loaded yet.
How can I preload the previous image so that it's ready to display as soon as the image changes?
use preloader code or the onLoadInit() method of a listener for a moviecliploader instance to preload your image and ensure you're ready to start your cross-fade.
Thanks for your help kglad. I was able to get the images to cross fade nicely. I have additional issues with dynamic text cross fading, but I will start a new thread for that one. Thanks again!
for dynamic text, you need to embed your font if you want to control its _alpha.