home *** CD-ROM | disk | FTP | other *** search
/ 3D World Atlas (GSP) / GSPCD1046A.iso / dk.gsp < prev    next >
INI File  |  2002-11-19  |  15KB  |  528 lines

  1. [AutoCreate]
  2. // *** Initialize variables ***
  3. CDNUMBER="gspcd756a"
  4. LAUNCHERTITLE="Dorling Kindersley..."
  5. TEMPHEIGHT=13
  6. TEMPWIDTH=35
  7. SetTitle LauncherTitle
  8. // *** Prepare windows and graphics ***
  9. //Prepare MAINWINDOW and all it's graphics
  10. NewWindow MAINWINDOW
  11. MAINWINDOW.StayOnTop=0
  12. MAINWINDOW.Top=0
  13. MAINWINDOW.Left=0
  14. MAINWINDOW.Width=640
  15. MAINWINDOW.Height=480
  16. MAINWINDOW.Color=16777215
  17. MAINWINDOW.CloseAfter=0
  18. MAINWINDOW.Enabled=1
  19. //Prepare BACKGROUND graphic
  20. NewGraphic BACKGROUND,MAINWINDOW
  21. BACKGROUND.Top=0
  22. BACKGROUND.Left=0
  23. BACKGROUND.Width=640
  24. BACKGROUND.Height=480
  25. BACKGROUND.FrameWidth=640
  26. BACKGROUND.FrameHeight=480
  27. BACKGROUND.CurrentFrame=1
  28. BACKGROUND.Visible=1
  29. BACKGROUND.Color=16777215
  30. BACKGROUND.SingleMask=0
  31. BACKGROUND.SingleHotSpot=0
  32. BACKGROUND.Transparent=0
  33. BACKGROUND.Stretch=0
  34. BACKGROUND.ClickRepeatTime=0
  35. //Prepare REGISTER graphic
  36. NewGraphic REGISTER,BACKGROUND
  37. REGISTER.Top=315
  38. REGISTER.Left=180
  39. REGISTER.Width=119
  40. REGISTER.Height=157
  41. REGISTER.FrameWidth=119
  42. REGISTER.FrameHeight=157
  43. REGISTER.CurrentFrame=1
  44. REGISTER.Visible=1
  45. REGISTER.Color=16777215
  46. REGISTER.SingleMask=0
  47. REGISTER.SingleHotSpot=0
  48. REGISTER.Transparent=0
  49. REGISTER.Stretch=0
  50. REGISTER.ClickRepeatTime=0
  51. //Prepare CLOSE graphic
  52. NewGraphic CLOSE,MAINWINDOW
  53. CLOSE.Top=10
  54. CLOSE.Left=610
  55. CLOSE.Width=17
  56. CLOSE.Height=14
  57. CLOSE.FrameWidth=17
  58. CLOSE.FrameHeight=14
  59. CLOSE.CurrentFrame=1
  60. CLOSE.Visible=1
  61. CLOSE.Color=16777215
  62. CLOSE.SingleMask=0
  63. CLOSE.SingleHotSpot=0
  64. CLOSE.Transparent=0
  65. CLOSE.Stretch=0
  66. CLOSE.ClickRepeatTime=0
  67. //Prepare PRODUCT graphic
  68. NewGraphic PRODUCT,MAINWINDOW
  69. PRODUCT.Top=20
  70. PRODUCT.Left=155
  71. PRODUCT.Width=331
  72. PRODUCT.Height=251
  73. PRODUCT.FrameWidth=331
  74. PRODUCT.FrameHeight=251
  75. PRODUCT.CurrentFrame=1
  76. PRODUCT.Visible=1
  77. PRODUCT.Color=16777215
  78. PRODUCT.SingleMask=0
  79. PRODUCT.SingleHotSpot=0
  80. PRODUCT.Transparent=0
  81. PRODUCT.Stretch=0
  82. PRODUCT.ClickRepeatTime=0
  83. //Prepare WEB graphic
  84. NewGraphic WEB,MAINWINDOW
  85. WEB.Top=315
  86. WEB.Left=341
  87. WEB.Width=119
  88. WEB.Height=157
  89. WEB.FrameWidth=119
  90. WEB.FrameHeight=157
  91. WEB.CurrentFrame=1
  92. WEB.Visible=1
  93. WEB.Color=16777215
  94. WEB.SingleMask=0
  95. WEB.SingleHotSpot=0
  96. WEB.Transparent=0
  97. WEB.Stretch=0
  98. WEB.ClickRepeatTime=0
  99. //Prepare TEXT graphic
  100. NewGraphic TEXT,MAINWINDOW
  101. TEXT.Top=290
  102. TEXT.Left=262
  103. TEXT.Width=116
  104. TEXT.Height=18
  105. TEXT.FrameWidth=116
  106. TEXT.FrameHeight=18
  107. TEXT.CurrentFrame=1
  108. TEXT.Visible=1
  109. TEXT.Color=16777215
  110. TEXT.SingleMask=0
  111. TEXT.SingleHotSpot=0
  112. TEXT.Transparent=0
  113. TEXT.Stretch=0
  114. TEXT.ClickRepeatTime=0
  115. //Prepare CONNECT graphic
  116. NewGraphic CONNECT,MAINWINDOW
  117. CONNECT.Top=25
  118. CONNECT.Left=102
  119. CONNECT.Width=436
  120. CONNECT.Height=298
  121. CONNECT.FrameWidth=436
  122. CONNECT.FrameHeight=298
  123. CONNECT.CurrentFrame=1
  124. CONNECT.Visible=0
  125. CONNECT.Color=16777215
  126. CONNECT.SingleMask=0
  127. CONNECT.SingleHotSpot=0
  128. CONNECT.Transparent=0
  129. CONNECT.Stretch=0
  130. CONNECT.ClickRepeatTime=0
  131. //Prepare NETCONNECT graphic
  132. NewGraphic NETCONNECT,CONNECT
  133. NETCONNECT.Top=187
  134. NETCONNECT.Left=187
  135. NETCONNECT.Width=62
  136. NETCONNECT.Height=71
  137. NETCONNECT.FrameWidth=62
  138. NETCONNECT.FrameHeight=71
  139. NETCONNECT.CurrentFrame=1
  140. NETCONNECT.Visible=1
  141. NETCONNECT.Color=16777215
  142. NETCONNECT.SingleMask=0
  143. NETCONNECT.SingleHotSpot=0
  144. NETCONNECT.Transparent=0
  145. NETCONNECT.Stretch=0
  146. NETCONNECT.ClickRepeatTime=0
  147. //Prepare REGCONNECT graphic
  148. NewGraphic REGCONNECT,MAINWINDOW
  149. REGCONNECT.Top=25
  150. REGCONNECT.Left=102
  151. REGCONNECT.Width=436
  152. REGCONNECT.Height=298
  153. REGCONNECT.FrameWidth=436
  154. REGCONNECT.FrameHeight=298
  155. REGCONNECT.CurrentFrame=1
  156. REGCONNECT.Visible=0
  157. REGCONNECT.Color=16777215
  158. REGCONNECT.SingleMask=0
  159. REGCONNECT.SingleHotSpot=0
  160. REGCONNECT.Transparent=0
  161. REGCONNECT.Stretch=0
  162. REGCONNECT.ClickRepeatTime=0
  163. //Prepare REGONLINE graphic
  164. NewGraphic REGONLINE,REGCONNECT
  165. REGONLINE.Top=50
  166. REGONLINE.Left=167
  167. REGONLINE.Width=102
  168. REGONLINE.Height=62
  169. REGONLINE.FrameWidth=102
  170. REGONLINE.FrameHeight=62
  171. REGONLINE.CurrentFrame=1
  172. REGONLINE.Visible=0
  173. REGONLINE.Color=16777215
  174. REGONLINE.SingleMask=0
  175. REGONLINE.SingleHotSpot=0
  176. REGONLINE.Transparent=0
  177. REGONLINE.Stretch=0
  178. REGONLINE.ClickRepeatTime=0
  179. //Prepare REGPOST graphic
  180. NewGraphic REGPOST,REGCONNECT
  181. REGPOST.Top=175
  182. REGPOST.Left=165
  183. REGPOST.Width=106
  184. REGPOST.Height=97
  185. REGPOST.FrameWidth=106
  186. REGPOST.FrameHeight=97
  187. REGPOST.CurrentFrame=1
  188. REGPOST.Visible=0
  189. REGPOST.Color=16777215
  190. REGPOST.SingleMask=0
  191. REGPOST.SingleHotSpot=0
  192. REGPOST.Transparent=0
  193. REGPOST.Stretch=0
  194. REGPOST.ClickRepeatTime=0
  195. //Prepare MANUAL graphic
  196. NewGraphic MANUAL,MAINWINDOW
  197. MANUAL.Top=8
  198. MANUAL.Left=14
  199. MANUAL.Width=25
  200. MANUAL.Height=26
  201. MANUAL.FrameWidth=25
  202. MANUAL.FrameHeight=26
  203. MANUAL.CurrentFrame=1
  204. MANUAL.Visible=1
  205. MANUAL.Color=16777215
  206. MANUAL.SingleMask=0
  207. MANUAL.SingleHotSpot=0
  208. MANUAL.Transparent=0
  209. MANUAL.Stretch=0
  210. MANUAL.ClickRepeatTime=0
  211. //Prepare MANUALTEXT graphic
  212. NewGraphic MANUALTEXT,MAINWINDOW
  213. MANUALTEXT.Top=35
  214. MANUALTEXT.Left=10
  215. MANUALTEXT.Width=35
  216. MANUALTEXT.Height=13
  217. MANUALTEXT.FrameWidth=35
  218. MANUALTEXT.FrameHeight=13
  219. MANUALTEXT.CurrentFrame=1
  220. MANUALTEXT.Visible=1
  221. MANUALTEXT.Color=16777215
  222. MANUALTEXT.SingleMask=0
  223. MANUALTEXT.SingleHotSpot=0
  224. MANUALTEXT.Transparent=0
  225. MANUALTEXT.Stretch=0
  226. MANUALTEXT.ClickRepeatTime=0
  227. //Prepare SPLASH and all it's graphics
  228. NewWindow SPLASH
  229. SPLASH.StayOnTop=0
  230. SPLASH.Top=0
  231. SPLASH.Left=0
  232. SPLASH.Width=640
  233. SPLASH.Height=480
  234. SPLASH.Color=16777215
  235. SPLASH.CloseAfter=2000
  236. SPLASH.Enabled=0
  237. //Prepare GRAPHIC1 graphic
  238. NewGraphic GRAPHIC1,SPLASH
  239. GRAPHIC1.Top=0
  240. GRAPHIC1.Left=0
  241. GRAPHIC1.Width=640
  242. GRAPHIC1.Height=480
  243. GRAPHIC1.FrameWidth=640
  244. GRAPHIC1.FrameHeight=480
  245. GRAPHIC1.CurrentFrame=1
  246. GRAPHIC1.Visible=1
  247. GRAPHIC1.Color=16777215
  248. GRAPHIC1.SingleMask=0
  249. GRAPHIC1.SingleHotSpot=0
  250. GRAPHIC1.Transparent=0
  251. GRAPHIC1.Stretch=0
  252. GRAPHIC1.ClickRepeatTime=0
  253. // *** Load up some images and stuff ***
  254. TempWidth=TEXT.Width //Preserve the sprite's width and height
  255. TempHeight=TEXT.Height // As the next statement may try to change them
  256. TEXT.LoadFrame 1,"dk.dat:text.jpg"
  257. TEXT.Width=TempWidth //Now restore the sprite's width and height
  258. TEXT.Height=TempHeight
  259. TempWidth=GRAPHIC1.Width //Preserve the sprite's width and height
  260. TempHeight=GRAPHIC1.Height // As the next statement may try to change them
  261. GRAPHIC1.LoadFrame 1,"dk.dat:splash.jpg"
  262. GRAPHIC1.Width=TempWidth //Now restore the sprite's width and height
  263. GRAPHIC1.Height=TempHeight
  264. TempWidth=CLOSE.Width //Preserve the sprite's width and height
  265. TempHeight=CLOSE.Height // As the next statement may try to change them
  266. CLOSE.LoadFrame 1,"dk.dat:close.jpg"
  267. CLOSE.Width=TempWidth //Now restore the sprite's width and height
  268. CLOSE.Height=TempHeight
  269. TempWidth=BACKGROUND.Width //Preserve the sprite's width and height
  270. TempHeight=BACKGROUND.Height // As the next statement may try to change them
  271. BACKGROUND.LoadFrame 1,"dk.dat:background.jpg"
  272. BACKGROUND.Width=TempWidth //Now restore the sprite's width and height
  273. BACKGROUND.Height=TempHeight
  274. TempWidth=WEB.Width //Preserve the sprite's width and height
  275. TempHeight=WEB.Height // As the next statement may try to change them
  276. WEB.LoadFrame 1,"dk.dat:web.jpg"
  277. WEB.Width=TempWidth //Now restore the sprite's width and height
  278. WEB.Height=TempHeight
  279. TempWidth=WEB.Width //Preserve the sprite's width and height
  280. TempHeight=WEB.Height // As the next statement may try to change them
  281. WEB.LoadFrame 2,"dk.dat:webover.jpg"
  282. WEB.Width=TempWidth //Now restore the sprite's width and height
  283. WEB.Height=TempHeight
  284. TempWidth=REGISTER.Width //Preserve the sprite's width and height
  285. TempHeight=REGISTER.Height // As the next statement may try to change them
  286. REGISTER.LoadFrame 1,"dk.dat:register.jpg"
  287. REGISTER.Width=TempWidth //Now restore the sprite's width and height
  288. REGISTER.Height=TempHeight
  289. TempWidth=REGISTER.Width //Preserve the sprite's width and height
  290. TempHeight=REGISTER.Height // As the next statement may try to change them
  291. REGISTER.LoadFrame 2,"dk.dat:registerover.jpg"
  292. REGISTER.Width=TempWidth //Now restore the sprite's width and height
  293. REGISTER.Height=TempHeight
  294. TempWidth=CLOSE.Width //Preserve the sprite's width and height
  295. TempHeight=CLOSE.Height // As the next statement may try to change them
  296. CLOSE.LoadFrame 2,"dk.dat:close2.jpg"
  297. CLOSE.Width=TempWidth //Now restore the sprite's width and height
  298. CLOSE.Height=TempHeight
  299. TempWidth=CONNECT.Width //Preserve the sprite's width and height
  300. TempHeight=CONNECT.Height // As the next statement may try to change them
  301. CONNECT.LoadFrame 1,"dk.dat:net.jpg"
  302. CONNECT.Width=TempWidth //Now restore the sprite's width and height
  303. CONNECT.Height=TempHeight
  304. TempWidth=NETCONNECT.Width //Preserve the sprite's width and height
  305. TempHeight=NETCONNECT.Height // As the next statement may try to change them
  306. NETCONNECT.LoadFrame 1,"dk.dat:internet.jpg"
  307. NETCONNECT.Width=TempWidth //Now restore the sprite's width and height
  308. NETCONNECT.Height=TempHeight
  309. TempWidth=NETCONNECT.Width //Preserve the sprite's width and height
  310. TempHeight=NETCONNECT.Height // As the next statement may try to change them
  311. NETCONNECT.LoadFrame 2,"dk.dat:internetover.jpg"
  312. NETCONNECT.Width=TempWidth //Now restore the sprite's width and height
  313. NETCONNECT.Height=TempHeight
  314. TempWidth=REGCONNECT.Width //Preserve the sprite's width and height
  315. TempHeight=REGCONNECT.Height // As the next statement may try to change them
  316. REGCONNECT.LoadFrame 1,"dk.dat:connect.jpg"
  317. REGCONNECT.Width=TempWidth //Now restore the sprite's width and height
  318. REGCONNECT.Height=TempHeight
  319. TempWidth=REGONLINE.Width //Preserve the sprite's width and height
  320. TempHeight=REGONLINE.Height // As the next statement may try to change them
  321. REGONLINE.LoadFrame 1,"dk.dat:onlinereg.jpg"
  322. REGONLINE.Width=TempWidth //Now restore the sprite's width and height
  323. REGONLINE.Height=TempHeight
  324. TempWidth=REGONLINE.Width //Preserve the sprite's width and height
  325. TempHeight=REGONLINE.Height // As the next statement may try to change them
  326. REGONLINE.LoadFrame 2,"dk.dat:onlineregover.jpg"
  327. REGONLINE.Width=TempWidth //Now restore the sprite's width and height
  328. REGONLINE.Height=TempHeight
  329. TempWidth=REGPOST.Width //Preserve the sprite's width and height
  330. TempHeight=REGPOST.Height // As the next statement may try to change them
  331. REGPOST.LoadFrame 1,"dk.dat:registerpost.jpg"
  332. REGPOST.Width=TempWidth //Now restore the sprite's width and height
  333. REGPOST.Height=TempHeight
  334. TempWidth=REGPOST.Width //Preserve the sprite's width and height
  335. TempHeight=REGPOST.Height // As the next statement may try to change them
  336. REGPOST.LoadFrame 2,"dk.dat:registerpostover.jpg"
  337. REGPOST.Width=TempWidth //Now restore the sprite's width and height
  338. REGPOST.Height=TempHeight
  339. TempWidth=PRODUCT.Width //Preserve the sprite's width and height
  340. TempHeight=PRODUCT.Height // As the next statement may try to change them
  341. PRODUCT.LoadFrame 1,"dk.dat:producttemplate.jpg"
  342. PRODUCT.Width=TempWidth //Now restore the sprite's width and height
  343. PRODUCT.Height=TempHeight
  344. TempWidth=PRODUCT.Width //Preserve the sprite's width and height
  345. TempHeight=PRODUCT.Height // As the next statement may try to change them
  346. PRODUCT.LoadFrame 2,"dk.dat:productselecttemplate.jpg"
  347. PRODUCT.Width=TempWidth //Now restore the sprite's width and height
  348. PRODUCT.Height=TempHeight
  349. TempWidth=MANUAL.Width //Preserve the sprite's width and height
  350. TempHeight=MANUAL.Height // As the next statement may try to change them
  351. MANUAL.LoadFrame 1,"dk.dat:manual.jpg"
  352. MANUAL.Width=TempWidth //Now restore the sprite's width and height
  353. MANUAL.Height=TempHeight
  354. TempWidth=MANUAL.Width //Preserve the sprite's width and height
  355. TempHeight=MANUAL.Height // As the next statement may try to change them
  356. MANUAL.LoadFrame 2,"dk.dat:manual2.jpg"
  357. MANUAL.Width=TempWidth //Now restore the sprite's width and height
  358. MANUAL.Height=TempHeight
  359. TempWidth=MANUALTEXT.Width //Preserve the sprite's width and height
  360. TempHeight=MANUALTEXT.Height // As the next statement may try to change them
  361. MANUALTEXT.LoadFrame 1,"dk.dat:manualtext.jpg"
  362. MANUALTEXT.Width=TempWidth //Now restore the sprite's width and height
  363. MANUALTEXT.Height=TempHeight
  364. // *** Hotspots, animations, scroll to lists and applications defined here ***
  365. NewApplication APPLICATION1
  366. APPLICATION1.Description="3D World Atlas"
  367. APPLICATION1.DirectFromCD=0
  368. APPLICATION1.DirectFromCDFilename="D:\ProgramName.exe"
  369. APPLICATION1.DirectFromCDParameters=""
  370. APPLICATION1.InstallerFilename="D:\Autorun.exe"
  371. APPLICATION1.UniqueFilename="3D World Atlas.lnk"
  372. APPLICATION1.FileToRun="3D World Atlas.lnk"
  373. APPLICATION1.FileToRunParameters=""
  374. APPLICATION1.CloseLauncherAfterRunning=1
  375. APPLICATION1.UniqueNumber="1"
  376. NewApplication APPLICATION2
  377. APPLICATION2.Description="Manual"
  378. APPLICATION2.DirectFromCD=1
  379. APPLICATION2.DirectFromCDFilename="D:\Manual.pdf"
  380. APPLICATION2.DirectFromCDParameters=""
  381. APPLICATION2.InstallerFilename="D:\Setup.exe"
  382. APPLICATION2.UniqueFilename="program.lnk"
  383. APPLICATION2.FileToRun="program.lnk"
  384. APPLICATION2.FileToRunParameters=""
  385. APPLICATION2.CloseLauncherAfterRunning=0
  386. APPLICATION2.UniqueNumber="2"
  387. NewHotspot HOTSPOT2,2199551,WEB
  388.  
  389. [Start]
  390. SPLASH.Center
  391. SPLASH.Visible=1
  392. MAINWINDOW.Center
  393.  
  394. [splash_hide]
  395. mainwindow.visible=1
  396.  
  397. [MAINWINDOW_SHOW]
  398. needclickout=0
  399.  
  400. [background_click]
  401. regconnect.visible=0
  402. connect.visible=0
  403. product.visible=1
  404. text.visible=1
  405. needclickout=0
  406.  
  407. [web_mouseenter]
  408. IF needclickout=0 THEN
  409. web.currentframe=2
  410. ENDIF
  411.  
  412. [web_mouseexit]
  413. web.currentframe=1
  414.  
  415. [web_click]
  416. IF needclickout=0 THEN
  417. web.currentframe=1
  418. connect.visible=1
  419. netconnect.visible=1
  420. product.visible=0
  421. text.visible=0
  422. needclickout=1
  423. ENDIF
  424.  
  425. [product_mouseenter]
  426. product.currentframe=2
  427.  
  428. [product_mouseexit]
  429. product.currentframe=1
  430.  
  431. [product_click]
  432. application1.launch
  433. closelauncher
  434.  
  435. [text_click]
  436. application1.launch
  437. closelauncher
  438.  
  439. [register_mouseenter]
  440. IF needclickout=0 THEN 
  441. register.currentframe=2 
  442. ENDIF
  443.  
  444. [register_mouseexit]
  445. register.currentframe=1
  446.  
  447. [register_click]
  448. IF needclickout=0 THEN
  449. register.currentframe=1
  450. regconnect.visible=1
  451. regonline.visible=1
  452. regpost.visible=1
  453. product.visible=0
  454. text.visible=0
  455. needclickout=1
  456. ENDIF
  457.  
  458. [regonline_mouseenter]
  459. regonline.currentframe=2
  460.  
  461. [regonline_mouseexit]
  462. regonline.currentframe=1
  463.  
  464. [regonline_click]
  465. openfile "http://www.learnatglobal.com"
  466. regconnect.visible=0
  467. regonline.visible=0
  468. regpost.visible=0
  469. product.visible=1
  470. text.visible=1
  471. needclickout=0
  472.  
  473. [regpost_mouseenter]
  474. regpost.currentframe=2
  475.  
  476. [regpost_mouseexit]
  477. regpost.currentframe=1
  478.  
  479. [regpost_click]
  480. openfile "registration.htm"
  481. regconnect.visible=0
  482. regonline.visible=0
  483. regpost.visible=0
  484. product.visible=1
  485. text.visible=1
  486. needclickout=0
  487.  
  488. [regconnect_click]
  489. needclickout=1
  490.  
  491. [connect_click]
  492. needclickout=1
  493.  
  494. [netconnect_mouseenter]
  495. netconnect.currentframe=2
  496.  
  497. [netconnect_mouseexit]
  498. netconnect.currentframe=1
  499.  
  500. [netconnect_click]
  501. openfile "http://www.learnatglobal.com"
  502. connect.visible=0
  503. netconnect.visible=0
  504. product.visible=1
  505. text.visible=1
  506. needclickout=0
  507.  
  508. [close_mouseenter]
  509. close.currentframe=2
  510.  
  511. [close_mouseexit]
  512. close.currentframe=1
  513.  
  514. [close_click]
  515. closelauncher
  516.  
  517. [manual_mouseenter]
  518. manual.currentframe=2
  519.  
  520. [manual_mouseexit]
  521. manual.currentframe=1
  522.  
  523. [manual_click]
  524. application2.launch
  525.  
  526. [manualtext_click]
  527. application2.launch
  528.