ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Issue with Flash File, probably xml related

February 07, 2009 1:25am

Subscribe [3]
  • #1 / Feb 07, 2009 1:25am

    eyeonmedia

    11 posts

    I’m having lots of difficulty with embedding a flash file and I hope some one has some advice.

    here are the details

    the swf file is located at http://www.littletreeartstudios.com/images/carousel.swf and if you navigate their the swf plays fine

    the issue is that it draws on an xml file, carousel.xml that is in the same directory as carousel.swf


    When I place the swf in an expression engine table, a blank swf loads.

    http://www.littletreeartstudios.com/index.php/site/studios/

    here is the code in the header of the studio page.

    [removed][removed]
    [removed]
      swfobject.embedSWF(“http://littletreeartstudios.com/images/carousel.swf”, “doors”, “590”, “150”, “9.0.0”);
    [removed]

    how can I get the xml file to load properly? It appears to get lost when the page is dynamically loaded?

    thanks

  • #2 / Feb 12, 2009 4:04pm

    grantmx

    1439 posts

    What is the URL to the XML file in EE?

  • #3 / Feb 13, 2009 4:57pm

    Chad Altemose

    44 posts

    if you go to your url for the page served by EE and look at what xml file it’s loading you see:

    http://www.littletreeartstudios.com/index.php/site/studios/carousel.xml

    which if you hit that link you can see is getting served as a regular html page in EE.

    so you could:

    -move your xml file to a directory outside of EE’s control so that it gets served correctly
    -create a template in EE that serves xml properly to the swf

    test by hitting the xml file url directly and make sure it’s serving proper xml before you even look at the page with the embedded swf and you’ll save yourself some time.

    fyi - you can use Safari’s activity window to see what the page, and more importantly the SWF, is loading to help troubleshoot. if you’re on pc, or just hate Safari, you can use the HTTPFox add-on to view the same information and even better, to see the xml stream that’s loading (or not, as the case may be).

  • #4 / Feb 13, 2009 5:13pm

    grantmx

    1439 posts

    -move your xml file to a directory outside of EE’s control so that it gets served correctly

    Have to disagree with you on that point.  EE can serve XML files well, the template type just needs to be changed to XML. 

    But looking at the file name it doesn’t seem to be in EE.  Perhaps carosel.xml isn’t in the correct place, eyeonmedia?

  • #5 / Feb 13, 2009 5:46pm

    Chad Altemose

    44 posts

    Must’ve been unclear - that was my second point - make a template of type XML. I made the first point because sometimes it’s useful to have files outside of EE’s structure/control.

  • #6 / Jun 13, 2009 6:47pm

    eyeonmedia

    11 posts

    Thanks for all the input. My computer was stolen shortly after I last posted so it has taken awhile to get all my files back together.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases