home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inventor Labs: Technology
/
INVENTORLABS_TECHNOLOGY.BIN
/
pc
/
files
/
timeln.dir
/
00001_Script_1
next >
Wrap
Text File
|
1997-05-26
|
1KB
|
38 lines
-- Compile Rects
global finalrectdb
on getrects
--/ Inventor Specific
set endsprites = [31,22,20,24,20]
set TextField = the number of cast "EdisonTimeLineRectsDB"
--/ Inventor Specific
set areatypes = [#Daily,#Politics,#Arts,#Science,#Edison]
set the text of cast TextField = empty
set startframe = the frame
set counter = 1
set finalrectdb = "["
repeat with Whatframe = startframe to startframe + 4
set rectdb = []
go frame Whatframe
repeat with spritenum = 3 to getat(endsprites,counter)
append(rectdb,the rect of sprite spritenum)
end repeat
set sectionrect = "#" & string(getat(areatypes,counter)) & ":" & string(rectdb) & ","
set finalrectdb = finalrectdb & sectionrect
set counter = counter + 1
end repeat
set finalrectdb = chars(finalrectdb, 1,length(finalrectdb) - 1)
set finalrectdb = finalrectdb & "]"
set the text of cast TextField = finalrectdb
end getrects