Well the answer is infront of your face really, just need to understand how the if loop works, but here is the answer for you based on jbums code...

code:

// set this to maximum desired rate
_root.mc.maxRate = 0;
// set this to control the initial acceleration
_root.mc.accel = 0.5;
_root.mc.curRate = 20;

_root.mc.onEnterFrame=function()
{
if (this.curRate > this.maxRate)
{
this.curRate -= this.accel;
}
this._rotation -= this.curRate;
}



how does it work? simple, if the value of this.curRate is greater than the value of this.maxRate it tells curRate to decrease by the acceleration rate (this.curRate -= this.accel
it then tells the object to rotate by that amount
(this._rotation -= this.curRate

hope that answers your question and better understands the flash code as well
Originally posted by notaloserflash
yeah i used jbum's.

now, im wondering, if i have it spinning like it is, how can i get it to decrease to a stop as if someone pressed the stop button?