Cant use getSVGDocument() in IE

"alefielm" <[email protected]>
Newsgroups gmane.text.xml.svg.devel
Message-ID <[email protected]>
This is the part of the script I use with SVG, no problem in FF or
Chrome, the shape "chaco" changes its color to white, in IE it goes
until  alert("SVG contentDocument 2!"); when I use the developer tools
and execute mySVG.getSVGDocument(); it throws : "Object doesn't support
this property or method", no errors in previous code.
Any idea on what I can try to solve this?
thank you!

    <script src="libs/svgweb/svg.js"></script>

<!--[if !IE]>-->
   <object data="ArgCABAyNombres1.svg" type="image/svg+xml"
           width="630" height="1080" id="mySVGObject" > <!--<![endif]-->
<!--[if lt IE 9]>
   <object src="ArgCABAyNombres1.svg" classid="image/svg+xml"
           width="630" height="1080" id="mySVGObject" > <![endif]-->
<!--[if gte IE 9]>
   <object data="ArgCABAyNombres1.svg" type="image/svg+xml"
           width="630" height="1080" id="mySVGObject" > <![endif]-->
   </object>
  <script>
  var mySVG = document.getElementById("mySVGObject");
  var svgDoc;

function carga() {

        alert("SVG contentDocument 2!");
       var SD=mySVG.getSVGDocument();
       alert("SVG contentDocument Loaded!");
       E=SD.getElementById('Chaco');
       E.style.fill='#ffffff';
       alert("SVG contentDocument Loaded!");
  };

window.onsvgload = function() {
   carga();
}

  </script>




------------------------------------

-----
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.