This section desctibes a label object and its proprties, default values of properties for different instances of label object.
Structure of section:
- Properties of label object
-
Default values for:
infoLabel
statusLabel
fileListStatusLabel
- labelStyle object
List of properties
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 |
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 |
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";