Drag-And-Drop Photo Gallery Question

Hello, I have a simple actionscript question. I am building a Flash photo gallery and it’s going to look like polaroid pictures in sort of a stack. Now, I’m gonna make them draggable and all, but here’s my question: How can I make a picture, if it’s underneath the active pic, come up top if it’s clicked or dragged? Is there any actionscript code? Thanks in advance!