Gets or sets an array of AfterPackageUpload event handlers.

Syntax

JavaScript

Initialize

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

Get/Set Value at Runtime

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

Property Value

Type: $au.event

The string containing the 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.