home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club KidSoft Volume 3 #1
/
ClubKidsoft.iso
/
movies
/
catalog.dir
/
00071_Script_71
< prev
next >
Wrap
Text File
|
1995-02-07
|
1KB
|
34 lines
-- "CatMenu/AgesMenu"
on exitFrame
-- Set sprite globals
global SMenu, SMenuBar, SMenuItems, SMenuHilite
if marker(0) = label("CatMenu") then
set SMenu = GetSpriteNamed("Categories Menu")
set SMenuBar = GetSpriteNamed("Categories Pulldown")
set SMenuItems = GetSpriteNamed("Category Menu Items")
-- ### CAN'T DETERMINE MENU HILITE SPRITE PROGRAMMATICALLY!
-- Assume it is one after menu items sprite
set SMenuHilite = GetSpriteNamed("Category Menu Items") + 1
set the visible of sprite SMenuHilite = FALSE
else -- must be ages menu
set SMenu = GetSpriteNamed("Ages Menu")
set SMenuBar = GetSpriteNamed("Ages Pulldown")
set SMenuItems = GetSpriteNamed("Age Menu Items")
-- ### CAN'T DETERMINE MENU HILITE SPRITE PROGRAMMATICALLY!
-- Assume it is one after the menu items sprite
set SMenuHilite = GetSpriteNamed("Age Menu Items") + 1
set the visible of sprite SMenuHilite = FALSE
end if
-- Hide the clickme sprite if it is visible
global SClickMe
if the visible of sprite SClickMe = TRUE then
set the visible of sprite SClickMe = FALSE
end if
updateStage
end