home *** CD-ROM | disk | FTP | other *** search
- on rolloverAnimateLoop spritechannel, inc, animList
- puppetSprite(spritechannel, 1)
- if rollOver(spritechannel) then
- set the castNum of sprite spritechannel to the number of member getAt(animList, inc)
- set inc to inc + 1
- if inc > count(animList) then
- set inc to 1
- end if
- else
- set inc to 1
- set the castNum of sprite spritechannel to the number of member getAt(animList, inc)
- end if
- updateStage()
- return inc
- end
-
- on rolloverAnimatePause spritechannel, inc, animList
- puppetSprite(spritechannel, 1)
- if rollOver(spritechannel) then
- set the castNum of sprite spritechannel to the number of member getAt(animList, inc)
- set inc to inc + 1
- if inc > count(animList) then
- set inc to count(animList)
- end if
- else
- set inc to 1
- set the castNum of sprite spritechannel to the number of member getAt(animList, inc)
- end if
- updateStage()
- return inc
- end
-