Comunidad de diseño web y desarrollo en internet online

Ayuda para pasar este codigo de player 6 al 9

Citar            
MensajeEscrito el 28 Dic 2007 08:27 am
Hola, necesito que este codigo me funcione con el player 9, algun maquina de los que ronda por aqui sabria pq no va en el 9? en el 6 funciona perfectamente.

Código :

movieclip.prototype.mouser = function(rot) {
   this.q++;
   rotation = Math.atan2(_root._ymouse-this._y, _root._xmouse-this._x)*180/3.141593-90;
   this.button.onPress = function() {
      down = true;
      if (_root._ymouse<=this._y) {
         above = true;
      } else {
         above = false;
      }
      // end if
   };
   this.button.onRelease = function() {
      down = false;
   };
   this.button.onReleaseOutside = function() {
      down = false;
   };
   if (down) {
      if (above) {
         this._rotation = rotation;
      } else {
         this._rotation = rotation-180;
      }
      // end if
   } else {
      inertia = 0.900000;
      speed = 0.080000;
      diff = -this._rotation+rot;
      change = change*inertia+diff*speed;
      this._rotation = this._rotation+change;
   }
   // end if
};

Por clipdepelicula

237 de clabLevel



 

Valencia (España)

firefox
Citar            
MensajeEscrito el 28 Dic 2007 08:34 am

Por clipdepelicula

237 de clabLevel



 

Valencia (España)

firefox
Citar            
MensajeEscrito el 28 Dic 2007 10:16 am
resuelto

Por clipdepelicula

237 de clabLevel



 

Valencia (España)

firefox
Citar            
MensajeEscrito el 17 Jun 2008 04:01 am
estaría bueno que dejes la solución...

Por boratlon

Claber

139 de clabLevel



 

msie7
Citar            
MensajeEscrito el 17 Jun 2008 07:18 pm
tienes que declarar todas las variables antes de usarlas

Por clipdepelicula

237 de clabLevel



 

Valencia (España)

firefox
Citar            
MensajeEscrito el 19 Jun 2008 03:11 pm
el código mi buen... sé solidario... =P

Por boratlon

Claber

139 de clabLevel



 

msie7

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.