Skip to main content
Participant
October 28, 2009
Answered

Doesn't Reload until Cache Cleared?

  • October 28, 2009
  • 1 reply
  • 1363 views

Hey all!

I have a relatively simple flash "about us" portion of our website. Upon first loading it executes just fine. Then when you refresh the page or navigate away/return to the page, the program will not load. I have checked this in several browsers and on several computers and I can recreate the problem every time. I have the most recent version of flash/browser/etc.

The following links will take you to both the swf on the problematic page and the swf by itself respectively. Note that the swf by itself plays fine, and when you refresh the page, it still plays fine!

http://502mediagroup.com/new/about.html

http://502mediagroup.com/new/FLASH/about_flash.swf

The problem is fixed when your browsing cache is cleared. But obviously this is not ideal!

any help is appreciated

This topic has been closed for replies.
Correct answer Kalisto

Now its not finding the swf... check it out and maybe look at the page source.

www.502mediagroup.com/new/about.html

again, all this help is greatly appreciated!


please remove ".swf" from src and movie

'src', 'FLASH/about_flash?v='+rand_no,

1 reply

Inspiring
October 28, 2009

you may call a flash movie with ranbom parametur.

The brwoser stores network content with some kind of pair - URL and content. If your url is the same every the browser get content from the cash. The trick is to attach a dumy random variable in order to generate a unique url every time.

mages_bAuthor
Participant
October 28, 2009

Kalisto,

Sounds great...only problem - i suck at AS... where would i begin on something like this? is it a simple line of code?

Inspiring
October 28, 2009

yes it is simple. You must js to generate the random number like this:

var rand_no = Math.random()*1000;

and than used the generated number in 'src', 'MovieName?var'+rand_no and 'movie','MovieName?var'+rand_no

var rand_no = Math.random()*1000;

AC_FL_RunContent(

'codebase',......
'src', 'MovieName?var'+rand_no,
'movie','MovieName?var'+rand_no,
.........
AC_FL_RunContent is genereted automaticly when publishing the movie with html