S > Sound.onLoad

 

Sound.onLoad

Availability

Flash Player 6.

Usage

mySoundObject.onLoad = callbackFunction

Parameters

mySoundObject A Sound object.

callbackFunction A function.

Returns

Nothing.

Description

Event handler; invoked automatically when a sound loads. You must create a function that executes when the onLoad event is invoked. You can use either an anonymous function or a named function.

See also

Sound.onSoundComplete