Could someone provide a brief synopsis of how layer event handling and/or 
bubbling works (or a reference to such material)?

  I tried the following and was a bit suprised by the results...perhaps my 
interpratation is correct, but maybe not.

  1) created a DynLayer object and associated an event listener with it.
  2) in the listener.oncreate event I created 2 more layers and set them on 
top of (but with a slight offset) the original layer. Used addChild to add 
them to the layer. Each of these had an event listener associated with them 
also.

  3) when I clicked on one of the child layers I'd get the event handler for 
it and the parent firing, but not the event handler for the other child 
(even if they were overlapping).

  The conclusion I drew from this was simply that the way bubbling/event 
handling works in these circumstances is that an event will go from child to 
parent, but not from sibling to sibling even if they are on the same spot 
(visually).

  Is that roughly correct?

  Thanks,
  James

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to