Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/04/2005, 08:22
Maniru
 
Fecha de Ingreso: abril-2005
Mensajes: 2
Antigüedad: 19 años
Puntos: 0
Gracias, funciona perfectamente .

Pego el resultado final por si sirve para ayudar a alguien:

Código:
this.loadVariables("nombre.txt");
this.Up.onPress = function(){
	Direccion = "up";
	MoverTexto();
}
this.Down.onPress = function(){
	Direccion = "down";
	MoverTexto();
}
function MoverTexto(){
	_root.onEnterFrame = function(){
		if(Direccion == "up"){
			Texto.scroll -= 1;
		} 
		else if(Direccion == "down"){
			Texto.scroll += 1;
		}
	}
}
this.Down.onRelease = this.Down.onReleaseOutside = this.Up.onRelease = this.Up.onReleaseOutside = function(){
	delete _root.onEnterFrame;
}
Ese seria el codigo a colocar en el frame 1, junto con una ventana de texto dinamico y multilinea con nombre de instancia "texto" y variable "texto", mas los dos botones con nombres de instancia "Up" y "Down" respectivamente.

Asi es como me ha ido a mi.

Saludos.