on beginSprite me
set pInterp=interpolation(pInterp)
-- Convert Ease In & Out to frames
set pIn=(pIn*pFrames) / 100
set pOut=(pOut*pFrames) / 100
reset(me)
end
on trigger me,reverseFlag
set s = the spriteNum of me
if not alphaManiac(s) then exit
if pLoop then
swirl(sprite s,[animMode:#Pendulum,startDegrees:pStart,¬
endDegrees:pEnd,numFrames:pFrames,EaseIn:pIn,EaseOut:pOut])
else
if reverseFlag then
swirl(sprite s,[animMode:#Range,startDegrees:pEnd,¬
endDegrees:pStart,numFrames:pFrames,EaseIn:pIn,EaseOut:pOut])
else
swirl(sprite s,[animMode:#Range,startDegrees:pStart,¬
endDegrees:pEnd,numFrames:pFrames,EaseIn:pIn,EaseOut:pOut])
end if
end if
end
on reset me
set s=the spriteNum of me
if not alphaManiac(s) then exit
Swirl(sprite s,[animMode:#Static,degrees:pStart,interpolation:pInterp])
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA