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

Reply via email to