Problem solution
Soluzioni ai vostri errori e problemi

Find here the solution to your problem and error: search



Chi è online

We have 7 guests online

Web Joomla Internet Explorer problem flash a second time
Internet Explorer problem flash a second time Print E-mail
Web - Joomla
Wednesday, 11 November 2009 21:44

Your flash movies, swf, slidershow or morfeoshow that do not work in Internet Explorer or rather the first view its ok while the next time the page is updated the swf is not loaded correctly.

This is because the swf in question have a dynamic loading of data and Internet Explorer displays the swf subsequent fetches from the cache without loading the data dynamic.

The problem can be obviated by adding a random value SWF name:
example in PHP:
srand ((double) microtime () * 1000000);
$ Randval = rand ();
<Embed src = "filmato.swf? <? Echo $ randval;?>"

example in ASP:
randomize
randval = int (rnd * 9999)
<Embed src = "filmato.swf? <% = Randval%>"


in this way for Internet Explorer the swf is always different then downloads it as if for the first time.

 

Add comment


Security code
Refresh




bottom
top

bottom

© 2009 Problem-Error.com - Disclaimer