home *** CD-ROM | disk | FTP | other *** search
- property theSprite, castID, castHI, castMD, target, wissel
- global hydrolijst
-
- on new me, spr, csID, csHI, csMD, TA
- theSprite = spr
- castID = the number of member csID
- castHI = the number of member csHI
- castMD = the number of member csMD
- target = TA
- wissel = castID
- puppetSprite(theSprite, 1)
- return me
- end
-
- on cbbtn22 me
- if rollOver(theSprite) then
- puppetSprite(theSprite, 1)
- set the castNum of sprite theSprite to castHI
- updateStage()
- if the mouseDown then
- set the castNum of sprite theSprite to castMD
- updateStage()
- repeat while the mouseDown
- if rollOver(theSprite) and the mouseDown then
- set the castNum of sprite theSprite to castMD
- updateStage()
- next repeat
- end if
- set the castNum of sprite theSprite to castHI
- updateStage()
- end repeat
- if rollOver(theSprite) = 0 then
- exit
- end if
- sprite(theSprite).visible = 0
- set the castNum of sprite 60 to cast("dummypixel")
- exit
- end if
- else
- set the castNum of sprite theSprite to wissel
- end if
- end
-
- on setcurrentSW me, cstmd
- wissel = the number of member cstmd
- set the castNum of sprite theSprite to wissel
- updateStage()
- return me
- end
-