home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 August / Chip_1999-08_cd.bin / sharewar / imswbpro / _setup.1 / scramtut.js < prev    next >
Text File  |  1999-01-14  |  8KB  |  457 lines

  1. //<!-- 
  2. //***Virtual Mechanics IMS JavaScript. Project Title: scramtut
  3. Version = 105;
  4. mW = window.screen.width;
  5. mH = window.screen.height;
  6. //window.style.display = "none"; 
  7. mS = 1.0; 
  8. //mS = 0.64; 
  9. //if(mW > 0) mS = mW / 800;
  10.  
  11. ob    = new Array();
  12. obRef = new Array();
  13. ob    = new Array();
  14. totObj= 9;
  15. Molst= new Array();
  16. obRef[1] = 1;
  17. ob[1] = new Array();
  18. ob[1].geo = 1;
  19. ob[1].att = 0;
  20. ob[1].evt = 0;
  21. ob[1].snd = 0;
  22. ob[1].act = 0;
  23. ob[1].grp = 0;
  24. ob[1].cpox =321.000000;
  25. ob[1].cpoy =203.000000;
  26. ob[1].cscx =1.000000;
  27. ob[1].cscy =1.000000;
  28. ob[1].crot =0.000000;
  29. ob[1].val  =0;
  30. ob[1].flg  =0;
  31.  
  32. obRef[2] = 2;
  33. ob[2] = new Array();
  34. ob[2].geo = 2;
  35. ob[2].att = 0;
  36. ob[2].evt = 0;
  37. ob[2].snd = 0;
  38. ob[2].act = 2;
  39. ob[2].grp = 0;
  40. ob[2].cpox =126.000000;
  41. ob[2].cpoy =152.000000;
  42. ob[2].cscx =1.000000;
  43. ob[2].cscy =1.000000;
  44. ob[2].crot =0.000000;
  45. ob[2].val  =0;
  46. ob[2].flg  =0;
  47.  
  48. obRef[3] = 3;
  49. ob[3] = new Array();
  50. ob[3].geo = 3;
  51. ob[3].att = 0;
  52. ob[3].evt = 2; 
  53. ob[3].snd = 0;
  54. ob[3].act = 3;
  55. ob[3].grp = 0;
  56. ob[3].cpox =99.000000;
  57. ob[3].cpoy =105.000000;
  58. ob[3].cscx =1.000000;
  59. ob[3].cscy =1.000000;
  60. ob[3].crot =0.000000;
  61. ob[3].val  =0;
  62. ob[3].flg  =0;
  63.  
  64. obRef[4] = 4;
  65. ob[4] = new Array();
  66. ob[4].geo = 4;
  67. ob[4].att = 0;
  68. ob[4].evt = 0;
  69. ob[4].snd = 0;
  70. ob[4].act = 0;
  71. ob[4].grp = 0;
  72. ob[4].cpox =322.000000;
  73. ob[4].cpoy =815.000000;
  74. ob[4].cscx =1.251107;
  75. ob[4].cscy =0.759256;
  76. ob[4].crot =0.000000;
  77. ob[4].val  =0;
  78. ob[4].flg  =0;
  79.  
  80. obRef[5] = 5;
  81. ob[5] = new Array();
  82. ob[5].geo = 5;
  83. ob[5].att = 0;
  84. ob[5].evt = 4; 
  85. ob[5].snd = 0;
  86. ob[5].act = 5;
  87. ob[5].grp = 0;
  88. ob[5].cpox =465.000000;
  89. ob[5].cpoy =125.000000;
  90. ob[5].cscx =1.000000;
  91. ob[5].cscy =1.000000;
  92. ob[5].crot =0.000000;
  93. ob[5].val  =0;
  94. ob[5].flg  =0;
  95.  
  96. obRef[6] = 6;
  97. ob[6] = new Array();
  98. ob[6].geo = 6;
  99. ob[6].att = 0;
  100. ob[6].evt = 0;
  101. ob[6].snd = 0;
  102. ob[6].act = 0;
  103. ob[6].grp = 0;
  104. ob[6].cpox =558.000000;
  105. ob[6].cpoy =114.000000;
  106. ob[6].cscx =1.000000;
  107. ob[6].cscy =1.323529;
  108. ob[6].crot =0.000000;
  109. ob[6].val  =0;
  110. ob[6].flg  =0;
  111.  
  112. obRef[7] = 7;
  113. ob[7] = new Array();
  114. ob[7].geo = 7;
  115. ob[7].att = 0;
  116. ob[7].evt = 5; 
  117. ob[7].snd = 0;
  118. ob[7].act = 6;
  119. ob[7].grp = 0;
  120. ob[7].cpox =375.000000;
  121. ob[7].cpoy =122.000000;
  122. ob[7].cscx =1.000000;
  123. ob[7].cscy =1.000000;
  124. ob[7].crot =0.000000;
  125. ob[7].val  =0;
  126. ob[7].flg  =0;
  127.  
  128. obRef[8] = 8;
  129. ob[8] = new Array();
  130. ob[8].geo = 8;
  131. ob[8].att = 0;
  132. ob[8].evt = 0;
  133. ob[8].snd = 0;
  134. ob[8].act = 0;
  135. ob[8].grp = 0;
  136. ob[8].cpox =186.000000;
  137. ob[8].cpoy =193.000000;
  138. ob[8].cscx =0.548360;
  139. ob[8].cscy =1.000000;
  140. ob[8].crot =0.000000;
  141. ob[8].val  =0;
  142. ob[8].flg  =0;
  143.  
  144. obRef[9] = 9;
  145. ob[9] = new Array();
  146. ob[9].geo = 9;
  147. ob[9].att = 0;
  148. ob[9].evt = 0;
  149. ob[9].snd = 0;
  150. ob[9].act = 0;
  151. ob[9].grp = 0;
  152. ob[9].cpox =126.000000;
  153. ob[9].cpoy =19.000000;
  154. ob[9].cscx =0.554793;
  155. ob[9].cscy =1.000000;
  156. ob[9].crot =0.000000;
  157. ob[9].val  =0;
  158. ob[9].flg  =0;
  159.  
  160. var MoLNo = 0;
  161.  
  162. totPath = 9;
  163. Gspt[1]=new Image();
  164. Gspt[1].src="../clipart/horiyell.gif";
  165. Gtyp[1] = 1;
  166. Gszx[1]=mS*283;
  167. Gszy[1]=mS*9;
  168. Gorx[1]=mS*0;
  169. Gory[1]=mS*0;
  170. Gpxl[1] = new Array(); 
  171. Gpyl[1] = new Array(); 
  172. Gnpt[1] = 2;
  173. Gpxl[1][0]=mS*-283;
  174. Gpyl[1][0]=mS*-9;
  175. Gpxl[1][1]=mS*283;
  176. Gpyl[1][1]=mS*9;
  177. Gspt[2]=new Image();
  178. Gspt[2].src="../clipart/f14.gif";
  179. Gtyp[2] = 1;
  180. Gszx[2]=mS*80;
  181. Gszy[2]=mS*26;
  182. Gorx[2]=mS*0;
  183. Gory[2]=mS*0;
  184. Gpxl[2] = new Array(); 
  185. Gpyl[2] = new Array(); 
  186. Gnpt[2] = 2;
  187. Gpxl[2][0]=mS*-80;
  188. Gpyl[2][0]=mS*-26;
  189. Gpxl[2][1]=mS*80;
  190. Gpyl[2][1]=mS*26;
  191. Gspt[3]=new Image();
  192. Gspt[3].src="../clipart/missileh.gif";
  193. Gtyp[3] = 1;
  194. Gszx[3]=mS*40;
  195. Gszy[3]=mS*9;
  196. Gorx[3]=mS*0;
  197. Gory[3]=mS*0;
  198. Gpxl[3] = new Array(); 
  199. Gpyl[3] = new Array(); 
  200. Gnpt[3] = 2;
  201. Gpxl[3][0]=mS*-40;
  202. Gpyl[3][0]=mS*-9;
  203. Gpxl[3][1]=mS*40;
  204. Gpyl[3][1]=mS*9;
  205. Gtyp[4] = 1;
  206. Gszx[4]=mS*219;
  207. Gszy[4]=mS*769;
  208. Gorx[4]=mS*0;
  209. Gory[4]=mS*0;
  210. Gpxl[4] = new Array(); 
  211. Gpyl[4] = new Array(); 
  212. Gnpt[4] = 2;
  213. Gpxl[4][0]=mS*-219;
  214. Gpyl[4][0]=mS*-769;
  215. Gpxl[4][1]=mS*219;
  216. Gpyl[4][1]=mS*769;
  217. Gspt[5]=new Image();
  218. Gspt[5].src="../clipart/ufo.gif";
  219. Gtyp[5] = 1;
  220. Gszx[5]=mS*40;
  221. Gszy[5]=mS*30;
  222. Gorx[5]=mS*0;
  223. Gory[5]=mS*0;
  224. Gpxl[5] = new Array(); 
  225. Gpyl[5] = new Array(); 
  226. Gnpt[5] = 2;
  227. Gpxl[5][0]=mS*-40;
  228. Gpyl[5][0]=mS*-30;
  229. Gpxl[5][1]=mS*40;
  230. Gpyl[5][1]=mS*30;
  231. Gtyp[6] = 2;
  232. Gszx[6]=mS*50;
  233. Gszy[6]=mS*50;
  234. Gorx[6]=mS*0;
  235. Gory[6]=mS*0;
  236. Gpxl[6] = new Array(); 
  237. Gpyl[6] = new Array(); 
  238. Gnpt[6] = 2;
  239. Gpxl[6][0]=mS*-50; 
  240. Gpyl[6][0]=mS*-50; 
  241. Gpxl[6][1]=mS*100; 
  242. Gpyl[6][1]=mS*100; 
  243. Gspt[7]=new Image();
  244. Gspt[7].src="../clipart/firea.gif";
  245. Gtyp[7] = 1;
  246. Gszx[7]=mS*35;
  247. Gszy[7]=mS*50;
  248. Gorx[7]=mS*0;
  249. Gory[7]=mS*0;
  250. Gpxl[7] = new Array(); 
  251. Gpyl[7] = new Array(); 
  252. Gnpt[7] = 2;
  253. Gpxl[7][0]=mS*-35;
  254. Gpyl[7][0]=mS*-50;
  255. Gpxl[7][1]=mS*35;
  256. Gpyl[7][1]=mS*50;
  257. Gtyp[8] = 1;
  258. Gszx[8]=mS*260;
  259. Gszy[8]=mS*12;
  260. Gorx[8]=mS*0;
  261. Gory[8]=mS*0;
  262. Gpxl[8] = new Array(); 
  263. Gpyl[8] = new Array(); 
  264. Gnpt[8] = 2;
  265. Gpxl[8][0]=mS*-260;
  266. Gpyl[8][0]=mS*-12;
  267. Gpxl[8][1]=mS*260;
  268. Gpyl[8][1]=mS*12;
  269. Gtyp[9] = 1;
  270. Gszx[9]=mS*141;
  271. Gszy[9]=mS*12;
  272. Gorx[9]=mS*0;
  273. Gory[9]=mS*0;
  274. Gpxl[9] = new Array(); 
  275. Gpyl[9] = new Array(); 
  276. Gnpt[9] = 2;
  277. Gpxl[9][0]=mS*-141;
  278. Gpyl[9][0]=mS*-12;
  279. Gpxl[9][1]=mS*141;
  280. Gpyl[9][1]=mS*12;
  281.  
  282. totAtr = 0;
  283.  
  284. totEvt = 5;
  285. AEvent[1]=0;
  286. ATime[1]=0;
  287. AValue[1]=0;
  288. DEvent[1]=0;
  289. DTime[1]=0;
  290. DValue[1]=0;
  291. WAEvent[1]=30;
  292. WDEvent[1]=-1073741794;
  293. WASOp[1]=0;
  294. WAGOp[1]=0;
  295. OpForm[1]=0;
  296. WAForm[1]=0;
  297. WACatt[1]=0;
  298. WACgeo[1]=0;
  299. WACact[1]=0;
  300. WACsnd[1]=77;
  301. WACevt[1]=0;
  302. WACobj[1]=0;
  303. WALink[1]=" ";
  304. AEvent[2]=64;
  305. ATime[2]=0;
  306. AValue[2]=0;
  307. AKey[2]="m";
  308. IKey[2]=109;
  309. DEvent[2]=0;
  310. DTime[2]=0;
  311. DValue[2]=0;
  312. WAEvent[2]=-1068367860;
  313. WDEvent[2]=12;
  314. WASOp[2]=0;
  315. WAGOp[2]=0;
  316. OpForm[2]=0;
  317. WAForm[2]=0;
  318. WACatt[2]=0;
  319. WACgeo[2]=0;
  320. WACact[2]=4;
  321. WACsnd[2]=77;
  322. WACevt[2]=3;
  323. WACobj[2]=0;
  324. WALink[2]=" ";
  325. AEvent[3]=32768;
  326. ATime[3]=0;
  327. AValue[3]=0;
  328. DEvent[3]=0;
  329. DTime[3]=0;
  330. DValue[3]=0;
  331. WAEvent[3]=-1068367842;
  332. WDEvent[3]=-1073741812;
  333. WASOp[3]=0;
  334. WAGOp[3]=0;
  335. OpForm[3]=0;
  336. WAForm[3]=0;
  337. WACatt[3]=0;
  338. WACgeo[3]=0;
  339. WACact[3]=3;
  340. WACsnd[3]=77;
  341. WACevt[3]=2;
  342. WACobj[3]=0;
  343. WALink[3]=" ";
  344. AEvent[4]=128;
  345. ATime[4]=0;
  346. AValue[4]=0;
  347. AEnter[4]=3;
  348. DEvent[4]=1;
  349. DTime[4]=35;
  350. DValue[4]=0;
  351. WAEvent[4]=36;
  352. WDEvent[4]=1073741964;
  353. WAAObj[4]=7;
  354. WASOp[4]=0;
  355. WAGOp[4]=0;
  356. OpForm[4]=0;
  357. WAForm[4]=0;
  358. WACatt[4]=0;
  359. WACgeo[4]=0;
  360. WACact[4]=0;
  361. WACsnd[4]=77;
  362. WACevt[4]=0;
  363. WACobj[4]=0;
  364. WALink[4]=" ";
  365. WDDObj[4]=7;
  366. AEvent[5]=0;
  367. ATime[5]=0;
  368. AValue[5]=0;
  369. DEvent[5]=0;
  370. DTime[5]=0;
  371. DValue[5]=0;
  372. WAEvent[5]=30;
  373. WDEvent[5]=-1073741820;
  374. WASOp[5]=0;
  375. WAGOp[5]=0;
  376. OpForm[5]=0;
  377. WAForm[5]=0;
  378. WACatt[5]=0;
  379. WACgeo[5]=0;
  380. WACact[5]=0;
  381. WACsnd[5]=77;
  382. WACevt[5]=0;
  383. WACobj[5]=0;
  384. WALink[5]=" ";
  385.  
  386. totSnd = 0;
  387.  
  388. totAct = 6;
  389. MType[1]=16777216;
  390. MPath[1]=0;
  391. MPLen[1]=100;
  392. MRate[1]=10;
  393. MDelay[1]=0;
  394. MRepeat[1]=1;
  395. MCount[1]=1;
  396. MGWst[1]=0;
  397. MGNth[1]=0;
  398. MGEst[1]=0;
  399. MGSth[1]=0;
  400. MType[2]=16781312;
  401. MPath[2]=0;
  402. MPLen[2]=100;
  403. MRate[2]=10;
  404. MDelay[2]=0;
  405. MRepeat[2]=-1;
  406. MCount[2]=-1;
  407. MGWst[2]=0;
  408. MGNth[2]=0;
  409. MGEst[2]=0;
  410. MGSth[2]=0;
  411. MType[3]=16777730;
  412. MPath[3]=2;
  413. MPLen[3]=100;
  414. MRate[3]=10;
  415. MDelay[3]=0;
  416. MRepeat[3]=-1;
  417. MCount[3]=-1;
  418. MGWst[3]=0;
  419. MGNth[3]=0;
  420. MGEst[3]=0;
  421. MGSth[3]=0;
  422. MType[4]=16777224;
  423. MPath[4]=0;
  424. MPLen[4]=100;
  425. MRate[4]=20;
  426. MDelay[4]=0;
  427. MRepeat[4]=1;
  428. MCount[4]=1;
  429. MGWst[4]=0;
  430. MGNth[4]=0;
  431. MGEst[4]=0;
  432. MGSth[4]=0;
  433. MType[5]=16777473;
  434. MPath[5]=6;
  435. MPLen[5]=100;
  436. MRate[5]=10;
  437. MDelay[5]=0;
  438. MRepeat[5]=-1;
  439. MCount[5]=-1;
  440. MGWst[5]=0;
  441. MGNth[5]=0;
  442. MGEst[5]=0;
  443. MGSth[5]=0;
  444. MType[6]=16777730;
  445. MPath[6]=5;
  446. MPLen[6]=100;
  447. MRate[6]=10;
  448. MDelay[6]=0;
  449. MRepeat[6]=-1;
  450. MCount[6]=-1;
  451. MGWst[6]=0;
  452. MGNth[6]=0;
  453. MGEst[6]=0;
  454. MGSth[6]=0;
  455.  
  456. //--> 
  457.