Static Public Member Functions

gnash::AsBroadcaster Class Reference

AsBroadcaster facilities. More...

#include <AsBroadcaster.h>

List of all members.

Static Public Member Functions

static void initialize (as_object &obj)
 Initialize the given object as an AsBroadcaster.
static as_value initialize_method (const fn_call &fn)
 AsBroadcaster.initialize() AS method.
static as_objectgetAsBroadcaster ()
static void registerNative (as_object &global)
static void init (as_object &global, const ObjectURI &uri)

Detailed Description

AsBroadcaster facilities.

Member Function Documentation

static as_object* gnash::AsBroadcaster::getAsBroadcaster (  )  [static]

Return the global AsBroadcaster (the native one, immune to any override)

void gnash::AsBroadcaster::init ( as_object global,
const ObjectURI uri 
) [static]
void gnash::AsBroadcaster::initialize ( as_object obj  )  [static]

Initialize the given object as an AsBroadcaster.

AsBroadcaster class.

This method set the addListener,removeListener and broadcastMessage AS methods with the object, and set the _listners array member.

It is exposed so that Stage,TextField,Key,Mouse and Selection can call this internally.

The AsBroadcaster_init will take care of registering the _global.AsBroadcaster object and its 'initialize' method for user-defined broadcasters initialization

static as_value gnash::AsBroadcaster::initialize_method ( const fn_call fn  )  [static]
void gnash::AsBroadcaster::registerNative ( as_object global  )  [static]

The documentation for this class was generated from the following files: