Forums

swfobject.js + external XML + not working (1 post)

  1. Lista155
    Member
    Posted 2 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic