Comunidad de diseño web y desarrollo en internet online

Quitar el foco de un input text

Citar            
MensajeEscrito el 13 Nov 2008 07:35 pm
Saludos, existe la forma de quitar el foco de un campo de texto de tipo input, a través de AS2

Por popartdavid

23 de clabLevel



Genero:Masculino  

safari
Citar            
MensajeEscrito el 13 Nov 2008 08:10 pm
si consulta la ayuda de flash esto te puede ayudar saludos
this.createTextField("one_txt", 1, 0, 0, 100, 22);
this.createTextField("two_txt", 2, 0, 25, 100, 22);
this.createTextField("three_txt", 3, 0, 50, 100, 22);
this.createTextField("four_txt", 4, 0, 75, 100, 22);

for (var i in this) {
if (this[i] instanceof TextField) {
this[i].border = true;
this[i].type = "input";
}
}

var selectionListener:Object = new Object();
selectionListener.onSetFocus = function(oldFocus, newFocus) {
trace("Focus shifted from "+oldFocus+" to "+newFocus);
};
Selection.addListener(selectionListener);

remove_btn.onRelease = function() {
trace("removeListener invoked");
Selection.removeListener(selectionListener);
};
Saludos

Por joshuavw

Claber

306 de clabLevel



Genero:Masculino  

Juego, aprendo y programo

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.