Using AS to change what's on top

I have three images which I want to switch back and forth when the user presses a button. I want a new image(imageB) to fade in on top of the current image(imageA) when the user pushes a button and then be able to go back the other way if they click another button(image A fading in over image B). Is there code which can bring something to the front or send it to the back.

thanks,
tome

if you want to simply bring objects to front/back, you can use the swapDepth method… for a fade-in/out effect, search the forums :slight_smile: