Ver Mensaje Individual
  #13 (permalink)  
Antiguo 14/04/2007, 06:51
Rizzo
 
Fecha de Ingreso: septiembre-2006
Mensajes: 1.193
Antigüedad: 17 años, 6 meses
Puntos: 30
Re: onmouse over en flash

ibas!!! bien !! solo te falto una cosa, estoy en mi universidad y no tengo aqui el flash pero tratare de hacerlo asi y me dices que pasa sustituye este codigo por el que te pase.



Código:
this.onRollOver = function() {
	zoom(200);
};
this.onRollOut = function() {
	zoom(100);
};
function zoom(porcentaje:Number) {
	this.onEnterFrame = function() {
		this._yscale = this._xscale -= (this._xscale-(porcentaje))*0.3;
		if (Math.round(this._yscale) == porcentaje) {
			delete this.onEnterFrame;
			trace("Fin del zoomin");
		}
	};
}
sino entienedes la formula agarra una calculadora y juega con las variables para que la entiendas.