Ver Mensaje Individual
  #5 (permalink)  
Antiguo 19/06/2006, 15:09
EmmanuelOA
 
Fecha de Ingreso: octubre-2005
Mensajes: 207
Antigüedad: 18 años, 7 meses
Puntos: 0
Muchísimas gracias... salió así:
Código:
_root.consola.nosotros_btn.onRelease = function() {
	_root.consola.onEnterFrame = function() {
		if (this._x > 165) {
			this._x -= 20;
			} else {
				delete this.onEnterFrame;
			}
	};
};
¿Para que se desplace a la derecha cómo se hace? intenté cambiar
Código:
		if (this._x > 165) {
			this._x -= 20;
por
Código:
		if (this._x > -165) {
			this._x += 20;
y sí se desplaza a la derecha, pero no se detiene ni cambiando el número en
Código:
if (this._x > 165)
.

Última edición por EmmanuelOA; 19/06/2006 a las 15:39