Packagenet.guttershark.events.delegates.components
Classpublic class FLVPlaybackEventListenerDelegate
InheritanceFLVPlaybackEventListenerDelegate Inheritance EventListenerDelegate

The FLVPlaybackEventListenerDelegate Class is an IEventListenerDelegate that implements adding event listeners to an FLVPlayback component, as well as handling an event when dispatched, and passing back to your handler delegate.

This can be used with the EventManager singleton to delegate event listener logic over to this class.


Example
Setting up the FLVPlaybackEventListenersDelegate on EventManager:
  import net.guttershark.events.listenerdelegates.FLVPlaybackEventListenerDelegate.
  EventManager.gi().addEventListenerDelegate(FLVPlayback,FLVPlaybackEventListenerDelegate);
  

See the EventManager class for a list of supported events.



Public Properties
 PropertyDefined by
 InheritedcallbackDelegate : *
The calbackDelegate.
EventListenerDelegate
 InheritedcallbackPrefix : String
The callback prefix on the target callbackDelegate;
EventListenerDelegate
 InheritedcycleAllThroughTracking : Boolean
Cycle all events through tracking framework.
EventListenerDelegate
Protected Properties
 PropertyDefined by
 InheritedhandleEvent : Function
A function reference on EventManager.
EventListenerDelegate
 Inheritedobj : *
A reference to the obj that listeners were added too.
EventListenerDelegate
Public Methods
 MethodDefined by
  
addListeners(obj:*):void
Add listeners to the passed obj.
FLVPlaybackEventListenerDelegate
 Inherited
dispose():void
Dispose of this event listener delegate.
EventListenerDelegate
Protected Methods
 MethodDefined by
  
Remove listeners on the flv playback component.
FLVPlaybackEventListenerDelegate
Method detail
addListeners()method
public override function addListeners(obj:*):void

Add listeners to the passed obj. Make sure to only add listeners to the obj if the (obj is MyClass) && the callback methods for the target listener are defined.

Parameters
obj:*
removeEventListeners()method 
protected override function removeEventListeners():void

Remove listeners on the flv playback component.