EventSound
| Kind of class: | class |
|---|---|
| Inherits from: | Sound |
| Classpath: | org.asapframework.management.sound.EventSound |
| File last modified: | Tuesday, 03 October 2006, 09:43:52 |
Extension of Sound class that sends events when internal event handler functions are called.
Otherwise functionally compatible with internal Sound class.
Events broadcast to listeners:
Summary
Constructor
Instance properties
Instance methods
Event handlers
Constructor
EventSound
function EventSound (
inClip:MovieClip)
Constructor.
Parameters:
inClip:
"owner" of the Sound object
Instance properties
addEventListener
addEventListener:Function
(read,write)
removeEventListener
removeEventListener:Function
(read,write)
Instance methods
toString
function toString (
) : String
Event handlers
onLoad
function onLoad (
inSuccess:Boolean) : Void
Handler of the onLoad event, received when an external sound has been loaded
Events broadcast to listeners:
EventSoundEvent with type:
ON_LOADED onSoundComplete
function onSoundComplete (
) : Void
Handler of the onSoundComplete event, received when a sound is done playing
Events broadcast to listeners:
EventSoundEvent with type:
ON_COMPLETE