Hi Phil,
"Phil Wright" <[EMAIL PROTECTED]> wrote on 11/19/2006 03:34:08 PM:
> Try adding your EventListener to the Document Element instead.
This will not work, we only dispatch pointer events if the
pointer is over an element. This is as far as I know the correct
conformant behavior for an SVG implementation.
> EventTarget target =
(EventTarget)svgCanvas.getSVGDocument().getDocumentElement();
> target.addEventListener("click", new mouseClicked(), false);
> On 11/19/06, Peppe <[EMAIL PROTECTED]> wrote:
> public void run() {
> SVGElement
svgRoot =
> svgCanvas.getSVGDocument().getRootElement();
> EventTarget
target =
> (EventTarget)svgRoot;
> target.
> addEventListener("click", new mouseClicked(), false);
> }
>
> --
> Visit http://www.darkisle.com for photos of castles, cairns and other
historic
> sites in the British Isles.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]