FileUploader.translation

Availability

Flash Player 8

Usage

FileUploader.translation:Object

Description

Property; enables the changing of text used by the component internally. The default value is:

{
	deleteBtn:"Delete",
	browseBtn:"Browse",
	uploadBtn:"Upload",
	NoUpload:"Nothing to upload",
	UploadFailed:"File upload failed",
	FileSizeOverflow:"File size limit overflow",
	ExtensionBlocked:"File with that extension is not allowed",
	FileExists:"File with that name exists",
	AccessDenied:"Access denied",
	NotAuthorized:"Not Authorized"
}

Example

The following code will change the upload button label:

myFileUploader.translation = {
  uploadBtn:"Browse & Upload"
}