home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gMov, gCurrentSprite
- if gMov = 1 then
- set the locH of sprite 45 to the mouseH
- set the locV of sprite 45 to the mouseV
- end if
- checkRollovers()
- updateStage()
- go(the frame)
- end
-
- on checkRollovers
- global gHighlightList, gOriginalList
- if the visible of sprite 45 = 0 then
- repeat with channel = 20 to 24
- if rollOver(channel) then
- puppetSprite(channel, 1)
- set the castNum of sprite channel to the number of member getAt(gHighlightList, channel - 19)
- next repeat
- end if
- set the castNum of sprite channel to the number of member getAt(gOriginalList, channel - 19)
- puppetSprite(channel, 0)
- end repeat
- if rollOver(46) then
- puppetSprite(46, 1)
- set the castNum of sprite 46 to the number of member "20ICY004.000"
- else
- set the castNum of sprite 46 to the number of member "20ICX004.000"
- puppetSprite(46, 0)
- end if
- end if
- end
-
- on mouseDown
- if (the clickOn > 19) and (the clickOn < 25) then
- whichButton()
- else
- whichbodypart()
- end if
- updateStage()
- end
-