home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Undercover - Rock on Multimedia 2
/
UNDERCOVER2.BIN
/
popup.dir
/
00016_Script_16
< prev
next >
Wrap
Text File
|
1996-01-20
|
2KB
|
76 lines
on exitFrame
global gPopup
if not gPopup then go "IdleFrame"
else
if the mouseH > 138 then
close window "popup"
updatestage
set gPopup = false
tell the stage to continue
abort
end if
repeat with n = 22 down to 10
if rollover(n) then
exit repeat
end if
end repeat
go frame marker(0) + n - 9
end if
end
on mouseDown
tell the stage
global gMusicPlaying
if not gMusicPlaying then
sound stop 1
playMusic
end if
repeat with s = 1 to 48
puppetSprite s,false
end repeat
end tell
global gNextMovieFrame
if the frame = 2 then
set gNextMovieFrame = "central"
else if the frame = 3 then
set gNextMovieFrame = "cover"
else if the frame = 4 then
set gNextMovieFrame = "idol"
else if the frame = 5 then
set gNextMovieFrame = "discover"
else if the frame = 6 then
set gNextMovieFrame = "classic"
else if the frame = 7 then
set gNextMovieFrame = "review"
else if the frame = 8 then
set gNextMovieFrame = "mosh"
else if the frame = 9 then
set gNextMovieFrame = "quiz"
else if the frame = 10 then
set gNextMovieFrame = "wall"
else if the frame = 11 then
set gNextMovieFrame = "audio"
else if the frame = 12 then
set gNextMovieFrame = "guru"
else if the frame = 13 then
set gNextMovieFrame = "help"
else if the frame = 14 then
set gNextMovieFrame = "movieExit"
end if
close window "popup"
tell the stage to continue
tell the stage to updateStage
global gReview
if gReview then
tell the stage to go to frame "review_exit"
else
tell the stage to go to frame "goNextMovie"
end if
abort
end