home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invenzioni E Inventori 1: Lavoro E Vita Quotidiana
/
invenzioni-inventori-1.iso
/
mac
/
Invenzio
/
Indart.cst
/
00068_Script_68
< prev
next >
Wrap
Text File
|
1997-10-14
|
1KB
|
55 lines
on controlla_TIMELINE num
repeat with a = 1 to 48
set b to the castnum of sprite a
if b <> 0 then
if the casttype of member b =#shape then
set nome to item 1 of the name of member b
if char 1 to 2 of the name of member b= "ms" then
if trova_sottoinv (nome) = 0 then
set the forecolor of sprite a to 35
updatestage
else
set the forecolor of sprite a to 113
updatestage
end if
else
set tipo to ""
set tipo = cercap_contr (nome)
put tipo
if tipo = "mp" or voidp(tipo) then
set the forecolor of sprite a to 113
updatestage
else
if trova_cd (tipo,num) = 0 then
set the forecolor of sprite a to 35
updatestage
else
set the forecolor of sprite a to 113
updatestage
end if
end if
end if
end if
end if
end repeat
end
on cercap_contr parolal
set dove to offset (parolal,field "rimandi")
if dove > 0 then
set mov to (char dove-4 to dove-2 of field "rimandi")&".dir"
set l to char dove-6 to dove-5 of field "rimandi"
if l="mp" then
return l
else
return "mi"&char 1 to 3 of mov
end if
end if
end