You are right, EventDispatcher is not a native class, but it is a
quite simple and clean solution, which implements some very useful
features missing from AsBroadcaster. I don't prefer the listener
object model of AsBroadcaster, I more like the callback model of
EventDispatcher, since it is far more flexible. The DOM3/AS3 event
model is great but I rarely need its complexity and additional
features, so I think EventDispatcher is an optimal solution in most of
the cases. Concerning the speed, I had no problems yet.

  Attila

e> EventDispatcher isn't native in the AS1/AS2 framework, AsBroadcaster is a
e> speed solution to implement an event model in your code.
e> 
e> The EventDispatcher in AS3 is compatible with the W3C DOM3 event model with
e> a custom implementation of all listeners...
e> 
e> For me in AS2 you can
e> 
e> 1 - use AsBroadcaster (speed)
e> 2 - use GDispatcher class and not AS2 EventDispatcher:
e> http://www.gskinner.com/blog/archives/000027.html
e> 3 - use my event model in VEGAS :) (compte event model)


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to