home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Creative Review 28
/
Creative-Review-CD-ROM-28.iso
/
pc
/
kungfu
/
advert.dir
/
00005_Script_5
< prev
next >
Wrap
Text File
|
1997-08-08
|
2KB
|
84 lines
-- click
global gChanUpdate
global gCurrentList
global gAnimList
global gCurrentUpdate
on hClick
if the clickon = the chan of gCurrentList then return
set the blend of sprite the chan of gCurrentList to 100
set the blend of sprite the symbolchan of gCurrentList to 100
repeat with a = 1 to count(gAnimList)
set currentchan = getat(gAnimList,a)
set ClickedChan = 0
if the clickon = the symbolchan of currentchan then
set ClickedChan = 1
end if
if the clickon = the chan of currentchan then
set ClickedChan = 1
end if
if ClickedChan = 1 then
set gCurrentList = getat (ganimList,a)
set the blend of sprite the chan of gCurrentList to 20
set the blend of sprite the symbolchan of gCurrentList to 20
set theheader = the header of gCurrentList
set thetype = the type of gCurrentList
set the castNum of sprite 4 to theheader
set the castNum of sprite 5 to thetype
set the loch of sprite 4 to 245
set the loch of sprite 4 to 240
set the loch of sprite 5 to the loch of sprite 30
set the locv of sprite 5 to 230 + (the height of cast thetype /2)
updatestage
set the movierate of sprite 30 to 0
set the movietime of sprite 30 to the Vidin of gCurrentList
updatestage
unloadMember member 301, the number of members
set the movierate of sprite 30 to 1
return
end if
end repeat
end