# Sound.onLoad()

#### Availability

Flash Player 6.

#### Usage

`my_sound``.onLoad =` `callbackFunction`

#### Parameters

`callbackFunction` A function.

#### Returns

Nothing.

#### Description

Event handler; invoked automatically when a sound loads. You must create a function that executes when the this handler is invoked. You can use either an anonymous function or a named function (for an example of each, see `Sound.onSoundComplete``)`.

#### See also

`Sound.loadSound()`