ActionScript 2.0 Components Language Reference |
|
|
|
| Label component > Using the Label component > Label parameters | |||
You can set the following authoring parameters for each Label component instance in the Property inspector or in the Component inspector (Window > Component Inspector menu option):
autoSize indicates how the label is sized and aligned to fit the text. The default value is none. The parameter can have any of the following four values:
none, which specifies that the label is not resized or aligned to fit the text.left, which specifies that the right and bottom sides of the label are resized to fit the text. The left and top sides are not resized.center, which specifies that the left and right sides of the label resize to fit the text. The horizontal center of the label stays anchored at its original horizontal center position.right, which specifies that the left and bottom sides of the label are resized to fit the text. The top and right side are not resized. |
NOTE |
The |
html indicates whether the label is formatted with HTML (true) or not (false). If this parameter is set to true, a label cannot be formatted with styles, but you can format the text as HTML using the font tag. The default value is false.
text indicates the text of the label; the default value is Label.
You can set the following additional parameters for each Label component instance in the Component inspector (Window > Component Inspector):
visible is a Boolean value that indicates whether the object is visible (true) or not (false). The default value is true.
|
NOTE |
The |
You can write ActionScript to set additional options for Label instances using its methods, properties, and events. For more information, see Label class.
|
|
|
|