These methods tell the player what events to send to the
container, and to which JavaScript function. Event listener functions
should take one argument to receive the event. The event is an
associative array object. The keys used in these objects are detailed in
Events.
clearAllEventListeners():void
Tell the player to stop sending events to the container.
clearEventListener(type):void
Tell the player to stop sending events of type to
the container.
setEventListener(type, listener):void
Tell the player to send all events of type to the
specified listener function. Both arguments must be strings. The
listener parameter can be the name of any JavaScript
function. This function is passed an event object whenever it is
called.