Re: [FlexJS] More event issues

2017-03-02 Thread Justin Mclean
HI,

> The problem is that the signature of public function 
> dispatchEvent(event:Event):Boolean does not work unless flash.events.Event is 
> specifically specified.

I’ve also seen this but it compiles and works fine when I run it.

Thanks,
Justin

Re: [FlexJS] More event issues

2017-03-02 Thread Alex Harui
I'm almost at the point where you can try the dual branch, which should in
theory take care of this.

-Alex

On 3/2/17, 2:12 PM, "Harbs"  wrote:

>I’m struggling with IEventDispatcher.
>
>I have event proxies which dispatch events from event dispatchers. For
>this to work, the pseudo-event dispatcher implements IEventDispatcher,
>but does not inherit for EventDispatcher.
>
>It implements its own dispatchEvent(). The problem is that the signature
>of public function dispatchEvent(event:Event):Boolean does not work
>unless flash.events.Event is specifically specified.
>
>Harbs