• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

onSoundComplete

There's also a handy event handler called onSoundComplete, which lets you execute a chunk of code whenever the sound finishes playing.

frogSound.onSoundComplete = function()
{
    trace("Was that you?");
}


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint