Just a side bar on this.  I believe a concern about using the 
eventdispatcher like the one in starling was that it was slower than one we use 
from flash.events.  It had to do with the fact the player was managing the 
events vs using an actionscript driven one.  Bumped into that when I explored 
managing the lists of the active events and I even made single serving events 
that would remove themselves after one call.


-Mark


-----Original Message-----
From: Michael Schmalle [mailto:teotigraphix...@gmail.com] 
Sent: Tuesday, May 19, 2015 6:30 AM
To: dev@flex.apache.org
Subject: Re: [FlexJS] Event names

NOTE: I forgot to say that in the EventManager in the component framework
can do it;

https://github.com/Gamua/Starling-Framework/blob/master/starling/src/starling/events/EventDispatcher.as

See the method invokeEvent(), line 140. In a way, this makes the need for a
subclassed Event obsolete, the data IS the payload which can be a primitive
value or vo/struct class.

The client knows what it needs.

Mike

Reply via email to