Note: For the example, I drew an envelope that was 200 pixels wide and 130 pixels high. The X and Y positions for the envelope on the stage were both 200. After experimenting, I set the newFlap.x and newFlap.y positions to 200 and 142. This made the envelope flap appear to be fulling open when the stamp was clicked.
In the next tutorial, we will animate the flap to make it appear that the envelope is opening.
Join us in the Flash forum.