[Pixlib] EventBroadcaster (Singleton) question
mike.morningmist at gmail.com
Tue Nov 15 14:16:28 EST 2005
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
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 ).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pixlib