hardc0d3r:
> i tried adding an onzzom function but i cant make it work..
>
> EventTarget t = (EventTarget)svgRoot;
> t.addEventListener("onzoom", new OnZoomAction(), false);
> t.addEventListener("onscroll", new OnScrollAction(), false);
The String you pass as the first argument to addEventListener() should
be the “event type”, and not the name of the corresponding XML
attribute. So you should use "SVGZoom" and "SVGScroll".
--
Cameron McCormack, http://mcc.id.au/
xmpp:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]