Description
Property; The name of the variable that the text field is associated with. The type of this property
is String.
Example
The following example creates a text field called
with the text field. When you change the variable
updates.
my_txt
this.createTextField("my_txt", 1, 10, 10, 200, 22);
my_txt.variable = "today_date";
var today_date:Date = new Date();
var date_interval:Number = setInterval(updateDate, 500);
function updateDate():Void {
today_date = new Date();
}
TextField._visible
Availability
Flash Player 6.
Usage
my_txt._visible:Boolean
Description
Property; a Boolean value that indicates whether the text field
are not visible (
_visible
Example
The following example creates a text field called
the visibility of
my_txt
this.createTextField("my_txt", 1, 10, 10, 200, 22);
my_txt.background = true;
my_txt.backgroundColor = 0xDFDFDF;
my_txt.border = true;
my_txt.type = "input";
visible_btn.onRelease = function() {
my_txt._visible = !my_txt._visible;
};
See also
MovieClip._visible
property set to
false
.
and associates the variable
my_txt
, then the text that displays in
today_date
my_txt
) are disabled.
. A button called
my_txt
today_date
is visible. Text fields that
toggles
visible_btn
TextField._visible
759
Need help?
Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?