## Aurigma Image Uploader Flash 7.2.2

# JavaScript API Changes between Versions 1 and 7

- Collapse All Sections
- Language Filter ( all languages )

## commonDialog Class

### Properties

| Old Member | New Member
--- | --- | ---
| commonDialog.cancelButton | commonDialog.cancelButtonText
| commonDialog.okButton | commonDialog.okButtonText

## debug Class

### Properties

| Old Member | New Member
--- | --- | ---
| debug.traceMode | Eliminated. Use debug.mode instead.

### Methods

| Old Member | New Member
--- | --- | ---
| debug.showMessage(String,Number) | Eliminated. Use debug.showInfo(String) instead.
| debug.showWarning(String) | Eliminated. Use debug.showInfo(String) instead.
| debug.trace(String) | Eliminated. Use debug.showInfo(String) instead.

## imagePreviewWindow Class

### Properties

| Old Member | New Member
--- | --- | ---
| imagePreviewWindow.closePreviewToolTip | imagePreviewWindow.closePreviewTooltip

## imageUploaderFlash Class

### Properties

| Old Member | New Member
--- | --- | ---
| imageUploaderFlash.listView | imageUploaderFlash.uploadPane
| imageUploaderFlash.statusPanel | imageUploaderFlash.statusPane
| imageUploaderFlash.topPanel | imageUploaderFlash.topPane
| imageUploaderFlash.upload | imageUploaderFlash.uploadSettings

### Methods

| Old Member | New Member
--- | --- | ---
| imageUploaderFlash.stop | imageUploaderFlash.cancelUpload()
| imageUploaderFlash.send | imageUploaderFlash.upload()

## listView Class

The listView class is replaced with the uploadPane and paneItem classes.

### Properties

| Old Member | New Member
--- | --- | ---
| listView.addFilesButton | uploadPane.addFilesButtonText
| listView.descriptionIconToolTip | paneItem.descriptionEditorIconTooltip
| listView.enableDescription | imageUploaderFlash.enableDescriptionEditor
| listView.enableImageRotation | imageUploaderFlash.enableRotation
| listView.iconItemWidth | uploadPane.iconItemWidth
| listView.iconSize | uploadPane.iconSize
| listView.imageToolTip | paneItem.imageTooltip
| listView.itemToolTip | paneItem.itemTooltip
| listView.removeIconToolTip | paneItem.removalIconTooltip
| listView.rotateIconToolTip | paneItem.rotationIconTooltip
| listView.thumbnailPreviewSize | uploadPane.thumbnailPreviewSize
| listView.tileItemWidth | uploadPane.tileItemWidth
| listView.tilePreviewSize | uploadPane.tilePreviewSize
| listView.view | uploadPane.viewMode

## messages Class

### Properties

| Old Member | New Member
--- | --- | ---
| messages.cannotReadFileError | messages.cannotReadFile
| messages.fileTooLargeError | messages.maxFileSizeExceeded
| messages.fileTooSmallError | messages.fileSizeTooSmall
| messages.imageHeightTooLargeError | Eliminated. Use messages.dimensionsTooLarge instead.
| messages.imageHeightTooSmallError | Eliminated. Use messages.dimensionsTooSmall instead.
| messages.imageWidthTooLargeError | Eliminated. Use messages.dimensionsTooLarge instead.
| messages.imageWidthTooSmallError | Eliminated. Use messages.dimensionsTooSmall instead.
| messages.notAllFilesWereAddedError | messages.filesNotAdded
| messages.previewNotAvailableError | messages.previewNotAvailable
| messages.tooFewFilesError | messages.tooFewFiles
| messages.tooManyFilesError | messages.maxFileCountExceeded
| messages.totalFileSizeTooLargeError | messages.maxTotalFileSizeExceeded

## metadata Class

### Methods

| Old Member | New Member
--- | --- | ---
| metadata.addField(String,String) | metadata.addCustomField(String, String, Boolean)

## restrictions Class

### Properties

| Old Member | New Member
--- | --- | ---
| restrictions.fileFilters | restrictions.fileMask
| restrictions.maxTotalSize | restrictions.maxTotalFileSize

## statusPanel Class

The statusPanel class is renamed to statusPane.

### Properties

| Old Member | New Member
--- | --- | ---
| statusPanel.dataUploadedLabel | statusPane.dataUploadedText
| statusPanel.filesPreparedLabel | statusPane.filesPreparedText
| statusPanel.filesUploadedLabel | statusPane.filesUploadedText
| statusPanel.preparingLabel | statusPane.preparingText
| statusPanel.sendButton | imageUploaderFlash.uploadButtonText
| statusPanel.sendingLabel | statusPane.sendingText
| statusPanel.stopButton | imageUploaderFlash.cancelUploadButtonText
| statusPanel.totalFilesLabel | statusPane.noFilesToUploadText
statusPane.filesToUploadText

## topPanel Class

The topPanel class is renamed to topPane.

### Properties

| Old Member | New Member
--- | --- | ---
| topPanel.addFilesLink | topPane.addFilesHyperlinkText
| topPanel.orLabel | topPane.orText
| topPanel.removeAllFilesLink | topPane.clearAllHyperlinkText
| topPanel.titleLabel | topPane.titleText
| topPanel.viewComboBoxLabel | topPane.viewComboBoxText

## upload Class

The upload class is renamed to uploadSettings.

### Properties

| Old Member | New Member
--- | --- | ---
| upload.actionUrl | uploadSettings.actionUrl
| upload.redirectUrl | uploadSettings.redirectUrl

## uploadErrorDialog Class

### Properties

| Old Member | New Member
--- | --- | ---
| uploadErrorDialog.hideDetails | uploadErrorDialog.hideDetailsButtonText
| uploadErrorDialog.showDetails | uploadErrorDialog.showDetailsButtonText

- DimensionsTooSmall (ASP.NET)
- DimensionsTooSmall (PHP)
- dimensionsTooSmall (JavaScript)

- DimensionsTooLarge (ASP.NET)
- DimensionsTooLarge (PHP)
- dimensionsTooLarge (JavaScript)