A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: IE loading wrong xml

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    4

    IE loading wrong xml

    Hi there,

    I have built a website that contains two flash galleries on two separate pages.
    Each .swf galllery calls 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/vixens.html
    http://www.rvvrd.com/xml/data.xml

    http://www.rvvrd.com/thelawnew.html
    http://www.rvvrd.com/law.xml

    Any help is appreciated

    Thank you in advance
    Last edited by scobro; 05-26-2011 at 01:10 PM.

  2. #2
    Junior Member
    Join Date
    Aug 2009
    Posts
    4
    Here is the fix...

    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:
    value="externalmedia/preview.swf"
    while:
    <!--[if !IE]> <-->
    it's being told to load:
    value="externalmedia/thelaw.swf"
    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,
    Adninjastrator

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center