 
			
				07/12/2005, 22:31
			
			
			     |  
        |     |    |    Fecha de Ingreso: septiembre-2005  Ubicación: Buenos Aires  
						Mensajes: 610
					  Antigüedad: 20 años, 1 mes Puntos: 19     |        |  
        Boton con roll        Wenas, estuve viendo algunos tutoriales y estoy algo confundido 
Lo que quiero hacer es k cuando pongo el mouse sobre un boton(rollOver), este se obscuresca, y cuando kite el mouse(rollOut) se vuelva a aclarar   
Hice un boton: 
Up: simple rectangulo 
Over: puse un movie clip, el cual tiene un shape tween para k el fondo del up se transforme en un degradado 
Down: puse un fondo con un color medio obscuro   
Sobre todo el boton, puse en action: 
on (rollOver) { 
	Transformacion.onEnterFrame = function () { 
		if (this._currentframe != 15) { 
			this.nextFrame(); 
		} 
		else { 
			this.stop(); 
			delete this["onEnterFrame"]; 
		} 
	} 
} 
on (rollOut) { 
	Transformacion.onEnterFrame = function () { 
		if (this._currentframe != 1) { 
			this.prevFrame(); 
		} 
		else { 
			this.stop(); 
			delete this["onEnterFrame"]; 
		} 
	} 
} 
Transformacion, vendria a ser el movie clip k tiene el shape tween 
En Transformacion, puse un stop(); al principio y al final del shape 
No entiendo xk no anda el roll mas alla de los stops, ya que deberia funcionar por el action en el boton   
Si alguien me podria orientar/ayudar lo agradeceria   
Saludos           |