any friend can help me i made a wheel i can spin it by motion tween.but i want to spin it through simple action scripting can any one tel me.
thx
Printable View
any friend can help me i made a wheel i can spin it by motion tween.but i want to spin it through simple action scripting can any one tel me.
thx
What kind of wheel?
just for car wheel.
If mc is your wheel then the script is:
mc.addEventListener(Event.ENTER_FRAME,ef);
function ef(e:Event):void
{
e.currentTarget.rotation += 10;//or any other value
}
However you need to center the wheel.
thx brother i will use it n then i will tell u the result of it.