On 8/17/16, 11:25 PM, "yishayw" <yishayj...@hotmail.com> wrote:
>If I listen on a click event on the application I expect to get all click >events bubbled up from contained elements. That works, however the target >is >the application rather than the element that was clicked on. This is due >to >ElementWrapper.forwarder() re-dispatching the event, where the >ElementWrapper is the application. Is this by design? Well yes, for events dispatched from the wrapped element, but you are correct that it won't work for bubbled events. There is no way to set the target of an event in Flash. We might have to build our own queue of listeners and call them directly, but even then, the target will be a wrapped element and not its wrapper. This might be an issue that kills the plan of wrapping Flash DisplayObjects. We'll see if someone comes up with a "easy" way of getting it to work. I'll ponder it while I'm sleeping. -Alex