home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 9
/
cdrt09.iso
/
mac
/
UTAHDEMO
/
SHARED.DIR
/
00745_Script_745
< prev
next >
Wrap
Text File
|
1995-01-13
|
2KB
|
50 lines
-- set up plan nav buttons
on setUpPlanNav
global buttonPressed
puppetSprite 22, TRUE
puppetSprite 23, TRUE
puppetSprite 24, TRUE
if (the type of sprite 23 = 1) then
if rollover (23) then
if (buttonPressed = 5) and (the stillDown) then
set the castNum of sprite (23) to the number of cast "prev down"
else if (the stillDown) then
set the castNum of sprite (23) to the number of cast "prev up"
else
set the castNum of sprite (23) to the number of cast "prev sel"
end if
else
set the castNum of sprite (23) to the number of cast "prev up"
end if
end if
if (the type of sprite 24 = 1) then
if rollover (24) then
if (buttonPressed = 6) and (the stillDown) then
set the castNum of sprite (24) to the number of cast "next down"
else if (the stillDown) then
set the castNum of sprite (24) to the number of cast "next up"
else
set the castNum of sprite (24) to the number of cast "next sel"
end if
else
set the castNum of sprite (24) to the number of cast "next up"
end if
end if
if (the type of sprite 22 = 1) then
if rollover (22) then
if (buttonPressed = 1) and (the stillDown) then
set the castNum of sprite (22) to the number of cast "return down"
else if (the stillDown) then
set the castNum of sprite (22) to the number of cast "return up"
else
set the castNum of sprite (22) to the number of cast "return sel"
end if
else
set the castNum of sprite (22) to the number of cast "return up"
end if
end if