Property
UIObject.visible
UIObject.width
UIObject.x
UIObject.y
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.
Event
UIObject.draw
UIObject.hide
UIObject.load
UIObject.move
UIObject.resize
UIObject.reveal
UIObject.unload
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
There are four possible values:
is
.
"none"
•
The label doesn't resize or align to fit the text.
none
•
The right and bottom sides of the label resize to fit the text. The left and top sides
left
don't resize.
Description
A Boolean value indicating whether the object is visible (
not (
).
false
The width of the object, in pixels. Read-only.
The left edge of the object, in pixels. Read-only.
The top edge of the object, in pixels. Read-only.
Description
Broadcast when an object is about to draw its graphics.
Broadcast when an object's state changes from visible to invisible.
Broadcast when subobjects are being created.
Broadcast when the object has moved.
Broadcast when an object has been resized.
Broadcast when an object's state changes from invisible to visible.
Broadcast when the subobjects are being unloaded.
,
,
"none"
"left"
"center"
, and
. The default value
"right"
Label component
) or
true
property.
text
447
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?