home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club KidSoft Volume 3 #3
/
CKSPCV33.BIN
/
movies
/
catalog.dir
/
00048_Script_48
< prev
next >
Wrap
Text File
|
1995-07-19
|
2KB
|
49 lines
-- "Catalog"
on exitFrame
cursor 0
global gMIAWOpen, KidDemosOnly
if gMIAWOpen = FALSE then
-- Mouse in any of our buttons?
global SReturn, SPageLeft, SPageRight, SBuyNow, SFind, SQA, SCatMenu, SAgeMenu
global gSummaryScreenPageNumber, gSummaryScreenNumPages
SetVisibleIfOver(SReturn, "Swoosh") -- Return
if gSummaryScreenPageNumber > 1 then SetVisibleIfOver(SPageLeft, "Swoosh")
if gSummaryScreenPageNumber < gSummaryScreenNumPages then SetVisibleIfOver(SPageRight, "Swoosh")
if KidDemosOnly = FALSE then
MouseEnter(SBuyNow, "Swoosh") -- BuyNow
SetVisibleIfOver(SFind, "Swoosh") -- Find button
SetVisibleIfOver(SQA, "Swoosh") -- QA button
MenuEnter(SCatMenu, "CatMenu", "Catalog") -- Categories Menu
MenuEnter(SAgeMenu, "AgesMenu", "Catalog") -- Ages Menu
end if
-- Has mouse paused on top of any box?
global SFirstBox, SFirstSpecial, SFirstDemo, SFirstUnlock, SClickMe
set overAnyBox = FALSE
repeat with i = 0 to 4
if the visible of sprite (SFirstBox + i) = TRUE then
set overBox = CheckClickMe(SFirstBox + i)
if overBox = TRUE then
set overAnyBox = TRUE
end if
end if
end repeat
if overAnyBox = FALSE then
if the visible of sprite SClickMe = TRUE then
set the visible of sprite SClickMe = FALSE
end if
end if
CheckBalloonChange()
end if
go to frame the frame
end