On Mon, 5 Apr 2004 21:24:09 +0100, Julius Mong <jxm96c (AT) hotmail (DOT) com> wrote:
[snip]
Quote:
SVGDoc = parent.right.document.embeds["svgPage"].getSVGDocument();
SVGRoot = SVGDoc.getDocumentElement();
fx = SVGRoot.currentTranslate.x;
And IE would complain that line 14 char 5 : Object required, and line 14
is the fx = ... line so I suppose SVGDoc wasn't initiated properly and
hence SVGRoot wasn't either. I have no idea why this wouldn't work...
could someone point me in the right direction please... |
At a guess (I've never used SVG), I'd say the problem lies with the
getDocumentElement() method call. The ECMAScript bindings for SVGDocument
and its base interfaces don't include that method; it is, in fact, a Java
method. Try using the Document.documentElement property instead.
It would be much easier if you could post a complete example somewhere.
Mike
--
Michael Winter
M.Winter (AT) blueyonder (DOT) co.invalid (replace ".invalid" with ".uk" to reply)