on beginSprite me
set s=the spriteNum of me
if not alphaManiac(s) then exit
set pInterp=interpolation(pInterp)
if pDirection=#CCW then set pFrames = pFrames * -1
rotate(sprite s,[animMode:#Infinite,FramesPerRevolution:pFrames,interpolation:pInterp])
end
on getBehaviorDescription me
set msg= "Make an AlphaManiac rotate forever. Or until you stop it."
put return & return after msg
put "Parameters:" & return & "-----------" & return after msg
put "* Direction: CW (Clockwise) or CCW" & return after msg
put "* Frames/Revolution: Lower numbers are faster" & return after msg
put "* Interpolation: On,Off,or While Paused" after msg
put return & "-----------" & return & return & ">>>" && amTip() after msg
return msg
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA