## Aurigma Image Uploader Flash 7.2.9

# ClientEvents.BeforeUpload Property

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

Gets or sets an array of BeforeUpload event handlers.

## Syntax

### PHP

### Initialize

    public function &getBeforeUpload() {
    }

    public function setBeforeUpload($value) {
    }

### Property Value

Type: array

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

## Remarks

This event fires when the upload is about to be started.

### Returns

A boolean value (true or false). If event handler returns false (or zero), the upload is cancelled. Otherwise, upload begins immediately after the event handler finishes. This makes the event handler convenient for validating additional data provided by user.

## See Also

### Reference

- $au.events.beforeUpload JavaScript Property

### Manual

- Using Image Uploader Flash at Runtime