Hi Thomas,
On 11/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
No, the problem is that your SVG document is probably a
'static' SVG document (no obvious scripting). In which
case it doesn't boot support for the SVG DOM. You can
fix this with the line:
JSVGCanvas.setDocumentState(JSVGCanvas.ALWAYS_DYNAMIC)
Then you should be able to just call 'getBBox()' and friends,
once the document is fully loaded, and the onload event has been
dispatched.
Hmm. I do that when I first create the canvas. Read that somewhere on the
FAQ and/or Wiki as well.
I'll have to try stepping through the code and see if I can see what is
going wrong where.
Thanks,
Phil
--
Visit http://www.darkisle.com for photos of castles, cairns and other
historic sites in the British Isles.