----- Original Message -----
From: "ToddNY" <[EMAIL PROTECTED]>
To: "James Musick" <[EMAIL PROTECTED]>
Sent: Wednesday, September 04, 2002 1:48 PM
Subject: Re: [Dynapi-Help] Layer event question


> Sounds good. You can cancel bubbling to parent layers. Siblings will not
get
> the same event because one will get the event. However you can just send
the
> event to the other sibling if you wanted to.  You could make a nice formal
> system for doing that.
>
> You can pass events to any other DynLayer you want to, and you can create
> your own events, etc., a special DynAPI feature, you can have you own
event
> system or modify what's linked to browser events.
>
> The layer event handling/bubbling is either DynAPI or browser based. The
> browser based events are another beast, IE and Netscape are pretty
> different.
>
> I think for DynAPI documentation on events go to the home page and docs.
Not
> much but it's very simple, just look at an example.
>
> Do you need printed documentation on browser events I could recommend a
book
> or 2.
>
> Todd.
>
> ----- Original Message -----
> From: "James Musick" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 04, 2002 1:03 PM
> Subject: [Dynapi-Help] Layer event question
>
>
> >
> >   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
>



-------------------------------------------------------
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