How do I set the depth of different images in ActionScript?
If you are referring depth as in the position of the image in it's parent's display list, checkout setChildIndex() and swapChildren() methods of the DisplayObjectContainer class.
swapChildren()
DisplayObjectContainer