Flash IE cache Problem

There are always new and exciting sites online. Think you found one that is helpful? Share it with the group!

Moderator: Moderators

Flash IE cache Problem

Postby finoy » Mon Aug 31, 2009 1:46 am

While working in the flash gallery of bedford i met with an issue that the xml file was not updated regulary ,since the object is stored on cache, if you add any images in the admin side , it generates another xml, but the preview is still the same. So i have to go to my internet options, clear cache and then preview so it works fine.I searched the net for a solution and found the following snippet to randomize the xml loaded every time.

eg: xob.load("menu.xml?rnd=" + Math.random());

that way the flash is forced to look for the new version of the xml because there is no other called like that.!!
finoy
 

Return to Online Ideas, Innovation & Cool Sites

Who is online

Users browsing this forum: No registered users and 8 guests