Flash Game Problems

hi i’m making a game where where you collect a object it flips the screen 90 or 180 or 270 degrees is there an action script that can do that or will i have to make it jump to different frame with the background already rotated?

code wanted plz :slight_smile: