home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DIGIZINE 1
/
DIGIZINE.BIN
/
main
/
sony
/
mainmov.dir
/
00087_Script_87
< prev
next >
Wrap
Text File
|
1995-08-18
|
730b
|
24 lines
--button hilite sound on/off
--on mouseDown
-- set the castnum of sprite(the clickon) to (the castnum of sprite(the clickon) + 1)
-- updatestage
-- repeat while the stilldown
-- nothing
-- end repeat
-- set the castnum of sprite(the clickon) to (the castnum of sprite(the clickon) - 1)
-- updatestage
--end
on mouseUp
put the castNum of sprite(the clickon) into X
if the name of cast X = "Speaker on" then
set the movierate of sprite(9) = 0
set the castnum of sprite(the clickon) to the number of cast "Speaker off"
updatestage
else
set the movierate of sprite(9) = 1
set the castnum of sprite(the clickon) to the number of cast "Speaker on"
updatestage
end if
end