no problem.
if the src gets updated, the x and y should also be (as in the old version).
but they don't seem to return the correct values anyway (at least not
always)

at the moment i'm trying to adopt some of my stuff to dynapi x, but i'm
running into troubles everywhere.
is there already an resource for know issues?
is the precreation-system supposted to work without glitches on windows? i'm
working on a mac and i have some strange things here (some dynlayers don't
have their elm and css-property set correctly, which of course breaks
everything) 

if you can tell me more, i might be able to help. otherwise i'm getting a
bit frustrated if i have to first find out what doesn't work before i can
actually try to fix something.


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


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to