User Guide
Label component 447
Event summary for the Label class
There are no events exclusive to the Label class.
Events inherited from the UIObject class
The following table lists the events the Label class inherits from the UIObject class.
Label.autoSize
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
labelInstance.autoSize
Description
Property; a string that indicates how a label sizes and aligns to fit the value of its text property.
There are four possible values:
"none", "left", "center", and "right". The default value
is
"none".
• none The label doesn’t resize or align to fit the text.
• left The right and bottom sides of the label resize to fit the text. The left and top sides
don’t resize.
UIObject.visible A Boolean value indicating whether the object is visible (true) or
not (
false).
UIObject.width The width of the object, in pixels. Read-only.
UIObject.x The left edge of the object, in pixels. Read-only.
UIObject.y The top edge of the object, in pixels. Read-only.
Event Description
UIObject.draw Broadcast when an object is about to draw its graphics.
UIObject.hide Broadcast when an object’s state changes from visible to invisible.
UIObject.load Broadcast when subobjects are being created.
UIObject.move Broadcast when the object has moved.
UIObject.resize Broadcast when an object has been resized.
UIObject.reveal Broadcast when an object’s state changes from invisible to visible.
UIObject.unload Broadcast when the subobjects are being unloaded.
Property Description