Hi all,
I want to rotate a MovieClip on some axis..I saw there is a effect
called Rotate in Flex 2.I tried using it.It has properties called
originX and originY which clearly states that any object will rotate
on that axis.I want to achiever similar feature in AS 3.When i tried
using it, it was not working..Where am i goin wrong..Can anyone post
me a link regarding that..Here is the sample code i am tryin to achieve

var rot: Rotate = new Rotate;
rot.angleFrom = 0;
rot.angleFrom = 45;
rot.duration = 2000;

rot.originX = 100;
rot.originY = 100;

rot.target = 'id of the component i want to pass';

This code works fine with any mxml component passed to it..But its not
working with any MovieClip passed to it..
Can anyone help me out in that..

Thanks


Reply via email to