This section desribes contMenu object, its properties and child objects. The contMenu is a child object of filesList. It represents an available by right click context menu.

Structure of section:


List of properties

Property name Type Description Default value
hideBuiltInItems Boolean Indicates whether flash built-in menu items (except Settings) are displayed in the context menu. true
hideSortItems Boolean Indicates whether sorting menu items are displayed in the context menu. true
Examples:

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

flashvars["view.filesList.contMenu.hideBuiltInItems"] = true;



The contMenu has the following menuItem objects:


addItem - shows a "Browse file" dialog.

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. true
enabled Boolean Indicates whether menu item is enabled. true
caption String Gets or sets name of menu item that is displayed to the user. "Add files"
Examples:

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

flashvars["view.filesList.contMenu.addItem.visible"] = true;



removeItem - removes all selected files in the files list.

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. true
enabled Boolean Indicates whether menu item is enabled. false
caption String Gets or sets name of menu item that is displayed to the user. "Remove"
Examples:

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

flashvars["view.filesList.contMenu.removeItem.visible"] = true;



clearItem - removes all files in the files list.

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. true
enabled Boolean Indicates whether menu item is enabled. false
caption String Gets or sets name of menu item that is displayed to the user. "Clear"
Examples:

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

flashvars["view.filesList.contMenu.clearItem.visible"] = true;



editItem - shows a custom property edit dialog(filePropDlg).

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. true
enabled Boolean Indicates whether menu item is enabled. false
caption String Gets or sets name of menu item that is displayed to the user. "Edit file properties"
Examples:

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

flashvars["view.filesList.contMenu.editItem.visible"] = true;



uploadItem - initiates an upload operation. Only unuploaded files will be uploaded.

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. true
enabled Boolean Indicates whether menu item is enabled. false
caption String Gets or sets name of menu item that is displayed to the user. "Upload"
Examples:

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

flashvars["view.filesList.contMenu.uploadItem.visible"] = true;



sortAscendingItem - applies ascending order to a current sorting.

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. false
enabled Boolean Indicates whether menu item is enabled. true
caption String Gets or sets name of menu item that is displayed to the user. "Sort ascending"
Examples:

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

flashvars["view.filesList.contMenu.sortAscendingItem.visible"] = false;



sortDescendingItem - applies descending order to the current sorting.

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. false
enabled Boolean Indicates whether menu item is enabled. true
caption String Gets or sets name of menu item that is displayed to the user. "Sort descending"
Examples:

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

flashvars["view.filesList.contMenu.sortDescendingItem.visible"] = false;



sortNameItem - sorts files in the upload queue by the "name" field.

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. true
enabled Boolean Indicates whether menu item is enabled. true
caption String Gets or sets name of menu item that is displayed to the user. "Sort by name"
Examples:

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

flashvars["view.filesList.contMenu.sortNameItem.visible"] = false;



sortTypeItem - sorts files in the upload queue by the "type" field.

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. true
enabled Boolean Indicates whether menu item is enabled. true
caption String Gets or sets name of menu item that is displayed to the user. "Sort by type"
Examples:

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

flashvars["view.filesList.contMenu.sortTypeItem.visible"] = false;



sortSizeItem - sorts files in the upload queue by the "size" field.

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. true
enabled Boolean Indicates whether menu item is enabled. true
caption String Gets or sets name of menu item that is displayed to the user. "Sort by size"
Examples:

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

flashvars["view.filesList.contMenu.sortSizeItem.visible"] = false;



sortCreDateItem - sorts files in the upload queue by the "creation date" field.

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. true
enabled Boolean Indicates whether menu item is enabled. true
caption String Gets or sets name of menu item that is displayed to the user. "Sort by creation date"
Examples:

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

flashvars["view.filesList.contMenu.sortCreDateItem.visible"] = false;



sortModDateItem - sorts files in the upload queue by the "modofication date" field.

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. true
enabled Boolean Indicates whether menu item is enabled. true
caption String Gets or sets name of menu item that is displayed to the user. "Sort by mod. date"
Examples:

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

flashvars["view.filesList.contMenu.sortModDateItem.visible"] = false;



sortStatusItem - sorts files in the upload queue by the "status" field.

List of properties:

Property name Type Description Default value
visible Boolean Indicates whether menu item is displayed in the context menu. true
enabled Boolean Indicates whether menu item is enabled. true
caption String Gets or sets name of menu item that is displayed to the user. "Sort by status"
Examples:

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

flashvars["view.filesList.contMenu.sortStatusItem.visible"] = false;