Hi, let’s see if i understood the logics behind this new cool feature in as3:
var a = new Sprite();
var b = new Sprite(); //imagine there's some graphics inside there...
a.addChild(b);
a.doubleClickEnabled = true; // this doesn't work
b.doubleClickEnabled = true; //thisone does
a.addEventListener(MouseEvent.DOUBLE_CLICK, func);
…so from the events perspective, the doubleClickEnabled property needs to be set on “target”, not “currentTarget”…
OK now, I was lucky to figure it out pretty fast, but:
lets say my parent mc (that handles the listener) has like tons of children… I really do have to loop through them and set all of their doubleClickEnabled props to true???
really?!?!?!