|    
			
				27/12/2009, 20:38
			
			
			  | 
  |   |  |  |  Fecha de Ingreso: agosto-2008 
						Mensajes: 51
					 Antigüedad: 17 años, 2 meses Puntos: 0 |  | 
  |  Respuesta: introduccion de datos  
  vamos avanzandoonClipEvent(mouseDown) {
 this.texto1.setFocus();
 expectedText = "What am I?"
 this.texto1.onChanged = function(currentText:TextField) {
 //		trace("the value of "+textfield_txt._name+" was changed. New value is: "+textfield_txt.text);
 actualTextLen = currentText.length;
 expectedLen = expectedText.length;
 expectedActual = expectedText.slice(0, actualTextLen);
 //	_root.contador +=1;
 //	trace(currentText.text + " " + _root.contador);
 if (expectedActual != currentText.text)
 {
 var sonidoError:Sound = new Sound();
 sonidoError.attachSound("son");//Aquí va el Identificador de tu sonido1
 stopAllSounds();
 sonidoError.start();
 currentText.background = true;
 currentText.backgroundColor = 0xFF0000;
 //		trace("son diferentes");
 }
 else if (expectedLen == actualTextLen)
 //Si son iguales y hemos escrito todo el texto
 {
 var sonidoAcierto:Sound = new Sound();
 sonidoAcierto.attachSound("son");//Aquí va el Identificador de tu sonido1
 stopAllSounds();
 sonidoAcierto.start();
 currentText.background = true;
 currentText.backgroundColor = 0xFFFFFF;
 _root.acierto1.gotoAndStop(2);
 
 
 //		 trace("son iguales");
 }
 else
 //Si son iguales pero no hemos escrito todo el texto
 {
 currentText.background = true;
 currentText.backgroundColor = 0xFFFFFF;
 }
 };
 
 }
 Asi fuciona pero ahora quiero que una vez escrito correctamente
 ya no se pueda volver a escribir en esa caja de introduccion de texto
 
 alguisn me puede dcir como?
     |