home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 August
/
Chip_1999-08_cd.bin
/
sharewar
/
imswbpro
/
_setup.1
/
scramtut.js
< prev
next >
Wrap
Text File
|
1999-01-14
|
8KB
|
457 lines
//<!--
//***Virtual Mechanics IMS JavaScript. Project Title: scramtut
Version = 105;
mW = window.screen.width;
mH = window.screen.height;
//window.style.display = "none";
mS = 1.0;
//mS = 0.64;
//if(mW > 0) mS = mW / 800;
ob = new Array();
obRef = new Array();
ob = new Array();
totObj= 9;
Molst= new Array();
obRef[1] = 1;
ob[1] = new Array();
ob[1].geo = 1;
ob[1].att = 0;
ob[1].evt = 0;
ob[1].snd = 0;
ob[1].act = 0;
ob[1].grp = 0;
ob[1].cpox =321.000000;
ob[1].cpoy =203.000000;
ob[1].cscx =1.000000;
ob[1].cscy =1.000000;
ob[1].crot =0.000000;
ob[1].val =0;
ob[1].flg =0;
obRef[2] = 2;
ob[2] = new Array();
ob[2].geo = 2;
ob[2].att = 0;
ob[2].evt = 0;
ob[2].snd = 0;
ob[2].act = 2;
ob[2].grp = 0;
ob[2].cpox =126.000000;
ob[2].cpoy =152.000000;
ob[2].cscx =1.000000;
ob[2].cscy =1.000000;
ob[2].crot =0.000000;
ob[2].val =0;
ob[2].flg =0;
obRef[3] = 3;
ob[3] = new Array();
ob[3].geo = 3;
ob[3].att = 0;
ob[3].evt = 2;
ob[3].snd = 0;
ob[3].act = 3;
ob[3].grp = 0;
ob[3].cpox =99.000000;
ob[3].cpoy =105.000000;
ob[3].cscx =1.000000;
ob[3].cscy =1.000000;
ob[3].crot =0.000000;
ob[3].val =0;
ob[3].flg =0;
obRef[4] = 4;
ob[4] = new Array();
ob[4].geo = 4;
ob[4].att = 0;
ob[4].evt = 0;
ob[4].snd = 0;
ob[4].act = 0;
ob[4].grp = 0;
ob[4].cpox =322.000000;
ob[4].cpoy =815.000000;
ob[4].cscx =1.251107;
ob[4].cscy =0.759256;
ob[4].crot =0.000000;
ob[4].val =0;
ob[4].flg =0;
obRef[5] = 5;
ob[5] = new Array();
ob[5].geo = 5;
ob[5].att = 0;
ob[5].evt = 4;
ob[5].snd = 0;
ob[5].act = 5;
ob[5].grp = 0;
ob[5].cpox =465.000000;
ob[5].cpoy =125.000000;
ob[5].cscx =1.000000;
ob[5].cscy =1.000000;
ob[5].crot =0.000000;
ob[5].val =0;
ob[5].flg =0;
obRef[6] = 6;
ob[6] = new Array();
ob[6].geo = 6;
ob[6].att = 0;
ob[6].evt = 0;
ob[6].snd = 0;
ob[6].act = 0;
ob[6].grp = 0;
ob[6].cpox =558.000000;
ob[6].cpoy =114.000000;
ob[6].cscx =1.000000;
ob[6].cscy =1.323529;
ob[6].crot =0.000000;
ob[6].val =0;
ob[6].flg =0;
obRef[7] = 7;
ob[7] = new Array();
ob[7].geo = 7;
ob[7].att = 0;
ob[7].evt = 5;
ob[7].snd = 0;
ob[7].act = 6;
ob[7].grp = 0;
ob[7].cpox =375.000000;
ob[7].cpoy =122.000000;
ob[7].cscx =1.000000;
ob[7].cscy =1.000000;
ob[7].crot =0.000000;
ob[7].val =0;
ob[7].flg =0;
obRef[8] = 8;
ob[8] = new Array();
ob[8].geo = 8;
ob[8].att = 0;
ob[8].evt = 0;
ob[8].snd = 0;
ob[8].act = 0;
ob[8].grp = 0;
ob[8].cpox =186.000000;
ob[8].cpoy =193.000000;
ob[8].cscx =0.548360;
ob[8].cscy =1.000000;
ob[8].crot =0.000000;
ob[8].val =0;
ob[8].flg =0;
obRef[9] = 9;
ob[9] = new Array();
ob[9].geo = 9;
ob[9].att = 0;
ob[9].evt = 0;
ob[9].snd = 0;
ob[9].act = 0;
ob[9].grp = 0;
ob[9].cpox =126.000000;
ob[9].cpoy =19.000000;
ob[9].cscx =0.554793;
ob[9].cscy =1.000000;
ob[9].crot =0.000000;
ob[9].val =0;
ob[9].flg =0;
var MoLNo = 0;
totPath = 9;
Gspt[1]=new Image();
Gspt[1].src="../clipart/horiyell.gif";
Gtyp[1] = 1;
Gszx[1]=mS*283;
Gszy[1]=mS*9;
Gorx[1]=mS*0;
Gory[1]=mS*0;
Gpxl[1] = new Array();
Gpyl[1] = new Array();
Gnpt[1] = 2;
Gpxl[1][0]=mS*-283;
Gpyl[1][0]=mS*-9;
Gpxl[1][1]=mS*283;
Gpyl[1][1]=mS*9;
Gspt[2]=new Image();
Gspt[2].src="../clipart/f14.gif";
Gtyp[2] = 1;
Gszx[2]=mS*80;
Gszy[2]=mS*26;
Gorx[2]=mS*0;
Gory[2]=mS*0;
Gpxl[2] = new Array();
Gpyl[2] = new Array();
Gnpt[2] = 2;
Gpxl[2][0]=mS*-80;
Gpyl[2][0]=mS*-26;
Gpxl[2][1]=mS*80;
Gpyl[2][1]=mS*26;
Gspt[3]=new Image();
Gspt[3].src="../clipart/missileh.gif";
Gtyp[3] = 1;
Gszx[3]=mS*40;
Gszy[3]=mS*9;
Gorx[3]=mS*0;
Gory[3]=mS*0;
Gpxl[3] = new Array();
Gpyl[3] = new Array();
Gnpt[3] = 2;
Gpxl[3][0]=mS*-40;
Gpyl[3][0]=mS*-9;
Gpxl[3][1]=mS*40;
Gpyl[3][1]=mS*9;
Gtyp[4] = 1;
Gszx[4]=mS*219;
Gszy[4]=mS*769;
Gorx[4]=mS*0;
Gory[4]=mS*0;
Gpxl[4] = new Array();
Gpyl[4] = new Array();
Gnpt[4] = 2;
Gpxl[4][0]=mS*-219;
Gpyl[4][0]=mS*-769;
Gpxl[4][1]=mS*219;
Gpyl[4][1]=mS*769;
Gspt[5]=new Image();
Gspt[5].src="../clipart/ufo.gif";
Gtyp[5] = 1;
Gszx[5]=mS*40;
Gszy[5]=mS*30;
Gorx[5]=mS*0;
Gory[5]=mS*0;
Gpxl[5] = new Array();
Gpyl[5] = new Array();
Gnpt[5] = 2;
Gpxl[5][0]=mS*-40;
Gpyl[5][0]=mS*-30;
Gpxl[5][1]=mS*40;
Gpyl[5][1]=mS*30;
Gtyp[6] = 2;
Gszx[6]=mS*50;
Gszy[6]=mS*50;
Gorx[6]=mS*0;
Gory[6]=mS*0;
Gpxl[6] = new Array();
Gpyl[6] = new Array();
Gnpt[6] = 2;
Gpxl[6][0]=mS*-50;
Gpyl[6][0]=mS*-50;
Gpxl[6][1]=mS*100;
Gpyl[6][1]=mS*100;
Gspt[7]=new Image();
Gspt[7].src="../clipart/firea.gif";
Gtyp[7] = 1;
Gszx[7]=mS*35;
Gszy[7]=mS*50;
Gorx[7]=mS*0;
Gory[7]=mS*0;
Gpxl[7] = new Array();
Gpyl[7] = new Array();
Gnpt[7] = 2;
Gpxl[7][0]=mS*-35;
Gpyl[7][0]=mS*-50;
Gpxl[7][1]=mS*35;
Gpyl[7][1]=mS*50;
Gtyp[8] = 1;
Gszx[8]=mS*260;
Gszy[8]=mS*12;
Gorx[8]=mS*0;
Gory[8]=mS*0;
Gpxl[8] = new Array();
Gpyl[8] = new Array();
Gnpt[8] = 2;
Gpxl[8][0]=mS*-260;
Gpyl[8][0]=mS*-12;
Gpxl[8][1]=mS*260;
Gpyl[8][1]=mS*12;
Gtyp[9] = 1;
Gszx[9]=mS*141;
Gszy[9]=mS*12;
Gorx[9]=mS*0;
Gory[9]=mS*0;
Gpxl[9] = new Array();
Gpyl[9] = new Array();
Gnpt[9] = 2;
Gpxl[9][0]=mS*-141;
Gpyl[9][0]=mS*-12;
Gpxl[9][1]=mS*141;
Gpyl[9][1]=mS*12;
totAtr = 0;
totEvt = 5;
AEvent[1]=0;
ATime[1]=0;
AValue[1]=0;
DEvent[1]=0;
DTime[1]=0;
DValue[1]=0;
WAEvent[1]=30;
WDEvent[1]=-1073741794;
WASOp[1]=0;
WAGOp[1]=0;
OpForm[1]=0;
WAForm[1]=0;
WACatt[1]=0;
WACgeo[1]=0;
WACact[1]=0;
WACsnd[1]=77;
WACevt[1]=0;
WACobj[1]=0;
WALink[1]=" ";
AEvent[2]=64;
ATime[2]=0;
AValue[2]=0;
AKey[2]="m";
IKey[2]=109;
DEvent[2]=0;
DTime[2]=0;
DValue[2]=0;
WAEvent[2]=-1068367860;
WDEvent[2]=12;
WASOp[2]=0;
WAGOp[2]=0;
OpForm[2]=0;
WAForm[2]=0;
WACatt[2]=0;
WACgeo[2]=0;
WACact[2]=4;
WACsnd[2]=77;
WACevt[2]=3;
WACobj[2]=0;
WALink[2]=" ";
AEvent[3]=32768;
ATime[3]=0;
AValue[3]=0;
DEvent[3]=0;
DTime[3]=0;
DValue[3]=0;
WAEvent[3]=-1068367842;
WDEvent[3]=-1073741812;
WASOp[3]=0;
WAGOp[3]=0;
OpForm[3]=0;
WAForm[3]=0;
WACatt[3]=0;
WACgeo[3]=0;
WACact[3]=3;
WACsnd[3]=77;
WACevt[3]=2;
WACobj[3]=0;
WALink[3]=" ";
AEvent[4]=128;
ATime[4]=0;
AValue[4]=0;
AEnter[4]=3;
DEvent[4]=1;
DTime[4]=35;
DValue[4]=0;
WAEvent[4]=36;
WDEvent[4]=1073741964;
WAAObj[4]=7;
WASOp[4]=0;
WAGOp[4]=0;
OpForm[4]=0;
WAForm[4]=0;
WACatt[4]=0;
WACgeo[4]=0;
WACact[4]=0;
WACsnd[4]=77;
WACevt[4]=0;
WACobj[4]=0;
WALink[4]=" ";
WDDObj[4]=7;
AEvent[5]=0;
ATime[5]=0;
AValue[5]=0;
DEvent[5]=0;
DTime[5]=0;
DValue[5]=0;
WAEvent[5]=30;
WDEvent[5]=-1073741820;
WASOp[5]=0;
WAGOp[5]=0;
OpForm[5]=0;
WAForm[5]=0;
WACatt[5]=0;
WACgeo[5]=0;
WACact[5]=0;
WACsnd[5]=77;
WACevt[5]=0;
WACobj[5]=0;
WALink[5]=" ";
totSnd = 0;
totAct = 6;
MType[1]=16777216;
MPath[1]=0;
MPLen[1]=100;
MRate[1]=10;
MDelay[1]=0;
MRepeat[1]=1;
MCount[1]=1;
MGWst[1]=0;
MGNth[1]=0;
MGEst[1]=0;
MGSth[1]=0;
MType[2]=16781312;
MPath[2]=0;
MPLen[2]=100;
MRate[2]=10;
MDelay[2]=0;
MRepeat[2]=-1;
MCount[2]=-1;
MGWst[2]=0;
MGNth[2]=0;
MGEst[2]=0;
MGSth[2]=0;
MType[3]=16777730;
MPath[3]=2;
MPLen[3]=100;
MRate[3]=10;
MDelay[3]=0;
MRepeat[3]=-1;
MCount[3]=-1;
MGWst[3]=0;
MGNth[3]=0;
MGEst[3]=0;
MGSth[3]=0;
MType[4]=16777224;
MPath[4]=0;
MPLen[4]=100;
MRate[4]=20;
MDelay[4]=0;
MRepeat[4]=1;
MCount[4]=1;
MGWst[4]=0;
MGNth[4]=0;
MGEst[4]=0;
MGSth[4]=0;
MType[5]=16777473;
MPath[5]=6;
MPLen[5]=100;
MRate[5]=10;
MDelay[5]=0;
MRepeat[5]=-1;
MCount[5]=-1;
MGWst[5]=0;
MGNth[5]=0;
MGEst[5]=0;
MGSth[5]=0;
MType[6]=16777730;
MPath[6]=5;
MPLen[6]=100;
MRate[6]=10;
MDelay[6]=0;
MRepeat[6]=-1;
MCount[6]=-1;
MGWst[6]=0;
MGNth[6]=0;
MGEst[6]=0;
MGSth[6]=0;
//-->