home *** CD-ROM | disk | FTP | other *** search
- on manageBtns theVal
- global filterStatus
- set me to the clickOn
- set x to the castNum of sprite me
- set theCastName to the name of cast the castNum of sprite me
- set the immediate of sprite me to 1
- set the visible of sprite me to 1
- set the ink of sprite me to 32
- if theCastName = "Y" then
- set the castNum of sprite me to x + 3
- else
- set the castNum of sprite me to x + 1
- end if
- repeat while the mouseDown
- updateStage()
- end repeat
- if rollOver(me) then
- if theCastName = "Y" then
- set the castNum of sprite me to x + 1
- put 0 into char theVal of filterStatus
- else
- set the castNum of sprite me to x - 1
- put 1 into char theVal of filterStatus
- end if
- else
- set the castNum of sprite me to x
- end if
- end
-