Then it was me misunderstanding what Source meant. Honest I had never used that
property. Again my fault. You're right.
Michael Bürge wrote:
> ?????
> in an eventlistener e.getSource() till now always returned me a reference to
> the dynlayer the listener is attached to.
>
> this is the bubbleEvent-Method of the old api and the src property gets
> updated:
>
> MouseEvent.prototype.bubbleEvent=function() {
> if (!this.bubble || this.src.getClass()==DynDocument ||
> this.src.parent==null) return;
> this.x+=this.src.x;
> this.y+=this.src.y;
> this.src=this.src.parent; // <<==
> this.src.invokeEvent(this.type,this);
> this.bubbleEvent();
> return;
> };
>
> how am i supposed to find out on which layer the event has been fired
> otherwise?
>
> > The source property points to the layer where the event started. It
> > doesn't have to changed but in a few cases of mouseover in IE, which are
> > already being corrected in prebubbleCode()
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
> >
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev
Re: [Dynapi-Dev] DynAPI X: event-bubbling
Jordi - IlMaestro - Ministral Thu, 22 Mar 2001 09:50:33 -0800
- [Dynapi-Dev] DynAPI X: event-bubbling Michael B�rge
- Re: [Dynapi-Dev] DynAPI X: event-bubbli... Jordi - IlMaestro - Ministral
- Re: [Dynapi-Dev] DynAPI X: event-bubbli... Michael B�rge
- Re: [Dynapi-Dev] DynAPI X: event-bubbli... Jordi - IlMaestro - Ministral
- Re: [Dynapi-Dev] DynAPI X: event-bubbli... Michael B�rge
- Re: [Dynapi-Dev] DynAPI X: event-bubbli... Jordi - IlMaestro - Ministral
- Re: [Dynapi-Dev] DynAPI X: event-bu... Michael B�rge
