Re: getSVGDocument error in DHTML Application

Evan Dumas wrote:
> I'm using adobe's svg viewer in a dhtml application written in vb. when
> attempting to change the svg document used as the background for the main
> svg document (within the embed tag) i'm getting an error stating. object
> does not support property or method.
> 
> i've seen several articles and examples showing
> document.embeds("embed_element_id").getSVGDocument(); or variations of this
> concept. non of them work. i've even tried the disabling of the browser
> error handler example from adobe and the creation of an active x object and
> using .load to make sure the svg document is loaded.
> 
> Any ideas/help would be much appreciated.

Try (JavaScript)
   document.embeds.embedId.getSVGWindow().getSVGDocument()

Received on Monday, 2 June 2003 03:30:02 UTC