no custom event bubbling?

am i totally wrong or does bubbling not work for cpp, iphone: dispatchEvent(new Event("myEvent", true)); there doesnt seem to be any code for bubbling? is this expected?

Viewing 1 to 5 (5 Total)
no custom event bubbling?

tonypee

tonypee
Total Posts: 33
Joined: March 11, 2012

am i totally wrong or does bubbling not work for cpp, iphone:

dispatchEvent(new Event("myEvent", true));

there doesnt seem to be any code for bubbling? is this expected?

Tags:
Posted on March 21, 2012 at 10:27 AM

singmajesty

singmajesty
Total Posts: 2147
Joined: August 25, 2011

Re: no custom event bubbling?

Custom event bubbling was not implemented in NME 3.2, but this should be present in NME 3.3.

Which version are you using?

Posted on March 21, 2012 at 11:58 AM

tonypee

tonypee
Total Posts: 33
Joined: March 11, 2012

Re: no custom event bubbling?

i thought SVN

ill have to update my parallels to svn... just realized its only osx running svn...

Posted on March 21, 2012 at 7:01 PM

singmajesty

singmajesty
Total Posts: 2147
Joined: August 25, 2011

Re: no custom event bubbling?

RC2 was just released, so feel free to use the updated Windows installer, if you like:

http://www.haxenme.org/blog/2012/03/22/nme-3-3-0-rc2-release/...

Posted on March 21, 2012 at 7:20 PM

brunoimbrizi

brunoimbrizi
Total Posts: 15
Joined: March 03, 2012

Re: no custom event bubbling?

I was having problems listening to custom events in NME 3.3.3 targeting CPP and I realised the problem was in the addEventListeners arguments:

_level.addEventListener(CustomEvent.SHOT_STARTED, onShotStarted, false, 0, true); // doesn't work
_level.addEventListener(CustomEvent.SHOT_STARTED, onShotStarted); // works

Hope it helps other people.

Posted on June 18, 2012 at 9:50 AM