FileViewer.translation

Availability

Flash Player 7

Usage

FileViewer.translation:Object

Description

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

{
	downloadBtn:"Download File",
	zoomInBtn:"Zoom In",
	zoomOutBtn:"Zoom Out",
	notValid:"File extension is not valid."
}

Example

The following code will change the upload button label:

myFileViewer.translation = {
	downloadBtn:"Click to Download File"
}