## Aurigma Image Uploader Flash 1.0

# events.afterPackageUpload Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )

Gets or sets an array of AfterPackageUpload event handlers.

## Syntax

### Initialize

### JavaScript

    $au.imageUploaderFlash({
        events: {
            //...other params...
            afterPackageUpload: [],
            //...other params...
        }
    })

### Get/Set Value at Runtime

### JavaScript

    $au.imageUploaderFlash('uploaderID').events().afterPackageUpload(value);
    value = $au.imageUploaderFlash('uploaderID').events().afterPackageUpload();

### Property Value

Type: $au.event

The string containing a name of AfterPackageUpload event handler or an array of handler names.

## Remarks

This event fires when the current package was uploaded successfully.

### Parameters

fileIndex
  zero-based index of the package (i.e. request) inside the current upload session.

response
  HTML code of the page returned from the server-side upload script after processing a current package.

### Returns

A boolean value (true or false). If event handler returns false, the upload process stops and the Progress event is fired with error code 18.

## See Also

### Reference

- ClientEvents.AfterPackageUpload PHP Property

### Manual

- Using Image Uploader Flash at Runtime