on beginSprite me
set pInterp=interpolation(pInterp)
reset(me)
end
on trigger me,reverseFlag
set s = the spriteNum of me
if not alphaManiac(s) then exit
if pLoop then
rotate(sprite s,[animMode:#Pendulum,startDegrees:pStart,¬
endDegrees:pEnd,numFrames:pFrames])
else
if reverseFlag then
rotate(sprite s,[animMode:#Range,startDegrees:pEnd,¬
endDegrees:pStart,numFrames:pFrames])
else
rotate(sprite s,[animMode:#Range,startDegrees:pStart,¬
endDegrees:pEnd,numFrames:pFrames])
end if
end if
end
on reset me
set s=the spriteNum of me
if not alphaManiac(s) then exit
rotate(sprite s,[animMode:#Static,Degrees:pStart,interpolation:pInterp])
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA