Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-30-2004, 10:53 PM   #1
jika
Registered User
 
Join Date: Dec 2003
Location: Melbourne VIC
Posts: 18
Default Cache ...Flash & Dreamweaver

Hi

I have created a menu in flash then published it as a html file.
I then embed the html file in my index file in Dreamweaver.

I am having a few problems with the page cacheing. I have checked out a few sites that tell you to put a META tag that tells the page it has expired, but that does not work.

When i upload a new version of the menu and then go to view it online, it does not show the latest work, only the old menu.

I am SICK of cache.
I am really desperate for some help, anyone..........Please......



Cheers
jika is offline   Reply With Quote
Old 03-31-2004, 01:57 AM   #2
nMedia
Registered User
 
Join Date: Mar 2004
Location: South Africa
Posts: 27
Default

Here is something that might work,

Either open up your site and once tha page has loaded, press Ctrl and F5 together, this forces the browser to check for new files and reload the site from the server, or try to clear out your temp. internet files by going to tools - internet options and reload your site to see if that worked.

But I think check that you have uploaded the files to the right directory first.

Hope this helps.
nMedia is offline   Reply With Quote
Old 03-31-2004, 07:06 AM   #3
elektra
Registered User
 
Join Date: Dec 2001
Location: Denmark
Posts: 30
Send a message via ICQ to elektra
Default

hi there
I think you need to add an HTTP header (i think thats what its called) - if your dealing with a proxy server the META tags wont be working
this is a link to a very good introduction:http://www.mnot.net/cache_docs/
elektra is offline   Reply With Quote
Old 03-31-2004, 10:45 PM   #4
jika
Registered User
 
Join Date: Dec 2003
Location: Melbourne VIC
Posts: 18
Default

Cool..

Thankyou very much. I will try some of these.

Thanks for your prompt help.

Regards

Jika
jika is offline   Reply With Quote
Old 03-31-2004, 11:10 PM   #5
jubei
Chunky Samurai
 
jubei's Avatar
 
Join Date: Jun 2002
Location: Adelaide, Australia
Posts: 469
Send a message via ICQ to jubei Send a message via AIM to jubei Send a message via MSN to jubei Send a message via Yahoo to jubei
Default

We have the same problem here with swf files, except it's not cached on a local machine, it's cached on the server. It'll even update the html, but not the swf. I found it's easier to name the file something slightly different, and thus force it to find the new one.
jubei is offline   Reply With Quote
Old 04-01-2004, 07:16 AM   #6
jika
Registered User
 
Join Date: Dec 2003
Location: Melbourne VIC
Posts: 18
Thumbs up

Yeh i agree. I have been doing that lately too when i create a site which is fully built in flash.

Here is a snippet of my code, in this one it loads a text file, but it can be used with almost anything even with loadMovie.

_root.mcName.btnName.onPress = function() {
myIdentifier = Math.round(Math.random()*100000);
//get random number
News = new LoadVars();
News.load("textfilename.txt?uniq="+myIdentifier);
//load text file and the random number on the end of it to ensure browser has to retrieve a new version of the file, thus preventing cache.

I find it pretty useful, however i still find that if i have built a site in flash and then embed it inside a frames index file in dreamweaver and i make a change and try to view it, no new swf, just the old one.

I have done the navigation in Flash and have inserted it into a frames page, but no matter what i do in some browsers it does not recognise the new swf file as being new.

Tried HTML META tags but that doesn't work and have read a few chapters on Cache but i still can't find the dammm answer.

Must be a problem with embedding Flash html into a Dreamweaver frames page.

I have given up on it for the moment and will just build it all in Flash until i find a way around this DREADED CACHE problem.

Cheers

Hope th
jika is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:23 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.