A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Cached SWF in Mozilla! Grrrrrrr!

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Location
    Earth
    Posts
    9

    Cached SWF in Mozilla! Grrrrrrr!

    I have a .swf that loads inside an ASP page which needs to refresh every time the page is loaded.

    I have managed to stop the .swf being cached in IE but cannot for the life of me stop Mozilla Firefox caching my .swf.

    Inside my .swf I load in an XML file using the following code...

    // LOAD IN XML FILE //
    dataXML = new XML();
    dataXML.ignoreWhite = true;
    dataXML.onLoad = convertXML;
    dataXML.load(_root.filePath + _root.teamSelected + ".xml");

    Where _root.teamSelected in passed via the query string into the .swf

    This is all fine but the movie will not load the new XML in until I clear the cache! Help...

    Any ideas?
    Treat others how you would like to be treated. Buy them a beer and talk about football all night!

  2. #2
    Been here a while
    Join Date
    Sep 2003
    Location
    North Carolina
    Posts
    131
    Quote Originally Posted by r2dtwo
    I have a .swf that loads inside an ASP page which needs to refresh every time the page is loaded.

    I have managed to stop the .swf being cached in IE but cannot for the life of me stop Mozilla Firefox caching my .swf.

    Inside my .swf I load in an XML file using the following code...

    // LOAD IN XML FILE //
    dataXML = new XML();
    dataXML.ignoreWhite = true;
    dataXML.onLoad = convertXML;
    dataXML.load(_root.filePath + _root.teamSelected + ".xml");

    Where _root.teamSelected in passed via the query string into the .swf

    This is all fine but the movie will not load the new XML in until I clear the cache! Help...

    Any ideas?
    did you find out any info on this subject?

    IM having a similar issue

  3. #3
    Junior Member
    Join Date
    Feb 2004
    Location
    Earth
    Posts
    9
    Afraid not! and the weird thing is once you clear the cache every time after that you the .swf automatically updates.

    You can see what I mean at http://www.footballvoodoo.co.uk - pick any team to curse. Then when the flash loads back in your pin will not show. Now empty the cache - refresh the page and have another go...
    Treat others how you would like to be treated. Buy them a beer and talk about football all night!

  4. #4
    Registered User greenham's Avatar
    Join Date
    Mar 2005
    Location
    Australia
    Posts
    555
    I'm not entirely sure, but you may be able to do something with Javascript or PHP with this. Or, by the sounds of it, this problem may be solved through recoding what's in your swf. I would have to know more (code) to be able to say much more.

  5. #5
    Senior Member
    Join Date
    Aug 2004
    Location
    England
    Posts
    137
    i get alot of cache problems with firefox too. I would say its cos firefox sucks. But lets not start that lol *runs away*

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