home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invenzioni E Inventori 1: Lavoro E Vita Quotidiana
/
invenzioni-inventori-1.iso
/
mac
/
Invenzio
/
Indart.cst
/
00012_Script_12
< prev
next >
Wrap
Text File
|
1997-10-14
|
1KB
|
36 lines
on HILITE _inizio,_fine,_sprite, _cast_name
global attore,men,menubar
set elewin to string (the windowlist)
if offset ("popup",elewin) > 0 then
if the visible of window "popup" then exit
end if
if offset ("menubar",elewin) > 0 then
if the visible of menubar then exit
end if
if not voidp (_cast_name) then
set _cast_hilite to _cast_name
else
set _cast_hilite to "Ms000"
end if
set _num to _fine-_inizio
set _libero to true
repeat while _num>=0
if rollOver(_num+_sprite) and _libero then
set the member of sprite (_num+_sprite) to member (_fine+_num+1) of castLib _cast_hilite
set _libero to false
else
set the member of sprite (_num+_sprite) to member (_inizio+_num) of castLib _cast_hilite
end if
set _num to _num-1
end repeat
end
-- Spiegazione della procedura HILITE
-- _inizio: primo membro (immagine)
-- _fine: ultimo membro (immagine)
-- _sprite: posizione nello score del primo membro
-- _cast_name: cast che contiene gli hilite (di default e' "Ms000" )