I looked into it too. IMO, it isn't the setParentEventTarget, we never finished the bubbling impl for non-DOM events. Probably because bubbling is discouraged, IMO, other than for interactive DOM events. It will be expensive to make it work, so better to discourage usage for now and encourage propagation of semantic events.
My 2 cents, -Alex From: Yishay Weiss <[email protected]<mailto:[email protected]>> Date: Monday, September 5, 2016 at 1:06 AM To: Alex Harui <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: RE: [FlexJS] Bubbling Problem It looks like goog.events.EventTarget.setParentEventTarget() is never called, so bubbling is ineffective. Maybe this should be done in UIBase.addElement() ? From: Yishay Weiss<mailto:[email protected]> Sent: Monday, September 5, 2016 10:10 AM To: Alex Harui<mailto:[email protected]>; [email protected]<mailto:[email protected]> Subject: RE: [FlexJS] Bubbling Problem In develop it works on SWF, but not on JS. In sprite-refactor it fails in both. From: Alex Harui<mailto:[email protected]> Sent: Sunday, September 4, 2016 5:23 PM To: [email protected]<mailto:[email protected]><mailto:[email protected]> Subject: Re: [FlexJS] Bubbling Problem It doesn't work on either SWF or JS? I've not done much testing on either, but I'd be surprised if it failed in the develop branch on SWF. -Alex On 9/4/16, 1:59 AM, "yishayw" <[email protected]<mailto:[email protected]>> wrote: >https://paste.apache.org/ORA4 > >In this simple example bubbling isn't working. Am I doing anything wrong? >I >tried this on both sprite-refactor and development branches. > > > >-- >View this message in context: >http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Bubbling-Probl >em-tp54796.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.
