actionscript 3 - Flash Player event bubbling/capturing mode -


can please give simple example of use capture mode rather bubbling mode flash player event?

most of time using bubbling mode , set usecapture false (when adding event listner). ideal situation use capturing phase?

basically if want stop propagation, should use capturing phase. example, have default keyboard listener, , want cancel in rare condition. there points when may want use capturing phase, can achieved without it. understand capturing , bubbling phase, see image below:

enter image description here


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

jquery - How can I dynamically add a browser tab? -