|    
			
				24/07/2008, 13:17
			
			
			  | 
  |   |  | Crazy Coder |  |  Fecha de Ingreso: enero-2002 Ubicación: En la Oficina 
						Mensajes: 2.880
					 Antigüedad: 23 años, 9 meses Puntos: 193 |  | 
  |  Respuesta: Alguna de forma de reducir este codigo  
  
Código:
  buttons = [excel_mc, word_mc, per_mc];
for (a = 0; a < buttons.length; a++)
{
	buttons[a].onRollOver = function() {
		this._xscale = 125;
		this._yscale = 125;
	};
	buttons[a].onRollOut = function() {
		this._xscale = 100;
		this._yscale = 100;
	};
	buttons[a].onPress = function() {
		this.startDrag();
	};
	buttons[a].onRelease = function() {
		this.stopDrag();
	};
}
     |