Cache and .swf file issue
**********//////// As usual 10 minutes after posting a question on the forum the I find the answer..........
"loadMovieNum" instead of "loadMovie" seems to work, when using the variable.
Don't no why yet, so any comments appreciated.////////************
I am building an image intensive website, to cut download time I have split the movie, and am using the "loadmovie" function to access the seperate sections of the site.
The problem I am having is that when I upload the movie to the server the .swf files are getting cached, I have a suspicion that that may even be happening on the server. This is preventing me from updating the various sections of the movie.
To prevent the caching I'm trying to place a random variable on in this manner.....
on(release){
rn = Math.round(Math.random()*1000000);
loadMovie("new_movie.swf?="+rn,0); // doesn't work
//loadMovie("new_movie.swf?=3",0); // works (not random though)
}
Am I going about solving this problem the right way? and if so, can anyone tell me where my code is faulty?
T.I.A.