home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Rainbow Fish: The Most Beautiful Fish in the Ocean
/
Rainbow.iso
/
dk.gsp
< prev
next >
Wrap
INI File
|
2002-02-20
|
8KB
|
297 lines
[AutoCreate]
// *** Initialize variables ***
CDNUMBER="gspcd0756b"
LAUNCHERTITLE="Dorling Kindersley..."
TEMPHEIGHT=251
TEMPWIDTH=331
SetTitle LauncherTitle
// *** Prepare windows and graphics ***
//Prepare MAINWINDOW and all it's graphics
NewWindow MAINWINDOW
MAINWINDOW.StayOnTop=0
MAINWINDOW.Top=0
MAINWINDOW.Left=0
MAINWINDOW.Width=640
MAINWINDOW.Height=480
MAINWINDOW.Color=16777215
MAINWINDOW.CloseAfter=0
MAINWINDOW.Enabled=1
//Prepare BACKGROUND graphic
NewGraphic BACKGROUND,MAINWINDOW
BACKGROUND.Top=0
BACKGROUND.Left=0
BACKGROUND.Width=640
BACKGROUND.Height=480
BACKGROUND.FrameWidth=640
BACKGROUND.FrameHeight=480
BACKGROUND.CurrentFrame=1
BACKGROUND.Visible=1
BACKGROUND.Color=16777215
BACKGROUND.SingleMask=0
BACKGROUND.SingleHotSpot=0
BACKGROUND.Transparent=0
BACKGROUND.Stretch=0
BACKGROUND.ClickRepeatTime=0
//Prepare REGISTER graphic
NewGraphic REGISTER,BACKGROUND
REGISTER.Top=315
REGISTER.Left=180
REGISTER.Width=119
REGISTER.Height=157
REGISTER.FrameWidth=119
REGISTER.FrameHeight=157
REGISTER.CurrentFrame=1
REGISTER.Visible=1
REGISTER.Color=16777215
REGISTER.SingleMask=0
REGISTER.SingleHotSpot=0
REGISTER.Transparent=0
REGISTER.Stretch=0
REGISTER.ClickRepeatTime=0
//Prepare CLOSE graphic
NewGraphic CLOSE,MAINWINDOW
CLOSE.Top=10
CLOSE.Left=613
CLOSE.Width=17
CLOSE.Height=14
CLOSE.FrameWidth=17
CLOSE.FrameHeight=14
CLOSE.CurrentFrame=1
CLOSE.Visible=1
CLOSE.Color=16777215
CLOSE.SingleMask=0
CLOSE.SingleHotSpot=0
CLOSE.Transparent=0
CLOSE.Stretch=0
CLOSE.ClickRepeatTime=0
//Prepare PRODUCT graphic
NewGraphic PRODUCT,MAINWINDOW
PRODUCT.Top=20
PRODUCT.Left=155
PRODUCT.Width=331
PRODUCT.Height=251
PRODUCT.FrameWidth=331
PRODUCT.FrameHeight=251
PRODUCT.CurrentFrame=1
PRODUCT.Visible=1
PRODUCT.Color=16777215
PRODUCT.SingleMask=0
PRODUCT.SingleHotSpot=0
PRODUCT.Transparent=0
PRODUCT.Stretch=0
PRODUCT.ClickRepeatTime=0
//Prepare WEB graphic
NewGraphic WEB,MAINWINDOW
WEB.Top=315
WEB.Left=341
WEB.Width=119
WEB.Height=157
WEB.FrameWidth=119
WEB.FrameHeight=157
WEB.CurrentFrame=1
WEB.Visible=1
WEB.Color=16777215
WEB.SingleMask=0
WEB.SingleHotSpot=0
WEB.Transparent=0
WEB.Stretch=0
WEB.ClickRepeatTime=0
//Prepare TEXT graphic
NewGraphic TEXT,MAINWINDOW
TEXT.Top=290
TEXT.Left=262
TEXT.Width=116
TEXT.Height=18
TEXT.FrameWidth=116
TEXT.FrameHeight=18
TEXT.CurrentFrame=1
TEXT.Visible=1
TEXT.Color=16777215
TEXT.SingleMask=0
TEXT.SingleHotSpot=0
TEXT.Transparent=0
TEXT.Stretch=0
TEXT.ClickRepeatTime=0
//Prepare CONNECT graphic
NewGraphic CONNECT,MAINWINDOW
CONNECT.Top=25
CONNECT.Left=102
CONNECT.Width=436
CONNECT.Height=298
CONNECT.FrameWidth=436
CONNECT.FrameHeight=298
CONNECT.CurrentFrame=1
CONNECT.Visible=0
CONNECT.Color=16777215
CONNECT.SingleMask=0
CONNECT.SingleHotSpot=0
CONNECT.Transparent=0
CONNECT.Stretch=0
CONNECT.ClickRepeatTime=0
//Prepare SPLASH and all it's graphics
NewWindow SPLASH
SPLASH.StayOnTop=0
SPLASH.Top=0
SPLASH.Left=0
SPLASH.Width=640
SPLASH.Height=480
SPLASH.Color=16777215
SPLASH.CloseAfter=2000
SPLASH.Enabled=0
//Prepare GRAPHIC1 graphic
NewGraphic GRAPHIC1,SPLASH
GRAPHIC1.Top=0
GRAPHIC1.Left=0
GRAPHIC1.Width=640
GRAPHIC1.Height=480
GRAPHIC1.FrameWidth=640
GRAPHIC1.FrameHeight=480
GRAPHIC1.CurrentFrame=1
GRAPHIC1.Visible=1
GRAPHIC1.Color=16777215
GRAPHIC1.SingleMask=0
GRAPHIC1.SingleHotSpot=0
GRAPHIC1.Transparent=0
GRAPHIC1.Stretch=0
GRAPHIC1.ClickRepeatTime=0
// *** Load up some images and stuff ***
TempWidth=TEXT.Width //Preserve the sprite's width and height
TempHeight=TEXT.Height // As the next statement may try to change them
TEXT.LoadFrame 1,"dk.dat:text.jpg"
TEXT.Width=TempWidth //Now restore the sprite's width and height
TEXT.Height=TempHeight
TempWidth=GRAPHIC1.Width //Preserve the sprite's width and height
TempHeight=GRAPHIC1.Height // As the next statement may try to change them
GRAPHIC1.LoadFrame 1,"dk.dat:splash.jpg"
GRAPHIC1.Width=TempWidth //Now restore the sprite's width and height
GRAPHIC1.Height=TempHeight
TempWidth=CLOSE.Width //Preserve the sprite's width and height
TempHeight=CLOSE.Height // As the next statement may try to change them
CLOSE.LoadFrame 1,"dk.dat:close.jpg"
CLOSE.Width=TempWidth //Now restore the sprite's width and height
CLOSE.Height=TempHeight
TempWidth=BACKGROUND.Width //Preserve the sprite's width and height
TempHeight=BACKGROUND.Height // As the next statement may try to change them
BACKGROUND.LoadFrame 1,"dk.dat:background.jpg"
BACKGROUND.Width=TempWidth //Now restore the sprite's width and height
BACKGROUND.Height=TempHeight
TempWidth=WEB.Width //Preserve the sprite's width and height
TempHeight=WEB.Height // As the next statement may try to change them
WEB.LoadFrame 1,"dk.dat:web.jpg"
WEB.Width=TempWidth //Now restore the sprite's width and height
WEB.Height=TempHeight
TempWidth=WEB.Width //Preserve the sprite's width and height
TempHeight=WEB.Height // As the next statement may try to change them
WEB.LoadFrame 2,"dk.dat:webover.jpg"
WEB.Width=TempWidth //Now restore the sprite's width and height
WEB.Height=TempHeight
TempWidth=CONNECT.Width //Preserve the sprite's width and height
TempHeight=CONNECT.Height // As the next statement may try to change them
CONNECT.LoadFrame 1,"dk.dat:net.jpg"
CONNECT.Width=TempWidth //Now restore the sprite's width and height
CONNECT.Height=TempHeight
TempWidth=REGISTER.Width //Preserve the sprite's width and height
TempHeight=REGISTER.Height // As the next statement may try to change them
REGISTER.LoadFrame 1,"dk.dat:register.jpg"
REGISTER.Width=TempWidth //Now restore the sprite's width and height
REGISTER.Height=TempHeight
TempWidth=REGISTER.Width //Preserve the sprite's width and height
TempHeight=REGISTER.Height // As the next statement may try to change them
REGISTER.LoadFrame 2,"dk.dat:registerover.jpg"
REGISTER.Width=TempWidth //Now restore the sprite's width and height
REGISTER.Height=TempHeight
TempWidth=PRODUCT.Width //Preserve the sprite's width and height
TempHeight=PRODUCT.Height // As the next statement may try to change them
PRODUCT.LoadFrame 1,"dk.dat:product.jpg"
PRODUCT.Width=TempWidth //Now restore the sprite's width and height
PRODUCT.Height=TempHeight
TempWidth=PRODUCT.Width //Preserve the sprite's width and height
TempHeight=PRODUCT.Height // As the next statement may try to change them
PRODUCT.LoadFrame 2,"dk.dat:productselect.jpg"
PRODUCT.Width=TempWidth //Now restore the sprite's width and height
PRODUCT.Height=TempHeight
// *** Hotspots, animations, scroll to lists and applications defined here ***
NewApplication APPLICATION1
APPLICATION1.Description="Rainbow Fish"
APPLICATION1.DirectFromCD=0
APPLICATION1.DirectFromCDFilename="D:\ProgramName.exe"
APPLICATION1.DirectFromCDParameters=""
APPLICATION1.InstallerFilename="D:\install.exe"
APPLICATION1.UniqueFilename="Rainbow Fish.lnk"
APPLICATION1.FileToRun="Rainbow Fish.lnk"
APPLICATION1.FileToRunParameters=""
APPLICATION1.CloseLauncherAfterRunning=1
APPLICATION1.UniqueNumber="1"
NewHotspot HOTSPOT2,2199551,WEB
[Start]
SPLASH.Center
SPLASH.Visible=1
MAINWINDOW.Center
[splash_hide]
mainwindow.visible=1
[MAINWINDOW_SHOW]
needclickout=0
[background_click]
connect.visible=0
product.visible=1
text.visible=1
needclickout=0
[web_mouseenter]
IF needclickout=0 THEN
web.currentframe=2
ENDIF
[web_mouseexit]
web.currentframe=1
[web_click]
IF needclickout=0 THEN
web.currentframe=1
connect.visible=1
product.visible=0
text.visible=0
needclickout=1
ENDIF
[product_mouseenter]
product.currentframe=2
[product_mouseexit]
product.currentframe=1
[product_click]
application1.launch
[text_click]
application1.launch
[register_mouseenter]
IF needclickout=0 THEN
register.currentframe=2
ENDIF
[register_mouseexit]
register.currentframe=1
[register_click]
openfile "registration.htm"
product.visible=1
text.visible=1
ENDIF
[connect_click]
openfile "http://www.gsp.cc"
connect.visible=0
product.visible=1
text.visible=1
needclickout=0
[close_click]
closelauncher