Scott Barnes wrote:


Heya Robin,

Is that a custom ver of the MX in-built EventDispatcher or just a derived version of it? - just curious as i'm yet to touch base on the i2 stuff.

Scott

It's just a wrapper for the normal EventDispatcher to make it a singleton (a way to make sure there is only one of something) accessible through a static method (you don't need to instanciate EventBroadcaster to call getInstance()).


If you wanted to you could ge rid of the getInstance() and have a static dispatchEvent() to call the real one on your private instance - not sure why i2 guys didn't do it this way.

Robin
http://www.rocketboots.com.au

PS: We're shortly commencing on a Flash (not Flex) project using the approach I described in the previous mail.

---
You are currently subscribed to fugli as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to