I have following piece of code in a AS3 class (in constructor), which is added to another class as child.
timer1 = new Timer(3000,0);
var tween1:Tween = new Tween(some code);
The problem is, that on each timer event i get trace: tick, tick. So it basically triggers twice. I tried to print in which phase events are, it returns me number 2, which i believe is bubbling phase(in both cases). Also events are not cancelable.
I do understand idea of bubbling, but i don’t understand why events bubble, when default behavior should be no bubbling?
If someone can tell me which lines of code to include and where(parent, child, constructor, event listener…) to disable this unwanted behavour i would be really grateful :)