home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Creative Review 28
/
Creative-Review-CD-ROM-28.iso
/
pc
/
kungfu
/
advert.dir
/
00002_Script_2
< prev
next >
Wrap
Text File
|
1997-08-08
|
2KB
|
112 lines
-- start/stop
global gChanUpdate
global gCurrentList
global gAnimList
global gCurrentUpdate
global gNavDelay
global gNavtime
global gRoll
on hStart
set the exitLock to TRUE
set requiredk = 2.5 * 1000
put "requiredk: " , requiredk
set gotk = the freeblock / 1024
-- alert ""&gotk&""
put "gotk: " , gotk
-- if gotk < requiredk then
-- alert "There is insufficent memory to run this program"
-- quit
-- end if
if the quickTimePresent = 0 then
alert "please install Quicktime"
quit
end if
if the machinetype = 256 then
if the colordepth <> 16 then
alert "please reset your monitor to 16 bit"
-- quit
end if
else
if the colordepth <> 16 then
set the colordepth to 16
end if
puppetsound 1,random(7) + 101
hOpenRear
end if
set NumofNav = the number of lines in field "animData"
set gRoll = 0
set gCurrentUpdate = 1
set gAnimList = []
set gBaseChan = 11
repeat with a = 2 to NumofNav
set gCurrent = [:]
addprop gCurrent,#chan,gBaseChan
addprop gCurrent,#spin,the value of word 1 of line a of field "animData"
addprop gCurrent,#spOut,the value of word 2 of line a of field "animData"
addprop gCurrent,#Vidin,the value of word 3 of line a of field "animData"
addprop gCurrent,#VidOut,the value of word 4 of line a of field "animData"
addprop gCurrent,#Symbol,the value of word 5 of line a of field "animData"
addprop gCurrent,#Header,the value of word 6 of line a of field "animData"
addprop gCurrent,#type,the value of word 7 of line a of field "animData"
addprop gCurrent,#SymbolChan ,gBaseChan + 1
set gBaseChan = gBaseChan + 2
add gAnimList , gCurrent
end repeat
end
on hstop
if the machinetype <> 256 then
disposeRearWindow
end if
end
on stopmovie
hstop
end
on keydown
if the commandDown and ¼
(the key = "." or the key = "q") then
if the type of cast the castNum of sprite 30 = #video then
set the movietime of sprite 30 to 0
end if
updatestage
go "end"
end if
end