;

PDA

Click to See Complete Forum and Search --> : help in making simple spinning wheel.


kamiherro
07-03-2009, 03:11 AM
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

cancerinform
07-03-2009, 03:55 PM
What kind of wheel?

kamiherro
07-04-2009, 01:27 AM
just for car wheel.

cancerinform
07-04-2009, 10:51 AM
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.

kamiherro
07-09-2009, 01:50 AM
thx brother i will use it n then i will tell u the result of it.