MOUSE UP (TOUCH UP) ANIMATION

Greetings Gamesalad!
This is my first post,so be gentle
I am building a platform game, vertical scrolling type.My actor is moving using the mouse (press and hold),thus on the iphone is press and hold with your hand. What I want to do is when the actor goes up,use an animation that the actor rotates upwards and the exact opposite when the actor goes down. The actor is a fighter plane.
Any ideas?
This is my first post,so be gentle

I am building a platform game, vertical scrolling type.My actor is moving using the mouse (press and hold),thus on the iphone is press and hold with your hand. What I want to do is when the actor goes up,use an animation that the actor rotates upwards and the exact opposite when the actor goes down. The actor is a fighter plane.
Any ideas?
Comments
change attribute Rotation to 1. Otherwise, change attribute Rotation to 0.
Create rule: when attribute Rotate is 1,
rule: Rotate 90 degrees. Otherwise, when attribute Rotate is 0,
rule: Rotate 180 degrees.