FLIP CARDS with image

Hi everyone!
It’s like poker. I’ll need to turn the cards to reveal the other side.
Is there a way to make this using actionscript?
Remember that in one side there is a vector drawing!!!

thanks!