I have created a website, however, when I make changes to it and upload to a hosting site it doesn't load the changes. Instead it loads the cache memory of the website. Is there a way of getting around this??
Reloading Website??
Collapse
X
-
Unless you made a full flash website, I think this is in the wrong forum, but anyways, most browsers have a refresh button, or F5 also, and try clicking that and it should check the site again, and are you putting the uploaded site or flash file into the sites directory exactly where it was before?
joedeene -
Sorry, should have said. Yes it is a full flash site, created in Flash 8. I no about the refresh button, but in Firefox this still doesn't make a difference as it loads the website from memory. The site is copied straight to the hosting site in the same location as before, overwriting the old data.
Is there a way of achieving a clear cache so that other users dont have to clear there cache to see the upload?Comment
-
No, you cannot clear the user's cache directly through flash, but there are ways to "prevent" the caching of the .swf file. Take a look of of this link off Adobe's Help Site. Let me know, if that works.
joedeeneComment
-
For example........ .. each time I update the website I 'Publish' the Flash document to create a HTML document. Now when that is Published the Flash file overwrites th changes in the HTML document e.g. where you put the coding from that Adobe site.Originally posted by joedeeneWhat changes? the flash file changes? I thought you wanted the new changes to the flash file, if any to show. So basically, they're downloading the file each time...
joedeene
Does this mean that this code has to be entered each time the file is updated or can it be inserted into the Flash actionscript so this does not have to be done?Comment
-
As I understand you, you are generate your HTML file with some Flash software, and as long as you can't change whats included when that is done you have to put it in yourself afterwards. But look if there is some template or something that is generating the HTML, then you can change it.Originally posted by MediaXimFor example........ .. each time I update the website I 'Publish' the Flash document to create a HTML document. Now when that is Published the Flash file overwrites th changes in the HTML document e.g. where you put the coding from that Adobe site.
Does this mean that this code has to be entered each time the file is updated or can it be inserted into the Flash actionscript so this does not have to be done?Comment
-
Originally posted by asedtBut look if there is some template or something that is generating the HTML, then you can change it.
Template????? There is no template in Flash 8. You simply create the HTML file by going to: FILE>> PUBLISH. Then this will create the HTML file, you understand????Comment
-
I would not directly publish the .html file, i would create the .swf flash file and then set it to a certain directory, and embed it with it centered, and as its picking up the flash file from the directory, the <head> tag will always be the same. Do you understand what I'm suggesting? If not I'll be glad to show an example, or source code.Originally posted by MediaXimTemplate????? There is no template in Flash 8. You simply create the HTML file by going to: FILE>> PUBLISH. Then this will create the HTML file, you understand????
joedeeneComment
-
I dont know anything about this but i think it is. And a google makes the trick:Originally posted by MediaXimTemplate????? There is no template in Flash 8. You simply create the HTML file by going to: FILE>> PUBLISH. Then this will create the HTML file, you understand????
"You can easily use the same template, change the settings, and publish a new HTML page. If you're proficient in HTML, you can also create custom templates using any HTML editor. Creating a template is the same as creating a standard HTML page, except that you replace specific values pertaining to a Flash SWF file with variables that begin with a dollar sign ($). "Comment
-
Hi
I have my own way to solve this problem..
Here's what I do:
Lets say you have a flash file (www.yourdomain.com/flashfile.swf) which is called by a HTML file (index.html).
When you publish your files change (index.html) to (index.php) then open it in a text editor and change the URL of your flash file to something like this:
This PHP code generates a 10 digit number of seconds past since (January / 1 / 1970) which helps you prevent the browser to show old versions of files.Code:www.yourdomain.com/flashfile.swf?rnd=<?PHP print date("U"); ?>
By the way , this could be done by any other server side scripting languages like asp etc.
Hope this helps youComment
Comment