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
Envíale un mensaje privado Email
|