The ‘EventBroadcaster’ class is a singleton event dispatcher. It can be used to easily broadcast events across an application.
|EventBroadcaster||The ‘EventBroadcaster’ class is a singleton event dispatcher.|
|c_objInstance||Stores the singleton instance of this class.|
|getInstance||Gets the singleton instance of the event broadcaster.|
|SingletonEnforcer||Simple class for enforcing the fact that the ‘EventBroadcaster’ class is to be used as a singleton.|
Stores the singleton instance of this class.
private static var c_objInstance: EventBroadcaster
public function EventBroadcaster( objEnforcer: SingletonEnforcer )
Gets the singleton instance of the event broadcaster.
public static function getInstance():EventBroadcaster