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:

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 minHeight and minWidth properties are used by internal sizing routines. They are defined in UIObject, and are overridden by different components as needed. These properties can be used if you make a custom layout manager for your application. Otherwise, setting these properties in the Component inspector has no visible effect.

You can write ActionScript to set additional options for Label instances using its methods, properties, and events. For more information, see Label class.