home *** CD-ROM | disk | FTP | other *** search
- property spriteNum
- global orig, currentcard
-
- on beginSprite me
- sprite(spriteNum).visible = 0
- end
-
- on mouseDown me
- if sprite(spriteNum).visible and (currentcard = 0) then
- if (spriteNum = 26) or (sprite(spriteNum + 1).visible = 0) then
- puppetSound("pickcard")
- orig = spriteNum
- currentcard = 60
- sprite(currentcard).visible = 1
- sprite(currentcard).memberNum = sprite(spriteNum).memberNum - 78
- sprite(currentcard).loc = sprite(spriteNum).loc
- sprite(spriteNum).visible = 0
- repeat while the mouseDown
- sprite(currentcard).loc = point(the mouseH, the mouseV)
- updateStage()
- end repeat
- end if
- end if
- sendSprite(73, #mouseDown)
- end
-