home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atlas of the Solar System
/
NewAtlasOfTheSolarSystem.iso
/
dk.gsp
< prev
next >
Wrap
INI File
|
2004-07-29
|
13KB
|
461 lines
[AutoCreate]
// *** Initialize variables ***
CDNUMBER="gspcd1058a"
LAUNCHERID="New Atlas of the Solar System"
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=610
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 NETCONNECT graphic
NewGraphic NETCONNECT,CONNECT
NETCONNECT.Top=187
NETCONNECT.Left=187
NETCONNECT.Width=62
NETCONNECT.Height=71
NETCONNECT.FrameWidth=62
NETCONNECT.FrameHeight=71
NETCONNECT.CurrentFrame=1
NETCONNECT.Visible=1
NETCONNECT.Color=16777215
NETCONNECT.SingleMask=0
NETCONNECT.SingleHotSpot=0
NETCONNECT.Transparent=0
NETCONNECT.Stretch=0
NETCONNECT.ClickRepeatTime=0
//Prepare REGCONNECT graphic
NewGraphic REGCONNECT,MAINWINDOW
REGCONNECT.Top=25
REGCONNECT.Left=102
REGCONNECT.Width=436
REGCONNECT.Height=298
REGCONNECT.FrameWidth=436
REGCONNECT.FrameHeight=298
REGCONNECT.CurrentFrame=1
REGCONNECT.Visible=0
REGCONNECT.Color=16777215
REGCONNECT.SingleMask=0
REGCONNECT.SingleHotSpot=0
REGCONNECT.Transparent=0
REGCONNECT.Stretch=0
REGCONNECT.ClickRepeatTime=0
//Prepare REGONLINE graphic
NewGraphic REGONLINE,REGCONNECT
REGONLINE.Top=50
REGONLINE.Left=167
REGONLINE.Width=102
REGONLINE.Height=62
REGONLINE.FrameWidth=102
REGONLINE.FrameHeight=62
REGONLINE.CurrentFrame=1
REGONLINE.Visible=0
REGONLINE.Color=16777215
REGONLINE.SingleMask=0
REGONLINE.SingleHotSpot=0
REGONLINE.Transparent=0
REGONLINE.Stretch=0
REGONLINE.ClickRepeatTime=0
//Prepare REGPOST graphic
NewGraphic REGPOST,REGCONNECT
REGPOST.Top=175
REGPOST.Left=165
REGPOST.Width=106
REGPOST.Height=97
REGPOST.FrameWidth=106
REGPOST.FrameHeight=97
REGPOST.CurrentFrame=1
REGPOST.Visible=0
REGPOST.Color=16777215
REGPOST.SingleMask=0
REGPOST.SingleHotSpot=0
REGPOST.Transparent=0
REGPOST.Stretch=0
REGPOST.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=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=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=CLOSE.Width //Preserve the sprite's width and height
TempHeight=CLOSE.Height // As the next statement may try to change them
CLOSE.LoadFrame 2,"dk.dat:close2.jpg"
CLOSE.Width=TempWidth //Now restore the sprite's width and height
CLOSE.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=NETCONNECT.Width //Preserve the sprite's width and height
TempHeight=NETCONNECT.Height // As the next statement may try to change them
NETCONNECT.LoadFrame 1,"dk.dat:internet.jpg"
NETCONNECT.Width=TempWidth //Now restore the sprite's width and height
NETCONNECT.Height=TempHeight
TempWidth=NETCONNECT.Width //Preserve the sprite's width and height
TempHeight=NETCONNECT.Height // As the next statement may try to change them
NETCONNECT.LoadFrame 2,"dk.dat:internetover.jpg"
NETCONNECT.Width=TempWidth //Now restore the sprite's width and height
NETCONNECT.Height=TempHeight
TempWidth=REGCONNECT.Width //Preserve the sprite's width and height
TempHeight=REGCONNECT.Height // As the next statement may try to change them
REGCONNECT.LoadFrame 1,"dk.dat:connect.jpg"
REGCONNECT.Width=TempWidth //Now restore the sprite's width and height
REGCONNECT.Height=TempHeight
TempWidth=REGONLINE.Width //Preserve the sprite's width and height
TempHeight=REGONLINE.Height // As the next statement may try to change them
REGONLINE.LoadFrame 1,"dk.dat:onlinereg.jpg"
REGONLINE.Width=TempWidth //Now restore the sprite's width and height
REGONLINE.Height=TempHeight
TempWidth=REGONLINE.Width //Preserve the sprite's width and height
TempHeight=REGONLINE.Height // As the next statement may try to change them
REGONLINE.LoadFrame 2,"dk.dat:onlineregover.jpg"
REGONLINE.Width=TempWidth //Now restore the sprite's width and height
REGONLINE.Height=TempHeight
TempWidth=REGPOST.Width //Preserve the sprite's width and height
TempHeight=REGPOST.Height // As the next statement may try to change them
REGPOST.LoadFrame 1,"dk.dat:registerpost.jpg"
REGPOST.Width=TempWidth //Now restore the sprite's width and height
REGPOST.Height=TempHeight
TempWidth=REGPOST.Width //Preserve the sprite's width and height
TempHeight=REGPOST.Height // As the next statement may try to change them
REGPOST.LoadFrame 2,"dk.dat:registerpostover.jpg"
REGPOST.Width=TempWidth //Now restore the sprite's width and height
REGPOST.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=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:producttemplate.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:productselecttemplate.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="New Atlas of the Solar System"
APPLICATION1.DirectFromCD=1
APPLICATION1.DirectFromCDFilename="D:\Autorun.exe"
APPLICATION1.DirectFromCDParameters=""
APPLICATION1.InstallerFilename="D:\SetupDat\Install.exe"
APPLICATION1.UniqueFilename=""
APPLICATION1.FileToRun="Start Menu:\Programs\DK Multimedia\New Atlas of the Solar System.lnk"
APPLICATION1.FileToRunParameters=""
APPLICATION1.CloseLauncherAfterRunning=1
APPLICATION1.UniqueNumber="1"
APPLICATION1.CDID=""
APPLICATION1.InsertCDMessage=""
NewHotspot HOTSPOT2,2199551,WEB
[Start]
SPLASH.Center
SPLASH.Visible=1
MAINWINDOW.Center
[splash_hide]
mainwindow.visible=1
[MAINWINDOW_SHOW]
needclickout=0
[background_click]
regconnect.visible=0
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
netconnect.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]
IF needclickout=0 THEN
register.currentframe=1
regconnect.visible=1
regonline.visible=1
regpost.visible=1
product.visible=0
text.visible=0
needclickout=1
ENDIF
[regonline_mouseenter]
regonline.currentframe=2
[regonline_mouseexit]
regonline.currentframe=1
[regonline_click]
openfile "http://www.gsp.cc/register"
regconnect.visible=0
regonline.visible=0
regpost.visible=0
product.visible=1
text.visible=1
needclickout=0
[regpost_mouseenter]
regpost.currentframe=2
[regpost_mouseexit]
regpost.currentframe=1
[regpost_click]
openfile "registration.htm"
regconnect.visible=0
regonline.visible=0
regpost.visible=0
product.visible=1
text.visible=1
needclickout=0
[regconnect_click]
needclickout=1
[connect_click]
needclickout=1
[netconnect_mouseenter]
netconnect.currentframe=2
[netconnect_mouseexit]
netconnect.currentframe=1
[netconnect_click]
openfile "https://www.gsp.cc/perl/product/product.pl?_STATUS=GET_BRAND_PAGE&PRODUCT_BRAND_ID=2"
connect.visible=0
netconnect.visible=0
product.visible=1
text.visible=1
needclickout=0
[close_mouseenter]
close.currentframe=2
[close_mouseexit]
close.currentframe=1
[close_click]
closelauncher