3 Replies Latest reply on May 26, 2011 8:09 PM by nedrub

    IE loading wrong xml


      IE loading wrong xml

      Hi there,


      I have built a website that contains two flash galleries on two separate pages.
      Each .swf galllery is meant to call a separate xml, loading the relevant text and images.
      The galleries work perfect when using Firefox-windows, Firefox-mac and Safari and on my local machine(macbook)
      The galleries do not work using IE-windows, the problem being it loads both galleries with the same xml. (http://www.rvvrd.com/xml/data.xml)






      Any help is appreciated


      Thank you in advance

        • 1. Re: IE loading wrong xml
          adninjastrator Level 4

          It's virtually impossible to for what you are saying to happen.

          Browsers are really pretty dumb things, they only do what they are told.... now sometimes what they are being told is interpretted differently... but browsers pretty much just do what they are told.

          So if you see IE doing something different than other browsers, first look to see it it's being told to do something differently, called an IE conditional statement.

          So look for:


          <!--[if IE]>
          if IE do this stuff and:


          <!--[if !IE]> <-->
          if NOT IE, do this.

          So yes, you are using an IE conditional statement.


          The problem with the second link is:

          <!--[if IE]>
          the browser is being told to load:



          <!--[if !IE]> <-->
          it's being told to load:


          Both browsers are just doing what they were told to do.

          And it's not the .xml file that they are loading wrong, it's the .swf file which is then instructed internally to load the .xml file belonging to a particular .swf


          So get rid of the conditional statement, ALL the <!--[ stuff... and the <script> being used to target IE.

          Newer versions of IE will work just fine with the <object> you have on the page.

          Best wishes,


          • 2. Re: IE loading wrong xml
            nedrub Level 1

            Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


            I used use code from a photoshop plugin called Sitegrinder, it wrote the html. I looked and saw the <!--[if IE]>.... but didnt know enough to remove it. (im self taught and over my head most of the time)


            I have been posting this around for a month or so and you are the only one to take the time to help me out.


            You rock!

            • 3. Re: IE loading wrong xml
              adninjastrator Level 4

              You are very welcome!

              And when you can... somehow, just pass it on!

              Best wishes,