The first “flex” was a typo and it should have been “flash”.
I’m not sure my question made sense, but I do have a related question: Why this?
COMPILE::SWF
public class HTTPServiceBase extends EventDispatcher
{
}
COMPILE::JS
public class HTTPServiceBase extends HTMLElementWrapper
{
}
Why is the JS side not extending EventDispatcher as well?
On Jul 3, 2016, at 5:13 PM, Alex Harui <[email protected]> wrote:
>
>
> On 7/3/16, 1:52 AM, "Harbs" <[email protected]> wrote:
>
>> I’m struggling to understand events in FlexJS. It looks like events are
>> conditionally handled to be either “flex” events on the swf side of
>> “flex” events on the JS side. Specifically, I’m looking at HTTPService.
>> Why does it not use flex events for everything?
>
> I'm not quite sure what you are referring to. Each class should output
> the same org.apache.flex.events.Event or similar for use by application
> developers and downstream libraries. Internally it might have to grab
> different events though.
>
> -Alex
>