home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invenzioni E Inventori 1: Lavoro E Vita Quotidiana
/
invenzioni-inventori-1.iso
/
mac
/
Invenzio
/
Citta
/
shared.cst
/
03061_Script_3061
< prev
next >
Wrap
Text File
|
1997-10-14
|
3KB
|
97 lines
ON ARCHIVIO
-- if (the mouseh >= 51 and the mouseh <= 548) and (the mousev >=0 and the mousev <= 429) then
-- GLOBAL LISTA, TIPO, NOME, MATERIALE,utente,var_dll,videocast,sprit,soundfile
--
-- SET CST TO THE MOUSECAST
-- set var_dll to 0
-- SET TIPO= chars(STRING(THE CASTTYPE OF CAST (CST )),1,length(STRING(THE CASTTYPE OF CAST (CST ))))
-- if tipo ="bitmap" AND the size of CAST(CST)< 6000 then exit
--
-- set videocast to 0
-- IF THE CASTNUM OF SPRITE 48 > 0 THEN
-- IF THE CASTTYPE OF cast (the castnum of sprite 48)= #DIGITALVIDEO THEN
-- set videocast to THE CASTNUM OF SPRITE 48
-- END IF
-- END IF
--
--
-- if tipo ="digitalVideo" then
-- set materiale to the fileName of cast (CST)
-- end if
--
-- set in_principio=0
-- if offset("principio", the labelList)<>0 then
-- if marker("principio")+2 = the frame then set in_principio=1
-- end if
--
-- if tipo ="bitmap" then
-- IF in_principio=0 then
-- if the height of cast (CST)=480 and the width of cast (CST)=640 then
-- if the machineType<256 then
-- linkdll "stagetc"
-- put StageToCast(mNew,0,80,480,640) into mauro
-- set materiale to mauro(mgethandle)
-- mauro(mDispose)
-- else
-- global copyObj, savePicHandle, pictureFlag,cobalto
-- linkdll "dataproj"
-- put dataproj (mNew ) into cobalto
-- cobalto(mSetCaptureRect,80,0,640,480)
-- end if
-- else
-- put the picture of cast (CST) into materiale
-- end if
-- else
-- if the machineType<256 then
-- linkdll "stagetc"
-- put StageToCast(mNew,0,51,475,640) into mauro
-- set materiale to mauro(mgethandle)
-- mauro(mDispose)
-- else
-- global copyObj, savePicHandle, pictureFlag,cobalto
-- linkdll "dataproj"
-- put dataproj (mNew ) into cobalto
-- cobalto(mSetCaptureRect,80,5,640,475)
-- end if
-- end if
-- END IF
--
--
--
--
-- if tipo ="text" then
-- SET XX=1
-- SET MATERIALE= ""
-- REPEAT WHILE XX<=the number of lines of the text of cast (CST)
-- set materiale to MATERIALE && line XX of the text of cast (CST)
-- SET XX=XX+1
-- END REPEAT
-- END IF
--
--
--
-- global mywindow
-- if objectp(mywindow) then forget mywindow
--
-- if the machinetype = 256 then
-- set ttt=char 1 to 2 of the pathName&"\INVENZIO\NOME.DIR"
-- else
-- set ttt="INVENZIONI:INVENZIO:NOME.DIR"
-- end if
--
-- set mywindow to window "RACCOLTA"
-- SET THE FILENAME OF MYWINDOW TO TTT
--
-- set the titlevisible of mywindow to true
-- set the windowType of window ttt to 0
-- open mywindow
-- end if
--end if
end
on ripristina
--global sprit,videocast
--set the video of cast videocast to 0
--set the video of cast videocast to 1
END