home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inventor Labs: Technology
/
INVENTORLABS_TECHNOLOGY.BIN
/
pc
/
files
/
gallery.dir
/
00002_Script_2
< prev
next >
Wrap
Text File
|
1997-05-26
|
1KB
|
46 lines
--h: General Gallery
global gUtilityObj, gInventorIndexNum, gFixPalletObj, gInterfaceMgrObj, gQTVRobj, gLocal
global gAvailbleInv
---------------------------------------------------------------------------------------------------------
on InitGallery
--clearglobals
set gInventorIndexNum= 4
set gLocal = FALSE
InitProgram
set gInventorIndexNum= 4
mSetInventor ( gInterfaceMgrObj, #GALLERY )
if voidp ( gAvailbleInv ) then set gAvailbleInv = #ALL
end InitGallery
---------------------------------------------------------------------------------------------------------
on Quitcontrols
set clickedSprite = the clickon
set origcast = the castnum of sprite clickedSprite
set the castnum of sprite clickedSprite = origcast + 1
repeat while the mousedown
set HiliteCast = origcast + rollover( clickedSprite )
set the castnum of sprite clickedSprite = HiliteCast
updatestage
end repeat
if HiliteCast = the number of cast "GPLYES.PIC" then
mClearMyPuppets (gInterfaceMgrObj)
go frame "Credits.dir"
else if HiliteCast = the number of cast "GPLNO.PIC" then
go "QTVR frame"
mChangeMode (gModeManager, #QTVR)
end if
end Quitcontrols
---------------------------------------------------------------------------------------------------------