home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Undercover - Rock on Multimedia 2
/
UNDERCOVER2.BIN
/
main.dir
/
00491_Script_491
< prev
next >
Wrap
Text File
|
1996-01-27
|
2KB
|
79 lines
on exitFrame
global gStext, gLH, gTop
if (rollover(2) or rollover(10)) and not rollover(3) then
set v = the mouseV
set delta = v - gTop
set the locV of sprite 3 = gTop + delta - delta mod gLH
end if
if rollover(11) or rollover(12) or rollover(13) or rollover(14) then
set locked = false
global gLock
repeat with n = 14 down to 11
if rollover (n) and gLock = n then
set locked = true
end if
end repeat
if not locked then
kill gStext
set gLock = 10
global gRollover, gTimeOut, gLatch
set gLatch = false
startTimer
set gRollover = 10
repeat with n = 14 down to 11
if rollover(n) then
set gRollover = n
exit repeat
end if
end repeat
go frame marker(0) + (n - 10)*13
stopMusic
if n = 14 then
puppetsound "region"
else if n = 13 then
puppetsound "era"
else if n = 12 then
puppetsound "genre"
else if n = 11 then
puppetsound "style"
end if
else
go the frame
end if
else
if the mouseH > 101 then
set gLock = 10
end if
go the frame
end if
end
on mousedown
global gStext, gRecNum
if rollover(2) or rollover (10) then
getLine gStext
put the result into lineNo
set temp = line lineNo of field "recnum_list"
set i = 1
set gRecNum = 0
repeat while i <= length (temp)
set gRecNum = gRecNum * 10 + charToNum(char i of temp) - 48
set i = i + 1
end repeat
kill gStext
go "info"
else if rollover(18) then
puppetSprite 10, false
global gNextMovieFrame
set gNextMovieFrame = "central"
go "review_exit"
else
go the frame
end if
end