home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
LAUNCH 2
/
LAUNCH.BIN
/
mac
/
TOYOTA
/
TOYOTA.DIR
/
00047_Script_47
< prev
next >
Wrap
Text File
|
1995-01-01
|
2KB
|
78 lines
on rolloverTest
repeat with n = 4 to 7
if rollOver(n) then
repeat with x = 4 to 7
puppetSprite x, 0
end repeat
updateStage
puppetSprite n, 1
set the castNum of sprite n = the number of cast((word 1 of the name of cast(the castNum of sprite n)) && "LOOP")
updateStage
exit repeat
else
repeat with x = 4 to 7
puppetSprite x, 0
end repeat
end if
end repeat
if rollover(20)= TRUE and rollover(48) = FALSE and the mouseCast <> -1 then
puppetSprite 48, 1
set the stretch of sprite 48 = 0
set the castNum of sprite 48 = the number of cast string (the name of cast (the mouseCast) & " Rollover")
updateStage
else
puppetSprite 48, 0
end if
end
on lightFlash
global spriteClicked
if the mouseCast < 82 or the mouseCast > 85 then
set spriteClicked = the clickon
puppetSprite spriteClicked, 1
set the castNum of sprite spriteClicked = the castNum of sprite spriteClicked + 4
updateStage
repeat while the mouseDown
nothing
end repeat
puppetsprite spriteClicked, 0
updateStage
end if
end
on tacomaRollover
repeat with n = 26 to 28
puppetSprite n, 0
if rollOver(n) then
puppetSprite n, 1
set the castNum of sprite n = the number of cast (word 1 of the name of cast the castNum of sprite n & " rollover")
--exit repeat
end if
end repeat
end
on trafficRollover
if rollover(20)= TRUE and rollover(48) = FALSE and the mouseCast <> -1 then
puppetSprite 48, 1
set the stretch of sprite 48 = 0
set the castNum of sprite 48 = the number of cast string (the name of cast (the mouseCast) & " Rollover")
else if rollover(21) then
puppetsprite 47,1
set the stretch of sprite 47 = 0
set the castNum of sprite 47 = the number of cast string (the name of cast (the mouseCast) & " Rollover")
else
puppetSprite 47, 0
puppetSprite 48, 0
end if
updateStage
end repeat
end
on undoChecks
repeat with n = 0 to 12
set the hilite of cast (the number of cast "first box" + n ) = 0
end repeat
end