Image rotating in X direction with tweener using flash actionscript
To see the effect please click on the below image
import caurina.transitions.Tweener;
var values:int=0;
heart.addEventListener(MouseEvent.MOUSE_DOWN,rotate);
function rotate(evt:MouseEvent):void
{
values = values - 1;
Tweener.addTween(heart,{rotationX:values*180,rotationY:values*0,time:1,transition:"easeInCubic"});
}
This movie requires Flash Player 9