Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/03/2007, 17:40
Rizzo
 
Fecha de Ingreso: septiembre-2006
Mensajes: 1.193
Antigüedad: 17 años, 6 meses
Puntos: 30
Re: Problemas con if, else ,else if...

yo no se si hace lo que deberia tu codigo solo que ese error te lo da por que el if no termina con ";" deberia ser asi


Código:
on (release, keyPress "<Enter>") {
	if (nombre_txt.text == "David Pintos") {
		provincia_txt.text = "Mendoza";
		ciudad_txt.text = "Capital";
		direccion_txt.text = "Jorge Newbery Nº 287";
		telefono_txt.text = "0261-155991309";
		email_txt.text = "[email protected]";
	} else {
		provincia_txt.text = " ";
		ciudad_txt.text = " ";
		direccion_txt.text = " ";
		telefono_txt.text = " ";
		email_txt.text = " ";
	}
}