Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorhunter
    • CommentTimeMar 17th 2008
     
    Hi,

    I am trying to place a swf in a Wordpress template that calls an xml file to populate a datagrid. The swf loads fine but does not draw the xml in. I am not an expert w/ swfobject and don't know if the code is the problem.

    Here is the js from the template:

    <script type="text/javascript" src="http://hunter.webfactional.com/wp-content/themes/WP-MagTheme10-Basic/js/swfobject.js"></script><!-- for the swf
    object-->
    <script type="text/javascript">
    var flashvars = {};
    var params = {};
    params.base = "http://hunter.webfactional.com/wp-content/uploads/"
    params.play = "true";
    params.loop = "true";
    params.menu = "false";
    params.quality = "high";
    params.scale = "noscale";
    params.salign = "l";
    params.wmode = "opaque";
    params.devicefont = "false";
    params.seamlesstabbing = "false";
    params.swliveconnect = "false";
    params.allowfullscreen = "false";
    params.allowscriptaccess = "sameDomain";
    params.allownetworking = "none";
    var attributes = {};
    attributes.align = "middle";
    swfobject.embedSWF("http://hunter.webfactional.com/wp-content/uploads/2008/03/pane1.swf", "myContent", "300", "250", "8.0.0", false, flashvars, params, attributes);
    </script>

    Then the div, shouldn't be a problem here:)

    <div id="myContent">
    <p>Alternative content</p>
    </div>



    Any help would be appreciated.
    • CommentAuthorAran
    • CommentTimeMar 17th 2008
     
    Where are you specifying the XML location? Is the URL baked into the swf? If so, you should check that the path you are specifying is actually valid/accessible from your swf location (if it is a relative path, then check it is correct with the BASE param you specified).

    Also, as you appear to be implementing SWFObject 2.0, you should post your questions on the Google Code Group for SWFObject: http://groups.google.com/group/swfobject .


    Cheers,
    Aran