home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- rollCheck()
- go(the frame)
- end
-
- on rollCheck
- set rollerList to [10: 46, 11: 47]
- repeat with x = 10 to 11
- if the mouseDown then
- exit repeat
- end if
- if rollOver(x) = 1 then
- set y to getaProp(rollerList, x)
- if voidp(y) = 1 then
- exit
- end if
- set z to the member of sprite x
- repeat while rollOver(x) = 1
- if the mouseDown then
- exit repeat
- end if
- if rollOver(x) = 1 then
- puppetSprite(x, 1)
- set the member of sprite x to y
- updateStage()
- next repeat
- end if
- puppetSprite(x, 1)
- set the member of sprite x to z
- updateStage()
- end repeat
- puppetSprite(x, 1)
- set the member of sprite x to z
- puppetSprite(x, 0)
- updateStage()
- end if
- end repeat
- end
-