home *** CD-ROM | disk | FTP | other *** search
- property pSpriteNum
- global gScreenLarge, gDrawStage, gRectStage, gChart
-
- on beginSprite me
- pSpriteNum = sprite(me.spriteNum)
- end
-
- on mouseEnter me
- pSpriteNum.cursor = 280
- if gChart = "on" then
- puppetSound(2, "s_mouseover")
- if gScreenLarge = 0 then
- pSpriteNum.member = "BigDown"
- end if
- end if
- end
-
- on mouseLeave me
- pSpriteNum.cursor = -1
- if gScreenLarge = 0 then
- pSpriteNum.member = "BigUp"
- end if
- end
-
- on mouseDown me
- puppetSound(2, "s_mousedown")
- if gScreenLarge = 0 then
- (the stage).drawRect = (the desktopRectList)[1]
- (the stage).rect = (the desktopRectList)[1]
- gScreenLarge = 1
- else
- (the stage).drawRect = gDrawStage
- (the stage).rect = gRectStage
- pSpriteNum.member = "BigUp"
- gScreenLarge = 0
- end if
- end
-