home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Buyer 1995 November
/
SHOWCASE.ISO
/
files
/
gallery.dir
/
00115_Script_115
< prev
next >
Wrap
Text File
|
1995-06-12
|
747b
|
30 lines
global gReturnFromDemo
on mousedown
put the clickOn into whichSprite
puppetSprite whichSprite, TRUE
set the castnum of sprite whichSprite = the number of cast ("Quit lit")
repeat while the stilldown
updatestage
end repeat
end
on mouseUp
set the castNum of sprite the clickon = the number of cast "Quit"
if the mousecast = the number of cast "Quit" then
sound stop 1
sound stop 2
set gReturnFromDemo = TRUE
set gLeftFromQT = FALSE
play movie "quit"
end if
if the mousecast = the number of cast "Quit lit" then
sound stop 1
sound stop 2
set gReturnFromDemo = TRUE
set gLeftFromQT = FALSE
play movie "quit"
end if
puppetSprite whichSprite, FALSE
end