home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set menH to 18
- set men1W to 100
- set openTool to 0
- repeat while the stillDown
- set mh to the mouseH
- set mv to the mouseV
- if mv <= menH then
- if mh <= men1W then
- set openTool to 1
- puppetSprite(48, 1)
- set the lineSize of sprite 48 to 2
- set the foreColor of sprite 48 to 26
- set the castNum of sprite 48 to 945
- spriteBox(48, 0, 0, 100, 19)
- updateStage()
- else
- set openTool to 0
- end if
- next repeat
- end if
- set openTool to 0
- end repeat
- if openTool = 1 then
- puppetSprite(47, 1)
- set the type of sprite 47 to 1
- set the stretch of sprite 47 to 0
- set the castNum of sprite 47 to 810
- set the locH of sprite 47 to 0
- set the locV of sprite 47 to 0
- puppetSprite(48, 1)
- set the castNum of sprite 48 to 800
- set the lineSize of sprite 48 to 0
- spriteBox(48, 0, 0, 640, 480)
- updateStage()
- else
- setOffStage("47, 48")
- setPuppets(47, 48, 0)
- updateStage()
- end if
- end
-