![]() ![]() | |
Flash Player 6.
my_sound.onLoad =function(success){ // your statements here }
success A Boolean value of true if my_sound has been loaded successfully, false otherwise.
Nothing.
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). You should define this handler before you call my_sound.loadSound().
![]() ![]() | |