my1.gotoAndStop(1); my2.gotoAndStop(2); my3.gotoAndStop(3); my4.gotoAndStop(4); my5.gotoAndStop(5); my6.gotoAndStop(6); my7.gotoAndStop(7); if (_root.pag != 1) { if (_root.st == 1) { _root.k = 500000; } // end if if (_root.st == 0) { _root.k = 150; } // end if } // end if MouX = MouX + _xmouse / _root.k; MouY = MouY + _ymouse / _root.k; MouRotY = (MouX - MouXpre) * 3.141593E+000 / 180; MouRotX = (MouY - MouYpre) * -3.141593E+000 / 180; if (MouRotX > 6.283185E+000) { MouRotX = MouRotX - 6.283185E+000; } else if (MouRotX < 0) { MouRotX = MouRotX + 6.283185E+000; } // end else if if (MouRotY > 6.283185E+000) { MouRotY = MouRotY - 6.283185E+000; } else if (MouRotY < 0) { MouRotY = MouRotY + 6.283185E+000; } // end else if tempZ = PosY * -Math.sin(MouRotX) + PosZ * Math.cos(MouRotX); PosY = PosY * Math.cos(MouRotX) + PosZ * Math.sin(MouRotX); PosZ = PosX * Math.sin(MouRotY) + tempZ * Math.cos(MouRotY); PosX = PosX * Math.cos(MouRotY) + tempZ * -Math.sin(MouRotY); Sratio = (_root.up + PosZ) / 4 + 80; my1._alpha = Sratio1 - _root.al; my1._xscale = Sratio; my1._yscale = Sratio; my1._x = PosX; my1._y = PosY; my11._alpha = Sratio1 - _root.al; my11._x = Math.floor(PosX + 50); my11._y = Math.floor(PosY + 50); MouXpre = MouX; MouYpre = MouY; Mou5X = Mou5X + _xmouse / _root.k; Mou5Y = Mou5Y + _ymouse / _root.k; MouRot5Y = (Mou5X - MouXpr5e) * 3.141593E+000 / 180; MouRot5X = (Mou5Y - MouYpr5e) * -3.141593E+000 / 180; if (MouRot5X > 6.283185E+000) { MouRot5X = MouRot5X - 6.283185E+000; } else if (MouRot5X < 0) { MouRot5X = MouRot5X + 6.283185E+000; } // end else if if (MouRot5Y > 6.283185E+000) { MouRot5Y = MouRot5Y - 6.283185E+000; } else if (MouRot5Y < 0) { MouRot5Y = MouRot5Y + 6.283185E+000; } // end else if temp5Z = Pos5Y * -Math.sin(MouRot5X) + Pos5Z * Math.cos(MouRot5X); Pos5Y = Pos5Y * Math.cos(MouRot5X) + Pos5Z * Math.sin(MouRot5X); Pos5Z = Pos5X * Math.sin(MouRot5Y) + temp5Z * Math.cos(MouRot5Y); Pos5X = Pos5X * Math.cos(MouRot5Y) + temp5Z * -Math.sin(MouRot5Y); Sratio5 = (_root.up + Pos5Z) / 4 + 80; my5._alpha = Sratio5 - _root.al; my5._xscale = Sratio5; my5._yscale = Sratio5; my5._x = Pos5X; my5._y = Pos5Y; my55._alpha = Sratio5 - _root.al; my55._x = Math.floor(Pos5X + 50); my55._y = Math.floor(Pos5Y + 50); MouXpr5e = Mou5X; MouYpr5e = Mou5Y; Mou4X = Mou4X + _xmouse / _root.k; Mou4Y = Mou4Y + _ymouse / _root.k; MouRot4Y = (Mou4X - MouXpr4e) * 3.141593E+000 / 180; MouRot4X = (Mou4Y - MouYpr4e) * -3.141593E+000 / 180; if (MouRot4X > 6.283185E+000) { MouRot4X = MouRot4X - 6.283185E+000; } else if (MouRot4X < 0) { MouRot4X = MouRot4X + 6.283185E+000; } // end else if if (MouRot4Y > 6.283185E+000) { MouRot4Y = MouRot4Y - 6.283185E+000; } else if (MouRot4Y < 0) { MouRot4Y = MouRot4Y + 6.283185E+000; } // end else if temp4Z = Pos4Y * -Math.sin(MouRot4X) + Pos4Z * Math.cos(MouRot4X); Pos4Y = Pos4Y * Math.cos(MouRot4X) + Pos4Z * Math.sin(MouRot4X); Pos4Z = Pos4X * Math.sin(MouRot4Y) + temp4Z * Math.cos(MouRot4Y); Pos4X = Pos4X * Math.cos(MouRot4Y) + temp4Z * -Math.sin(MouRot4Y); Sratio4 = (_root.up + Pos4Z) / 4 + 80; my4._alpha = Sratio4 - _root.al; my4._xscale = Sratio4; my4._yscale = Sratio4; my4._x = Pos4X; my4._y = Pos4Y; MouXpr4e = Mou4X; MouYpr4e = Mou4Y; my44._alpha = Sratio4 - _root.al; my44._x = Math.floor(Pos4X + 50); my44._y = Math.floor(Pos4Y + 50); Mou3X = Mou3X + _xmouse / _root.k; Mou3Y = Mou3Y + _ymouse / _root.k; MouRot3Y = (Mou3X - MouXpr2e) * 3.141593E+000 / 180; MouRot3X = (Mou3Y - MouYpr2e) * -3.141593E+000 / 180; if (MouRot3X > 6.283185E+000) { MouRot3X = MouRot3X - 6.283185E+000; } else if (MouRot3X < 0) { MouRot3X = MouRot3X + 6.283185E+000; } // end else if if (MouRot3Y > 6.283185E+000) { MouRot3Y = MouRot3Y - 6.283185E+000; } else if (MouRot3Y < 0) { MouRot3Y = MouRot3Y + 6.283185E+000; } // end else if temp3Z = Pos3Y * -Math.sin(MouRot3X) + Pos3Z * Math.cos(MouRot3X); Pos3Y = Pos3Y * Math.cos(MouRot3X) + Pos3Z * Math.sin(MouRot3X); Pos3Z = Pos3X * Math.sin(MouRot3Y) + temp3Z * Math.cos(MouRot3Y); Pos3X = Pos3X * Math.cos(MouRot3Y) + temp3Z * -Math.sin(MouRot3Y); Sratio3 = (_root.up + Pos3Z) / 4 + 80; my3._alpha = Sratio3 - _root.al; my3._xscale = Sratio3; my3._yscale = Sratio3; my3._x = Pos3X; my3._y = Pos3Y; my33._alpha = Sratio3 - _root.al; my33._x = Math.floor(Pos3X + 50); my33._y = Math.floor(Pos3Y + 50); MouXpr3e = Mou3X; MouYpr3e = Mou3Y; Mou2X = Mou2X + _xmouse / _root.k; Mou2Y = Mou2Y + _ymouse / _root.k; MouRot2Y = (Mou2X - MouXpr2e) * 3.141593E+000 / 180; MouRot2X = (Mou2Y - MouYpr2e) * -3.141593E+000 / 180; if (MouRot2X > 6.283185E+000) { MouRot2X = MouRot2X - 6.283185E+000; } else if (MouRot2X < 0) { MouRot2X = MouRot2X + 6.283185E+000; } // end else if if (MouRot2Y > 6.283185E+000) { MouRot2Y = MouRot2Y - 6.283185E+000; } else if (MouRot2Y < 0) { MouRot2Y = MouRot2Y + 6.283185E+000; } // end else if temp2Z = Pos2Y * -Math.sin(MouRot2X) + Pos2Z * Math.cos(MouRot2X); Pos2Y = Pos2Y * Math.cos(MouRot2X) + Pos2Z * Math.sin(MouRot2X); Pos2Z = Pos2X * Math.sin(MouRot2Y) + temp2Z * Math.cos(MouRot2Y); Pos2X = Pos2X * Math.cos(MouRot2Y) + temp2Z * -Math.sin(MouRot2Y); Sratio2 = (_root.up + Pos2Z) / 4 + 80; my2._alpha = Sratio2 - _root.al; my2._xscale = Sratio2; my2._yscale = Sratio2; my2._x = Pos2X; my2._y = Pos2Y; my22._alpha = Sratio2 - _root.al; my22._x = Math.floor(Pos2X + 50); my22._y = Math.floor(Pos2Y + 50); MouXpr2e = Mou2X; MouYpr2e = Mou2Y; Mou6X = Mou6X + _xmouse / _root.k; Mou6Y = Mou6Y + _ymouse / _root.k; MouRot6Y = (Mou6X - MouXpr6e) * 3.141593E+000 / 180; MouRot6X = (Mou6Y - MouYpr6e) * -3.141593E+000 / 180; if (MouRot6X > 6.283185E+000) { MouRot6X = MouRot6X - 6.283185E+000; } else if (MouRot6X < 0) { MouRot6X = MouRot6X + 6.283185E+000; } // end else if if (MouRot6Y > 6.283185E+000) { MouRot6Y = MouRot6Y - 6.283185E+000; } else if (MouRot6Y < 0) { MouRot6Y = MouRot6Y + 6.283185E+000; } // end else if temp6Z = Pos3Y * -Math.sin(MouRot6X) + Pos6Z * Math.cos(MouRot6X); Pos6Y = Pos6Y * Math.cos(MouRot6X) + Pos6Z * Math.sin(MouRot6X); Pos6Z = Pos6X * Math.sin(MouRot6Y) + temp6Z * Math.cos(MouRot6Y); Pos6X = Pos6X * Math.cos(MouRot6Y) + temp6Z * -Math.sin(MouRot6Y); Sratio6 = (_root.up + Pos6Z) / 4 + 80; my6._alpha = Sratio6 - _root.al; my6._xscale = Sratio6; my6._yscale = Sratio6; my6._x = Pos6X; my6._y = Pos3Y; my66._alpha = Sratio6 - _root.al; my66._x = Math.floor(Pos6X + 50); my66._y = Math.floor(Pos6Y + 50); MouXpr6e = Mou6X; MouYpr6e = Mou6Y;