This section desctibes a label object and its proprties, default values of properties for different instances of label object.

Structure of section:


List of properties

Property name Type Description
text* String Gets or sets the text for the label.
fontName String The name of the font for text in the label.
fontSize uint The size of the font for text in the label.
fontBold Boolean Specifies whether the text is boldface.
fontItalic Boolean Indicates whether text in the label is italicized.
fontUnderline Boolean Indicates whether the text in the label is underlined.
fontColor uint Indicates the color of the text when the label is enabled.
visible* Boolean Gets or sets a value that indicates whether the label instance is visible.
x* uint Gets or sets the x coordinate that represents the position of the label along the x axis.
y* uint Gets or sets the y coordinate that represents the position of the label along the y axis.
* - properties are not supported by labelsStyle object.


infoLabel

Description:

It displays a some information required by you at the top of the control by default.

List of default values:
Property name Default value
text Depends on infoLabelText property
fontName "_sans"
fontSize 12
fontBold false
fontItalic false
fontUnderline false
fontColor 0x000000
visible true
x 10
y 2

Description of appropriate property you can find here Properties of label object.


Examples:

The property of the infoLabel is assigned via flashvars object of SWFObject on the html page:

flashvars["view.infoLabel.fontName"] = "Arial";



statusLabel

Description:

It displays status information of upload process by default.

List of default values:
Property name Default value
text Depends on the following properties:
statusLabelOnProgressText
statusLabelOnCompleteText
statusLabelOnCancelText
statusLabelOnErrorText
fontName "_sans"
fontSize 12
fontBold false
fontItalic false
fontUnderline false
fontColor 0x000000
visible false
x 10
y** 297
** - property has above value when a size of the EAFlashUpload object on the page is 400x350. In other cases the value is changed due to auto resizing.

Description of appropriate property you can find here Properties of label object.


Examples:

The property of the statusLabel is assigned via flashvars object of SWFObject on the html page:

flashvars["view.statusLabel.fontName"] = "Arial";



fileListStatusLabel

Description:

It displays status information of file list by default.

List of default values:
Property name Default value
text Depends on fileListStatusLabelText property
fontName "_sans"
fontSize 12
fontBold false
fontItalic false
fontUnderline false
fontColor 0x000000
visible true
x 10
y** 269
** - property has above value when a size of the EAFlashUpload object on the page is 400x350. In other cases the value is changed due to auto resizing.

Description of appropriate property you can find here Properties of label object.


Examples:

The property of the fileListStatusLabel is assigned via flashvars object of SWFObject on the html page:

flashvars["view.fileListStatusLabel.fontName"] = "Arial";



labelsStyle

Description:

The labelsStyle is a setter object for instances of the label object. It has the same properties as the label object with a small difference they are have setters only. So, you will not be able to retrieve value of labelsStyle object property, you should retrieve the property of appropriate label object instead. Description of appropriate property you can find here Properties of label object. Marked with * symbol properties are not supported by the labelsStyle.

With labelsStyle you can apply a specific value for all instances of label object such as infoLabel, statusLabel, fileListStatusLabel.


Examples:

The "fontName" property is set for all label instances via flashvars object of SWFObject on the html page:

flashvars["view.labelsStyle.fontName"] = "Arial";