## Aurigma Image Uploader Flash 7.0.1

# PHP API Changes between Versions 1 and 7

- Collapse All Sections
- Language Filter ( all languages )

## AllFilesEnumerator Class

The AllFilesEnumerator class is eliminated. Use the UploadHandler class instead; for more information see the Saving Uploaded Files in PHP topic.

## CommonDialog Class

### Properties

| Old Member | New Member
--- | --- | ---
| CommonDialog.CancelButton | CommonDialog.CancelButtonText
| CommonDialog.OkButton | CommonDialog.OkButtonText

## FileInfo Class

The FileInfo class is renamed to ConvertedFile.

### Properties

| Old Member | New Member
--- | --- | ---
| new property | The ConvertedFile.FileContent property gets content of this converted file represented by a string.
| FileInfo.Height | ConvertedFile.Height
| FileInfo.Mode | ConvertedFile.Mode
| FileInfo.Name | ConvertedFile.Name
| FileInfo.Size | ConvertedFile.Size
| FileInfo.Width | ConvertedFile.Width

### Methods

| Old Member | New Member
--- | --- | ---
| FileInfo.SaveAs | Eliminated. Use the ConvertedFile.moveTo(string) method instead.

## ImagePreviewWindow Class

### Properties

| Old Member | New Member
--- | --- | ---
| ImagePreviewWindow.ClosePreviewToolTip | ImagePreviewWindow.ClosePreviewTooltip

## ImageUploaderFlash Class

### Properties

| Old Member | New Member
--- | --- | ---
| ImageUploaderFlash.DebugScriptMode | The DebugScriptMode property is totally updated; now it means a debug mode which will be used to display messages if the DebugScriptLevel is greater than 0.
| ImageUploaderFlash.ListView | ImageUploaderFlash.UploadPane
| ImageUploaderFlash.StatusPanel | ImageUploaderFlash.StatusPane
| ImageUploaderFlash.TopPanel | ImageUploaderFlash.TopPane

## ListView Class

ListView 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

## PackageFilesEnumerator Class

The PackageFilesEnumerator class is eliminated. Use the Package.UploadedFiles property instead; see the Saving Uploaded Files in PHP topic.

## PostFields Class

### Fields

| Old Member | New Member
--- | --- | ---
| PostFields.SourceXResolution | PostFields.HorizontalResolution
| PostFields.SourceYResolution | PostFields.VerticalResolution

## Restrictions Class

### Properties

| Old Member | New Member
--- | --- | ---
| Restrictions.FileFilters | Restrictions.FileMask
| Restrictions.MaxTotalSize | Restrictions.MaxTotalFileSize

## StatusPanel Class

The StatusPanel 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.SendButtonText | ImageUploaderFlash.UploadButtonText
| StatusPanel.SendingLabel | StatusPane.SendingText
| StatusPanel.StopButtonText | ImageUploaderFlash.CancelUploadButtonText
| StatusPanel.TotalFilesLabel | StatusPane.NoFilesToUploadText
StatusPane.FilesToUploadText

## TopPanel Class

The TopPanel 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

## UploadedFile Class

### Properties

| Old Member | New Member
--- | --- | ---
| UploadedFile.FileIndex | UploadedFile.Index
| UploadedFile.FirstUploaded | Eliminated.
| UploadedFile.PackageCount | Package.PackageCount
| UploadedFile.PackageFileCount | Package.PackageFileCount
| UploadedFile.PackageGuid | Package.PackageGuid
| UploadedFile.PackageIndex | Package.PackageIndex
| UploadedFile.SourceXResolution | UploadedFile.HorizontalResolution
| UploadedFile.SourceYResolution | UploadedFile.VerticalResolution
| new property | UploadedFile.Tag

## UploadedFiles Class

The UploadedFiles class is eliminated. Use the UploadHandler class instead; for more information see the Saving Uploaded Files in PHP topic.

### Properties

| Old Member | New Member
--- | --- | ---
| UploadedFiles.AllFilesEnumerator | Eliminated. Use the argument of a callback function set by the AllFilesUploadedCallback property instead.
| UploadedFiles.PackageFilesEnumerator | Eliminated. Use the Package.UploadedFiles property instead.
| UploadedFiles.SessionTimeout | UploadHandler.CacheAliveTimeout

### Methods

| Old Member | New Member
--- | --- | ---
| UploadedFiles.checkAllFilesUploaded(string) | Eliminated. Use the UploadHandler.AllFilesUploadedCallback and UploadHandler.FileUploadedCallback properties to set callback functions and the UploadHandler.processRequest() method to enable processing of Image Uploader Flash requests.
| UploadedFiles.saveFiles(string) | UploadHandler.saveFiles(string)