From: "Leif W" <[EMAIL PROTECTED]>
Sent: 2005 August 10 Wednesday 13:12
From: "Bob Jamison" <[EMAIL PROTECTED]>
Sent: 2005 August 09 Tuesday 19:09
I have a child layer, in which I want to be able to click and get the
x and y values of where I clicked -- so far, it's getting the x and y
value relative to the page, not the layer. I'm using 3.0.
I've made a simple example, which looks very much likes Doug's, so I
just merged the differences. It seems to work ok for me.
DynAPI: 3.0.0-beta2
Browsers: Mozilla Firefox 1.0.6, Internet Explorer 6
OS WinXP SP2
Hmm, what looks odd to me are these...
var photo = dynapi.document.addChild( new
DynLayer(null,0,0,600,400) );
var bg1 = photo.addChild(new DynLayer(null,0,0,600,400));
var lyr1 = photo.addChild(new DynLayer(null,$x,$y,10,10,'red'));
Well, I'll be... hmm, I don't remember using that syntax before, but it
works as I expect, so nevermind my comments.
Leif
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Dynapi-Help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dynapi-help