Ver Mensaje Individual
  #9 (permalink)  
Antiguo 23/03/2003, 14:26
Avatar de GhostRider
GhostRider
 
Fecha de Ingreso: julio-2001
Ubicación: en mi propio infierno
Mensajes: 248
Antigüedad: 22 años, 8 meses
Puntos: 0
no

este es el codigo completo de galeria.swf:

Código:
_root.onEnterFrame = function() {
	// when a new Photo is selected, fade out, load new image, and fade in
	if (square._alpha>10 && fadeOut) {
		square._alpha -= 10;
	}
	if (square._alpha<10) {
		loadMovie("images/image"+whichPic+".jpg", "square");
		fadeOut = false;
		fadeIn = true;
	}
	if (square._alpha<100 && fadeIn && !fadeOut) {
		square._alpha += 10;
	} else {
		fadeIn = false;
	}
	// limit input field
	if (input>10) {
		input = 10;
	}
	// initiate change to new image when Enter key is pressed
	if (Key.isDown(Key.ENTER)) {
		fadeOut = true;
		whichpic = input;
	}
};
traté de cambiar el _root del principio por _parent y tampoco funcionó.