Rotation of two different images in flash

Sir,Madam,

  Now iam doing project in flash.I need a help from u.I want the two different pictures to be rotated as one picture.ie.one at the front and one at the back.how can i do this.

Crank up the FPS (Frames Per Second) to about 25 or higher and then turn each picture into a movie clip and use this script on the movie clip that you want to go clockwise:

onClipEvent(enterFrame) {
     this._rotation += 5;
}

And put this code on the movie clip that you want to go counter-clockwise:

onClipEvent(enterFrame) {
     this._rotation -= 5;
}

You can change the 5 to whatever you want its just making the movie clip rotate that many degrees every frame so the higher the number the faster the frames…the higher the frame rate (FPS) the smoother the animation will be!

Good Luck!