Ver Mensaje Individual
  #9 (permalink)  
Antiguo 02/02/2005, 14:17
Avatar de goc00
goc00
 
Fecha de Ingreso: enero-2002
Ubicación: 000's DiMensiOn
Mensajes: 979
Antigüedad: 22 años, 3 meses
Puntos: 3
Saludos...

Tu código:

Código:
MovieClip.prototype.escala = function(x,num) {
    var f = 0.97;//inicialmente a 0.9
    var r = 0.06;//inicialmente a 0.09
	this._xscale += (xvel=xvel*f+(x-this._xscale)*r);
	this._yscale += (xvel=xvel*f+(x-this._yscale)*r);
}
logo._xscale = 50;
logo._yscale = 50;
stop();
Lo cambié por:

Código:
MovieClip.prototype.escala = function(x) { //acá un solo parámetro, tenías 2
    var f = 0.9;//inicialmente a 0.9
    var r = 0.05;//inicialmente a 0.05
	this._xscale += (xvel=xvel*f+(x-this._xscale)*r);
	this._yscale += (xvel=xvel*f+(x-this._yscale)*r);
}
logo._xscale = 50;
logo._yscale = 50;
stop();
Tanto pc estoy medio ciego ujwujAujUJWujAujUJa, cambió o no?
__________________
GOC00 CominG soOn v2.0
CyA! & GooD LuCK...

Última edición por goc00; 02/02/2005 a las 15:13