[Pixlib] EventBroadcaster (Singleton) question

Mike B mike.morningmist at gmail.com
Tue Nov 15 14:16:28 EST 2005


Hi !

First, congratulation for this amazing library !

I have a question about EventBroadcaster :

How would you access dispatch functionality through Singleton :

I mean :
EventBroadcaster.getInstance().broadcastEvent(new DynBasicEvent( 'click' )
); ( ?)

(See the event-based approach iteration :two has taken with
mxml<http://www.richinternetapps.com/archives/000016.html>)
;


I like decoupling as much as possible my objects (without having to declare
EventBroadcaster in my constructor or inherit all my forms from a
EventBroadcasting based-class ).

Thanks,
Mike.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/pixlib_osflash.org/attachments/20051115/d78a119a/attachment.htm


More information about the Pixlib mailing list