• Hi everyone,

    I’m having troubles running a SWF with an external XML WITHOUH having to keep the files in the root dir (this link talks about that).

    Basically, the movie itself is loaded fine, but I cannot get the XML loaded, no matter what I try.

    Has anyone succeeded in doing so?

    <script type="text/javascript">
    var flashvars = {};
    flashvars.xml_file = "tfile_main.xml";
    var params = {wmode: "transparent"};
    params.quality = "high";
    params.scale = "noscale";
    params.allowScriptAccess = "sameDomain";
    var attributes = {};
    swfobject.embedSWF("<?php bloginfo('template_url'); ?>/main_big.swf","myAlternativeContent", "980", "800", "9.0.0", false, flashvars,params, attributes);
     </script>

    Any help is appreciated!

    Cheers!

The topic ‘swfobject.js external XML not working’ is closed to new replies.