home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set curSpr to the clickOn
- set curCast to the castNum of sprite curSpr
- puppetSprite(curSpr, 1)
- repeat with x = 1 to 2
- set the castNum of sprite curSpr to curCast + x
- updateStage()
- end repeat
- repeat while the mouseDown
- if rollOver(curSpr) then
- set the castNum of sprite curSpr to curCast + 2
- else
- set the castNum of sprite curSpr to curCast
- end if
- updateStage()
- end repeat
- set the castNum of sprite curSpr to curCast
- updateStage()
- if the mouseCast = curCast then
- doPaste()
- end if
- puppetSprite(curSpr, 0)
- end
-