Flash not reading new XML in IE

Discussion in 'Programming' started by US_MAN, Feb 28, 2008.

  1. #1
    is there any way to force IE to get .swf from server every time user refresh the page.?

    The problem is that, i've a swf in my page which reads image link from external xml file.
    every time user upload a new image, the XML updated automatically (using ASP.NET ) and swf reads its link and show in swf.


    I've tried
    1.
    <meta http-equiv="Expires" content="0" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Pragma" content="no-cache" />


    2.
    Response.cacheControl = "no-cache"


    at the top , bottom middle.......... ANY WHERE IN THE PAGE
    but I.E sucks....
    FF working fine and display new uploaded image immediately by reading image link from updated XML .

    any 1 can help ?
     
    US_MAN, Feb 28, 2008 IP
  2. wassim

    wassim Well-Known Member

    Messages:
    322
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Hi,

    You should implement a cache buster in the swf code to prevent loading cached XML, that should solve your problem and wok in all browsers.

    If you don't know how to do that, drop me a line via pm and I see if I can do it for you.
     
    wassim, Feb 28, 2008 IP
  3. gioulis

    gioulis Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hey Wassim,

    I have an swf that needs a cache buster placed into the code. Any way you can help me out with this?

    Thanks.

    ANdrew
     
    gioulis, Mar 6, 2008 IP
  4. wassim

    wassim Well-Known Member

    Messages:
    322
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    110
    #4
    If you have the fla of that swf, just send me a link and I'll download and check the code, I'll send you back instructions on how to implement the buster.
     
    wassim, Mar 6, 2008 IP
  5. gioulis

    gioulis Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks. Here's the link to the FLA file.

    http://www.gioulisgraphics.org
     
    gioulis, Mar 6, 2008 IP
  6. gioulis

    gioulis Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hey Wassim,
    Any luck with the link I sent?
     
    gioulis, Mar 10, 2008 IP
  7. wassim

    wassim Well-Known Member

    Messages:
    322
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    110
    #7
    The file you sent doesn't load an XML!

    What is it that you want exactly?
     
    wassim, Mar 10, 2008 IP