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

  1. //<!-- 
  2. //***Virtual Mechanics IMS JavaScript. Project Title: engevent
  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= 16;
  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 = 1; 
  21. ob[1].snd = 0;
  22. ob[1].act = 0;
  23. ob[1].grp = 0;
  24. ob[1].cpox =208.500000;
  25. ob[1].cpoy =88.000000;
  26. ob[1].cscx =2.000000;
  27. ob[1].cscy =2.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 = 1; 
  37. ob[2].snd = 0;
  38. ob[2].act = 0;
  39. ob[2].grp = 0;
  40. ob[2].cpox =246.100006;
  41. ob[2].cpoy =88.000000;
  42. ob[2].cscx =2.000000;
  43. ob[2].cscy =2.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 = 1; 
  53. ob[3].snd = 0;
  54. ob[3].act = 0;
  55. ob[3].grp = 0;
  56. ob[3].cpox =291.700012;
  57. ob[3].cpoy =88.000000;
  58. ob[3].cscx =4.001232;
  59. ob[3].cscy =2.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 = 1; 
  69. ob[4].snd = 0;
  70. ob[4].act = 0;
  71. ob[4].grp = 0;
  72. ob[4].cpox =321.299988;
  73. ob[4].cpoy =88.000000;
  74. ob[4].cscx =5.525510;
  75. ob[4].cscy =2.000000;
  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 = 1; 
  85. ob[5].snd = 0;
  86. ob[5].act = 0;
  87. ob[5].grp = 0;
  88. ob[5].cpox =347.899994;
  89. ob[5].cpoy =88.000000;
  90. ob[5].cscx =4.725818;
  91. ob[5].cscy =2.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 = 1; 
  101. ob[6].snd = 0;
  102. ob[6].act = 0;
  103. ob[6].grp = 0;
  104. ob[6].cpox =406.000000;
  105. ob[6].cpoy =88.000000;
  106. ob[6].cscx =2.573140;
  107. ob[6].cscy =2.000000;
  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 = 1; 
  117. ob[7].snd = 0;
  118. ob[7].act = 0;
  119. ob[7].grp = 0;
  120. ob[7].cpox =446.500000;
  121. ob[7].cpoy =88.000000;
  122. ob[7].cscx =4.001232;
  123. ob[7].cscy =2.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 = 1; 
  133. ob[8].snd = 0;
  134. ob[8].act = 0;
  135. ob[8].grp = 0;
  136. ob[8].cpox =476.000000;
  137. ob[8].cpoy =88.000000;
  138. ob[8].cscx =4.641429;
  139. ob[8].cscy =2.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 = 1; 
  149. ob[9].snd = 0;
  150. ob[9].act = 0;
  151. ob[9].grp = 0;
  152. ob[9].cpox =505.500000;
  153. ob[9].cpoy =88.000000;
  154. ob[9].cscx =5.625974;
  155. ob[9].cscy =2.000000;
  156. ob[9].crot =0.000000;
  157. ob[9].val  =0;
  158. ob[9].flg  =0;
  159.  
  160. obRef[10] = 10;
  161. ob[10] = new Array();
  162. ob[10].geo = 10;
  163. ob[10].att = 0;
  164. ob[10].evt = 2; 
  165. ob[10].snd = 0;
  166. ob[10].act = 0;
  167. ob[10].grp = 0;
  168. ob[10].cpox =102.000000;
  169. ob[10].cpoy =99.000000;
  170. ob[10].cscx =0.308376;
  171. ob[10].cscy =0.602484;
  172. ob[10].crot =0.000000;
  173. ob[10].val  =0;
  174. ob[10].flg  =0;
  175.  
  176. obRef[11] = 11;
  177. ob[11] = new Array();
  178. ob[11].geo = 11;
  179. ob[11].att = 0;
  180. ob[11].evt = 3; 
  181. ob[11].snd = 0;
  182. ob[11].act = 1;
  183. ob[11].grp = 0;
  184. ob[11].cpox =576.000000;
  185. ob[11].cpoy =81.000000;
  186. ob[11].cscx =0.385093;
  187. ob[11].cscy =0.371901;
  188. ob[11].crot =0.000000;
  189. ob[11].val  =0;
  190. ob[11].flg  =0;
  191.  
  192. obRef[12] = 12;
  193. ob[12] = new Array();
  194. ob[12].geo = 12;
  195. ob[12].att = 0;
  196. ob[12].evt = 0;
  197. ob[12].snd = 0;
  198. ob[12].act = 0;
  199. ob[12].grp = 0;
  200. ob[12].cpox =351.000000;
  201. ob[12].cpoy =83.000000;
  202. ob[12].cscx =0.900000;
  203. ob[12].cscy =1.000000;
  204. ob[12].crot =0.000000;
  205. ob[12].val  =0;
  206. ob[12].flg  =0;
  207.  
  208. obRef[13] = 13;
  209. ob[13] = new Array();
  210. ob[13].geo = 13;
  211. ob[13].att = 0;
  212. ob[13].evt = 4; 
  213. ob[13].snd = 0;
  214. ob[13].act = 0;
  215. ob[13].grp = 0;
  216. ob[13].cpox =586.000000;
  217. ob[13].cpoy =122.000000;
  218. ob[13].cscx =1.209756;
  219. ob[13].cscy =1.483918;
  220. ob[13].crot =0.000000;
  221. ob[13].val  =0;
  222. ob[13].flg  =0;
  223.  
  224. obRef[14] = 14;
  225. ob[14] = new Array();
  226. ob[14].geo = 14;
  227. ob[14].att = 0;
  228. ob[14].evt = 0;
  229. ob[14].snd = 0;
  230. ob[14].act = 0;
  231. ob[14].grp = 0;
  232. ob[14].cpox =344.000000;
  233. ob[14].cpoy =826.000000;
  234. ob[14].cscx =1.432802;
  235. ob[14].cscy =1.000785;
  236. ob[14].crot =0.000000;
  237. ob[14].val  =0;
  238. ob[14].flg  =0;
  239.  
  240. obRef[15] = 15;
  241. ob[15] = new Array();
  242. ob[15].geo = 15;
  243. ob[15].att = 0;
  244. ob[15].evt = 0;
  245. ob[15].snd = 0;
  246. ob[15].act = 0;
  247. ob[15].grp = 0;
  248. ob[15].cpox =303.000000;
  249. ob[15].cpoy =162.000000;
  250. ob[15].cscx =1.000000;
  251. ob[15].cscy =1.000000;
  252. ob[15].crot =0.000000;
  253. ob[15].val  =0;
  254. ob[15].flg  =0;
  255.  
  256. obRef[16] = 16;
  257. ob[16] = new Array();
  258. ob[16].geo = 16;
  259. ob[16].att = 0;
  260. ob[16].evt = 0;
  261. ob[16].snd = 0;
  262. ob[16].act = 0;
  263. ob[16].grp = 0;
  264. ob[16].cpox =105.000000;
  265. ob[16].cpoy =22.000000;
  266. ob[16].cscx =0.551259;
  267. ob[16].cscy =1.000000;
  268. ob[16].crot =0.000000;
  269. ob[16].val  =0;
  270. ob[16].flg  =0;
  271.  
  272. var MoLNo = 0;
  273.  
  274. totPath = 16;
  275. Gtyp[1] = 1;
  276. Gszx[1]=mS*13;
  277. Gszy[1]=mS*17;
  278. Gorx[1]=mS*0;
  279. Gory[1]=mS*0;
  280. Gpxl[1] = new Array(); 
  281. Gpyl[1] = new Array(); 
  282. Gnpt[1] = 2;
  283. Gpxl[1][0]=mS*-13;
  284. Gpyl[1][0]=mS*-17;
  285. Gpxl[1][1]=mS*13;
  286. Gpyl[1][1]=mS*17;
  287. Gtyp[2] = 1;
  288. Gszx[2]=mS*7;
  289. Gszy[2]=mS*17;
  290. Gorx[2]=mS*0;
  291. Gory[2]=mS*0;
  292. Gpxl[2] = new Array(); 
  293. Gpyl[2] = new Array(); 
  294. Gnpt[2] = 2;
  295. Gpxl[2][0]=mS*-7;
  296. Gpyl[2][0]=mS*-17;
  297. Gpxl[2][1]=mS*7;
  298. Gpyl[2][1]=mS*17;
  299. Gtyp[3] = 1;
  300. Gszx[3]=mS*7;
  301. Gszy[3]=mS*17;
  302. Gorx[3]=mS*0;
  303. Gory[3]=mS*0;
  304. Gpxl[3] = new Array(); 
  305. Gpyl[3] = new Array(); 
  306. Gnpt[3] = 2;
  307. Gpxl[3][0]=mS*-7;
  308. Gpyl[3][0]=mS*-17;
  309. Gpxl[3][1]=mS*7;
  310. Gpyl[3][1]=mS*17;
  311. Gtyp[4] = 1;
  312. Gszx[4]=mS*5;
  313. Gszy[4]=mS*17;
  314. Gorx[4]=mS*0;
  315. Gory[4]=mS*0;
  316. Gpxl[4] = new Array(); 
  317. Gpyl[4] = new Array(); 
  318. Gnpt[4] = 2;
  319. Gpxl[4][0]=mS*-5;
  320. Gpyl[4][0]=mS*-17;
  321. Gpxl[4][1]=mS*5;
  322. Gpyl[4][1]=mS*17;
  323. Gtyp[5] = 1;
  324. Gszx[5]=mS*6;
  325. Gszy[5]=mS*17;
  326. Gorx[5]=mS*0;
  327. Gory[5]=mS*0;
  328. Gpxl[5] = new Array(); 
  329. Gpyl[5] = new Array(); 
  330. Gnpt[5] = 2;
  331. Gpxl[5][0]=mS*-6;
  332. Gpyl[5][0]=mS*-17;
  333. Gpxl[5][1]=mS*6;
  334. Gpyl[5][1]=mS*17;
  335. Gtyp[6] = 1;
  336. Gszx[6]=mS*11;
  337. Gszy[6]=mS*17;
  338. Gorx[6]=mS*0;
  339. Gory[6]=mS*0;
  340. Gpxl[6] = new Array(); 
  341. Gpyl[6] = new Array(); 
  342. Gnpt[6] = 2;
  343. Gpxl[6][0]=mS*-11;
  344. Gpyl[6][0]=mS*-17;
  345. Gpxl[6][1]=mS*11;
  346. Gpyl[6][1]=mS*17;
  347. Gtyp[7] = 1;
  348. Gszx[7]=mS*7;
  349. Gszy[7]=mS*17;
  350. Gorx[7]=mS*0;
  351. Gory[7]=mS*0;
  352. Gpxl[7] = new Array(); 
  353. Gpyl[7] = new Array(); 
  354. Gnpt[7] = 2;
  355. Gpxl[7][0]=mS*-7;
  356. Gpyl[7][0]=mS*-17;
  357. Gpxl[7][1]=mS*7;
  358. Gpyl[7][1]=mS*17;
  359. Gtyp[8] = 1;
  360. Gszx[8]=mS*6;
  361. Gszy[8]=mS*17;
  362. Gorx[8]=mS*0;
  363. Gory[8]=mS*0;
  364. Gpxl[8] = new Array(); 
  365. Gpyl[8] = new Array(); 
  366. Gnpt[8] = 2;
  367. Gpxl[8][0]=mS*-6;
  368. Gpyl[8][0]=mS*-17;
  369. Gpxl[8][1]=mS*6;
  370. Gpyl[8][1]=mS*17;
  371. Gtyp[9] = 1;
  372. Gszx[9]=mS*5;
  373. Gszy[9]=mS*17;
  374. Gorx[9]=mS*0;
  375. Gory[9]=mS*0;
  376. Gpxl[9] = new Array(); 
  377. Gpyl[9] = new Array(); 
  378. Gnpt[9] = 2;
  379. Gpxl[9][0]=mS*-5;
  380. Gpyl[9][0]=mS*-17;
  381. Gpxl[9][1]=mS*5;
  382. Gpyl[9][1]=mS*17;
  383. Gtyp[10] = 1;
  384. Gszx[10]=mS*243;
  385. Gszy[10]=mS*80;
  386. Gorx[10]=mS*0;
  387. Gory[10]=mS*0;
  388. Gpxl[10] = new Array(); 
  389. Gpyl[10] = new Array(); 
  390. Gnpt[10] = 2;
  391. Gpxl[10][0]=mS*-243;
  392. Gpyl[10][0]=mS*-80;
  393. Gpxl[10][1]=mS*243;
  394. Gpyl[10][1]=mS*80;
  395. Gspt[11]=new Image();
  396. Gspt[11].src="../clipart/bird-1.gif";
  397. Gtyp[11] = 1;
  398. Gszx[11]=mS*80;
  399. Gszy[11]=mS*60;
  400. Gorx[11]=mS*0;
  401. Gory[11]=mS*0;
  402. Gpxl[11] = new Array(); 
  403. Gpyl[11] = new Array(); 
  404. Gnpt[11] = 2;
  405. Gpxl[11][0]=mS*-80;
  406. Gpyl[11][0]=mS*-60;
  407. Gpxl[11][1]=mS*80;
  408. Gpyl[11][1]=mS*60;
  409. Gtyp[12] = 11
  410. Glen[12] = mS*439;
  411. Gszx[12]=mS*219;
  412. Gszy[12]=mS*0;
  413. Gorx[12]=mS*28;
  414. Gory[12]=mS*2;
  415. Gpxl[12] = new Array();
  416. Gpyl[12] = new Array();
  417. Gnpt[12] = 3;
  418. Gpxl[12][0]=mS*247;
  419. Gpyl[12][0]=mS*2;
  420. Gpxl[12][1]=mS*-192;
  421. Gpyl[12][1]=mS*1;
  422. Gpxl[12][2]=mS*-192;
  423. Gpyl[12][2]=mS*1;
  424. Gtyp[13] = 1;
  425. Gszx[13]=mS*32;
  426. Gszy[13]=mS*9;
  427. Gorx[13]=mS*0;
  428. Gory[13]=mS*0;
  429. Gpxl[13] = new Array(); 
  430. Gpyl[13] = new Array(); 
  431. Gnpt[13] = 2;
  432. Gpxl[13][0]=mS*-32;
  433. Gpyl[13][0]=mS*-9;
  434. Gpxl[13][1]=mS*32;
  435. Gpyl[13][1]=mS*9;
  436. Gtyp[14] = 1;
  437. Gszx[14]=mS*219;
  438. Gszy[14]=mS*636;
  439. Gorx[14]=mS*0;
  440. Gory[14]=mS*0;
  441. Gpxl[14] = new Array(); 
  442. Gpyl[14] = new Array(); 
  443. Gnpt[14] = 2;
  444. Gpxl[14][0]=mS*-219;
  445. Gpyl[14][0]=mS*-636;
  446. Gpxl[14][1]=mS*219;
  447. Gpyl[14][1]=mS*636;
  448. Gspt[15]=new Image();
  449. Gspt[15].src="../VirtualMechanics/ClipArt/Horiyell.gif";
  450. Gtyp[15] = 1;
  451. Gszx[15]=mS*283;
  452. Gszy[15]=mS*9;
  453. Gorx[15]=mS*0;
  454. Gory[15]=mS*0;
  455. Gpxl[15] = new Array(); 
  456. Gpyl[15] = new Array(); 
  457. Gnpt[15] = 2;
  458. Gpxl[15][0]=mS*-283;
  459. Gpyl[15][0]=mS*-9;
  460. Gpxl[15][1]=mS*283;
  461. Gpyl[15][1]=mS*9;
  462. Gtyp[16] = 1;
  463. Gszx[16]=mS*141;
  464. Gszy[16]=mS*12;
  465. Gorx[16]=mS*0;
  466. Gory[16]=mS*0;
  467. Gpxl[16] = new Array(); 
  468. Gpyl[16] = new Array(); 
  469. Gnpt[16] = 2;
  470. Gpxl[16][0]=mS*-141;
  471. Gpyl[16][0]=mS*-12;
  472. Gpxl[16][1]=mS*141;
  473. Gpyl[16][1]=mS*12;
  474.  
  475. totAtr = 0;
  476.  
  477. totEvt = 4;
  478. AEvent[1]=136;
  479. ATime[1]=0;
  480. AValue[1]=0;
  481. AEnter[1]=11;
  482. DEvent[1]=1;
  483. DTime[1]=15;
  484. DValue[1]=0;
  485. WAEvent[1]=30;
  486. WDEvent[1]=-1073741820;
  487. WASOp[1]=0;
  488. WAGOp[1]=0;
  489. OpForm[1]=0;
  490. WAForm[1]=0;
  491. WACatt[1]=0;
  492. WACgeo[1]=0;
  493. WACact[1]=0;
  494. WACsnd[1]=77;
  495. WACevt[1]=0;
  496. WACobj[1]=0;
  497. WALink[1]=" ";
  498. AEvent[2]=4;
  499. ATime[2]=0;
  500. AValue[2]=0;
  501. DEvent[2]=1;
  502. DTime[2]=20;
  503. DValue[2]=0;
  504. WAEvent[2]=62;
  505. WDEvent[2]=-1073741666;
  506. WAAObj[2]=1;
  507. WASOp[2]=0;
  508. WAGOp[2]=0;
  509. OpForm[2]=0;
  510. WAForm[2]=0;
  511. WACatt[2]=0;
  512. WACgeo[2]=0;
  513. WACact[2]=0;
  514. WACsnd[2]=77;
  515. WACevt[2]=0;
  516. WACobj[2]=0;
  517. WALink[2]=" ";
  518. WDDObj[2]=1;
  519. AEvent[3]=4;
  520. ATime[3]=0;
  521. AValue[3]=0;
  522. DEvent[3]=32768;
  523. DTime[3]=0;
  524. DValue[3]=0;
  525. WAEvent[3]=30;
  526. WDEvent[3]=-1073741816;
  527. WASOp[3]=0;
  528. WAGOp[3]=0;
  529. OpForm[3]=0;
  530. WAForm[3]=0;
  531. WACatt[3]=0;
  532. WACgeo[3]=0;
  533. WACact[3]=0;
  534. WACsnd[3]=77;
  535. WACevt[3]=0;
  536. WACobj[3]=0;
  537. WALink[3]=" ";
  538. AEvent[4]=1;
  539. ATime[4]=10;
  540. AValue[4]=0;
  541. DEvent[4]=1;
  542. DTime[4]=20;
  543. DValue[4]=0;
  544. WAEvent[4]=30;
  545. WDEvent[4]=-1073741820;
  546. WASOp[4]=0;
  547. WAGOp[4]=0;
  548. OpForm[4]=0;
  549. WAForm[4]=0;
  550. WACatt[4]=0;
  551. WACgeo[4]=0;
  552. WACact[4]=0;
  553. WACsnd[4]=77;
  554. WACevt[4]=0;
  555. WACobj[4]=0;
  556. WALink[4]=" ";
  557.  
  558. totSnd = 0;
  559.  
  560. totAct = 1;
  561. MType[1]=16777473;
  562. MPath[1]=12;
  563. MPLen[1]=100;
  564. MRate[1]=4;
  565. MDelay[1]=0;
  566. MRepeat[1]=1;
  567. MCount[1]=1;
  568. MGWst[1]=0;
  569. MGNth[1]=0;
  570. MGEst[1]=0;
  571. MGSth[1]=0;
  572.  
  573. //--> 
  574.