Also, consider firing your function via an onload event - that way it shouldn't be called until the SVG is loaded
On 18/07/2006, at 11:36 PM, Martin Honnen wrote: > --- In [email protected], "jack2wsx" <[EMAIL PROTECTED]> > wrote: > >> <embed name='EmbedRPF' type='image/svg+xml' id='EmbedRPF' >> frameborder=0 width=100% height=100% src='RPF1.svg' ></embed> >> >> But when I insert the following js to get a handle on the SVG >> document: >> >> var DocRPF = printWin.document.embeds("EmbedRPF").getSVGDocument(); > > Well for a start you need > embeds["EmbedRPF"] > not > embeds("EmbedRPF") > (unless you use IE only and IE does it with embeds("EmbedRPF")). > > If you still have problems then consider posting a URL. > > > > > > > ------------------------ Yahoo! Groups Sponsor -------------------- > ~--> > See what's inside the new Yahoo! Groups email. > http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/1U_rlB/TM > -------------------------------------------------------------------- > ~-> > > ----- > To unsubscribe send a message to: svg-developers- > [EMAIL PROTECTED] > -or- > visit http://groups.yahoo.com/group/svg-developers and click "edit > my membership" > ---- > Yahoo! Groups Links > > > > > > > ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

