Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/10/2008, 12:28
worldPeace_Plis
Usuario no validado
 
Fecha de Ingreso: marzo-2007
Mensajes: 238
Antigüedad: 17 años, 1 mes
Puntos: 5
Respuesta: iniciar formato de texto en input txt

Bueno... creo quedo asi
Código PHP:
var someListener:Object = new Object();
someListener.onSetFocus = function(oldFocusnewFocus) {
    var 
nTxt:TextField = eval(newFocus);
    
//
    
status_txt.htmlText "<b>setFocus triggered</b>";
    
status_txt.htmlText += "<textformat tabStops='[20,80]'>";
    
status_txt.htmlText += "&nbsp;\toldFocus:\t"+oldFocus;
    
status_txt.htmlText += "&nbsp;\tnewFocus:\t"+newFocus;
    
status_txt.htmlText += "&nbsp;\tgetFocus:\t"+Selection.getFocus();
    
status_txt.htmlText += "</textformat>";
    
//
    
nTxt.onChanged= function () {
        
this.setTextFormat(my_fmt);
        
    }
}; 
:)