events.beforePackageUpload Property HTML5/Flash Uploader JavaScript

Supported technologies: Adobe FlashHTML 5

Gets or sets an array of BeforePackageUpload event handlers.

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    events: {
        //...other params...
        beforePackageUpload: [],
        //...other params...
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').events().beforePackageUpload(value);
value = $au.imageUploaderFlash('uploaderID').events().beforePackageUpload();

Property Value

Type: $au.event

The string containing the name of BeforePackageUpload event handler or an array of handler names.

Remarks

This event fires when the current package is about to be uploaded.

Parameters

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

See Also

Reference

Manual