home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Punctuation Made Easy
/
Punctuation.iso
/
pc
/
DK.GSP
< prev
next >
Wrap
INI File
|
2002-10-01
|
11KB
|
377 lines
[AutoCreate]
// *** Initialize variables ***
CDNUMBER="gspcd758a"
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 MANUALTEXT graphic
NewGraphic MANUALTEXT,BACKGROUND
MANUALTEXT.Top=35
MANUALTEXT.Left=10
MANUALTEXT.Width=35
MANUALTEXT.Height=13
MANUALTEXT.FrameWidth=35
MANUALTEXT.FrameHeight=13
MANUALTEXT.CurrentFrame=1
MANUALTEXT.Visible=1
MANUALTEXT.Color=16777215
MANUALTEXT.SingleMask=0
MANUALTEXT.SingleHotSpot=0
MANUALTEXT.Transparent=0
MANUALTEXT.Stretch=0
MANUALTEXT.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 MANUAL graphic
NewGraphic MANUAL,MAINWINDOW
MANUAL.Top=8
MANUAL.Left=14
MANUAL.Width=25
MANUAL.Height=26
MANUAL.FrameWidth=25
MANUAL.FrameHeight=26
MANUAL.CurrentFrame=1
MANUAL.Visible=1
MANUAL.Color=16777215
MANUAL.SingleMask=0
MANUAL.SingleHotSpot=0
MANUAL.Transparent=0
MANUAL.Stretch=0
MANUAL.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=MANUAL.Width //Preserve the sprite's width and height
TempHeight=MANUAL.Height // As the next statement may try to change them
MANUAL.LoadFrame 1,"Dk.dat:manual.jpg"
MANUAL.Width=TempWidth //Now restore the sprite's width and height
MANUAL.Height=TempHeight
TempWidth=MANUAL.Width //Preserve the sprite's width and height
TempHeight=MANUAL.Height // As the next statement may try to change them
MANUAL.LoadFrame 2,"Dk.dat:manual2.jpg"
MANUAL.Width=TempWidth //Now restore the sprite's width and height
MANUAL.Height=TempHeight
TempWidth=MANUALTEXT.Width //Preserve the sprite's width and height
TempHeight=MANUALTEXT.Height // As the next statement may try to change them
MANUALTEXT.LoadFrame 1,"Dk.dat:manualtext.jpg"
MANUALTEXT.Width=TempWidth //Now restore the sprite's width and height
MANUALTEXT.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=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:Punc1.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:Punc2.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="Punctuation Made Easy"
APPLICATION1.DirectFromCD=1
APPLICATION1.DirectFromCDFilename="D:\Start.exe"
APPLICATION1.DirectFromCDParameters=""
APPLICATION1.InstallerFilename="D:\Setup.exe"
APPLICATION1.UniqueFilename="Rainbow Fish.lnk"
APPLICATION1.FileToRun="Rainbow Fish.lnk"
APPLICATION1.FileToRunParameters=""
APPLICATION1.CloseLauncherAfterRunning=1
APPLICATION1.UniqueNumber="1"
NewApplication APPLICATION2
APPLICATION2.Description="Manual"
APPLICATION2.DirectFromCD=1
APPLICATION2.DirectFromCDFilename="D:\Manual.exe"
APPLICATION2.DirectFromCDParameters=""
APPLICATION2.InstallerFilename="D:\Setup.exe"
APPLICATION2.UniqueFilename="program.lnk"
APPLICATION2.FileToRun="program.lnk"
APPLICATION2.FileToRunParameters=""
APPLICATION2.CloseLauncherAfterRunning=0
APPLICATION2.UniqueNumber="2"
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_mouseenter]
close.currentframe=2
[close_mouseexit]
close.currentframe=1
[close_click]
closelauncher
[manual_mouseenter]
manual.currentframe=2
[manual_mouseexit]
manual.currentframe=1
[manual_click]
application2.launch
[manualtext_click]
application2.launch