This section describes root properties of the ShortView user interface. Use the following string reference "view.<propertyName>" to access to below properties.
List of properties
| Property name | Type | Description | Default values |
|---|---|---|---|
| progressAllText | string | Gets or set text in the progressAll progress bar. Formatting constants are supported. | "#FILE_NAME# #PERCENTS_DONE#%" |
| resizedProgressText | string | Gets or set text in the resizedProgress progress bar. Formatting constants are supported. | "#RESIZED_NAME#" |
| progressFileText | string | Gets or set text in the progressFile progress bar. Formatting constants are supported. | "" |
| statusLabelOnReadyText | string | Gets or sets message that will be displayed in the statusLabel label when ShortView is loaded. Formatting constants are supported. | "Choose files to upload." |
| statusLabelOnFilesAddedText | string | Gets or sets message that will be displayed in the statusLabel label when files are added to the files list. Formatting constants are supported. | "#FILES_COUNT# files selected\nTotal size is #TOTAL_FILES_SIZE#" |
| statusLabelOnPrepareResizedImagesText | string | Gets or sets text for statusLabel label. The text is displayed during preparation of upload resized images. Formatting constants are supported. | "Images are being prepared for upload..." |
| statusLabelOnProgressResizedText | string | Gets or sets text for statusLabel label. The text is displayed during resized images uploading. Formatting constants are supported. | "#PERCENTS_DONE#% done (#FILE_INDEX# of #FILES_COUNT# images uploaded)" |
| statusLabelOnProgressText | string | Gets or sets message that will be displayed in the statusLabel label when upload is in progress. Formatting constants are supported. | "#PERCENTS_DONE#% uploaded(#BYTES_LOADED# of #BYTES_TOTAL#)\nTime left: #REMAINING_TIME#\nTransfer rate: #TRANSFER_RATE#" |
| statusLabelOnCompleteText | string | Gets or sets message that will be displayed in the statusLabel label when upload will be completed. Formatting constants are supported. | "Upload has been completed." |
| statusLabelOnCancelText | string | Gets or sets message that will be displayed in the statusLabel label when upload is in progress. Formatting constants are supported. | "Upload has been cancelled." |
| statusLabelOnErrorText | string | Gets or sets message that will be displayed in the statusLabel label when upload is in progress. Formatting constants are supported. | "Upload has failed." |
| backgroundColor | Array | Array of numbers for the background gradient color of the main area. | [#EFEFEF] |
| borderColor | Array | Array of numbers for the border gradient color of the main area. | [#ebe9e9] |
| autopositionMode | Boolean | Turns on an auto position mode. If true all UI elements is auto scaled due to control resizing. | true |
Examples:
The property of the ShortView is assigned via flashvars object of SWFObject on the html page:
flashvars["view.backgroundColor"] = "#fdfdfe|#d7e0e7";

