Help With Cache
Hi all,
(bare with me...i did do a search for cache on the search)
just wonderin if u could help... i have put a file up here: www.zerofx.net/pro It use dynamic txt files, but whenever i try to update them, i have to delete my cookies/cache before i see the change.
I know there is some code to trick the cache by changing the variable name or whatever, but when i try and change the code for my movie, it doesn't work.
The text files are loaded dynamically into a .swf in an html page. At the moment i am using the code
Code: loadVariablesNum("home.txt",0);
what is the exact code i need to enter, to trick the cache? cos whenever i enter code and test movie, it says: cannot detect my file with some number on the end.
Please help
FlashKit > Flash Help > Flash ActionScript
Posted on: 09-04-2004, 02:37 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
MX:Cache - Please Cache The Images
Hello,
I load jpegs into a MC for a photography website. The images should cache in the browser (plenty of space allocated) but they do not. The images are loaded by replacing the previous image in the MC - so if I want to view a previous image I must load it into the MC again.
However, this should not be a problem from what I understand.
I use a Mac and IE 5 - I know it works on a PC!!
Does anybody else know of any issues relating to non-caching on a Mac??
Thanks in advance for your help.
Osc
Argggg IE Why.....wtf? Cache? No-cache?
http://www.walrusdogblues.com/colouringBook/?pageId=2
first time you view it in IE it should be fine (with crayon box in top left)
after that it renders but not the crayons....
if you cleare cache it works
Ive got pragma-nocache tags....
and im appending a date to the swf url to make each request unique but its still seems to be cacheing...because if you clear cache the crayons show up fine
It works in FF, works in Opera....but the damn crayons wont show in IE unless you clear your cache each time....
please anyone know why? im going crazy
errr I guess this should be in serverside if a mod would move it
Cache Cache Why Wont You Go Away
I have a client side dynamic graph whose values will change in the graph but the actually bars do not. It seems as though the graph writes over the old one. I'm thinking the prob is with the cache but do not know what to do about fixing that.
I tried setting no cache or the timestamp to an earlier date forcing it to clear the cache in the meta tab but that didn't work. I really do not know what to do, and would appreciate any help advice work arounds. Thank you
No Cache
I have a root movie that loads several *.swf movies into it when clicked on a button in the root movie. How can I tell flash with actionscript NOT to cache some of those loaded swf movies ?
Gr33tz
x.
CACHE
Is it possible to make flash to take values from the server and not to take it from the cache when viewed in a browser?????
I am working with ASP-FLASH movie integrated project.
So when the movie is viewed in a browser, I need vales from the server everytime
The Flash is working fine in Standalone player
Cache CD
HI ALL_
I seem to have a small or large problem. I have created a large projector for a presentation. But if I try and view it on a slightly slower computer to my own it says flash player is out of memory and will then only play the movie with thousands of colours. I've got it down to about 6Mb but I still have problems. I think that the computer trying to cache the project but has problems is this possible and if so how can I make it not cache the pages.
Hope some one can help
Cheers
jody
No More SWF In Cache?....
Well i have a proble--
i have a SWF file and i dun want it to be save in the Temporary Internet Files
how can i make all my Flash files expired after they play or how can i
make them unloadable from Temporary Internet Files
Cache?
I publish my site, i check it out, and I change some things.
Publish it again, but don't see the changes!
What's wrong? is it in my cache memory? Does visitors have the same when visit my site? What can I do about it?
PHP Cache
sorry this should be here:
http://www.flashkit.com/board/showth...hreadid=388667
The .swf WON'T Cache
hi,
I've got a 750 k .swf that won't stay in the cache (when it is reloaded even in the same visit, you have to wait for it to download). It has a preloader in it's first scene. does it's re-loading have anything to do with its size? any other reasons why it won't cache?
thanks a lot.
Cache PC/MAC
i have noticed that a swf i made that loads external swf's doent seem to work the same as it does on the PC. It doesn't seem to load or stay in the memory. Are there differences in the cache?
anyone?
thanks
No Cache
Is there a way to not a swf cache on the client side?
Thanks
Shawn
No Cache
Hi, I don't want my web site to be cached because I'm updating it regularly but my visitors always enter the cached flash content. I'll be glad if you help me. Thanks.
Is This The Cache?
ok this is weird i can only assume this is the cache but i'm not sure since i'm not 100% on what exactly the cache is. anyways on my server i am using a php file instead of an html to hold my swf. the php file is really short all it does is it embeds the swf thats about it. anyways i just removed the swf from the server yet if i navigate to the url of the php script the swf still appears.furthermore when i replace the swf with one that has been altered it still shows the old swf. how do i stop this from happening (clearing the cache?)
No Cache
is there a way to prevent images to end up in the site visitors cache? the images have a copyright..
thanks
Cache
I have developed swf who is extracting text from one txt file. But when we change text from txt file, But its showing same because of cache.
Cache ?
While playing back swf1 on pageone.html I'd like to load in the background swf2 that will play on page2.html. What I'd like to know is what happens if swf2 is not fully cached when the viewer changes to page2? Is what has already cached just dumped or does the download continue where it left off? My situation is that I have 2 rather large swfs that will play in seperate html pages one right after another. If the viewer does not use the "skip" button on the first movie there is enough time for the second to cache. If they do skip then I need to know what happens to the movie that is downloading in the background.
thanks.
XML Cache
When calling or loading an XML file... does flash/browser treat it the same as a text file...in regards to CACHE?
just wondering if I need to add the "random" line to my XML file call.
usually for text files..I add a random NUM to the end of the url string..
can i do the same with XML as so:
code:
myXML_xml.load("products.xml?" add random(9999));
thanks
Is There A Way To Get Around Cache?
I'm going nuts here... I'm working on a flash site that I've uploaded. I'm trying to check it online and all I keep on getting is previously uploaded versions. I have tried deleting the cache in my browser but it does not work (it should)
I even downloaded the swf files to make sure I was uploading the right files... they are correct yet when I view in the browser it shows me the earlier uploaded version of the file...
Is there something I'm missing here, how does one get around this really annoying problem.
Greg.
Something Very Odd - Cache?
Hi,
I regularly get up the next day and find my project no longer works. Undefined properties all over the place. It's happened quite a few times now and I can't figure out why my .fla file compiles without problems before bedtime but complains in the morning when I get up! It's as if something is being cached that perhaps, by fluke, allows the .fla to compile. Am i looking for gremlins that aren't there or has anyone else noticed this anomaly?
Xml And The Cache
I have two different swfs that i want to communicate together. Im using xml as a bridge for them to communicate. How do I ensure that its loading a fresh xml page each time. Is there a cache buster object in flash to use?
This onclip event calls a function to load the xml.
Code:
onClipEvent (enterFrame) {
if (_root.startGame == false) {
this._parent.loadXML();
}
}
This is the function the onclip event calls. If it loads and the xml node value is a 1 the onclip events no longer calls the xml load function and the game questions are laoded.
Code:
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
function loadXML(loaded) {
Started = parseInt(xmlData.firstChild.firstChild.firstChild);
_root.fb += "xmlData = "+xmlData+newline;
_root.fb += "Started = "+Started+newline;
if (Started == 1) {
_root.fb += "In the if statement";
startGame = true;
Getquestion();
}
}
//xmlData.load("http://www.wisc-online.com/xmlgame/"+bingopicked+".xml?cacheB="+new Date().getTime());
xmlData.load("http://www.wisc-online.com/xmlgame/"+bingopicked+".xml?nocache="+new Date().getTime());
Cache FLV
My FLV files I think are being Cached on my computer, Can I stop this?
I upload a FLV to the server, play it in my player. I delete the FLV file on my server, and try to play the video and it still plays.
How can I remove it from my Cache?
Cache
My SWF file saves its self in the cache.
I have an XML file, and I update it, and the SWF file doesn't show the updates, but once the cache clears, then SWF shows the updated. How can I fix this? Is there something In AS 3? or is this something I have to do in PHP or HTML?
Swf No Cache
How can I prevent people from copying my swf file from their cache? Or - how can I define my swf file as "uncacheable"?
Not Getting Swf Cache
I have a site that uses an html page for searching through products. When you click on a product from the search results I use php to pass some variables to the swf like so
<embed src="movie.swf?variable1=data&variable2=data"
This tells the swf where to go so that it ends up on the product.
The problem is that the swf always needs to reload itself. Shouldn't this be in the cache already? Is there a way i can keep it in the cache or tell the browser to pull it from cache? It is a fairly large file so it kinda sucks that it needs to keep reloading everytime.
RAM And Cache
Hi Flash Gurus
Can I ask those who use FLASH8 PRO what they think is the optimal RAM and CACHE size with W XP?
Can I get away with 512 DDR RAM and 1Mb Cache, 1.6Gzprocessor?
( I am a little sceptical of 'offical' recommendations).
Cheers
Edited: 01/19/2007 at 05:34:33 AM by hobdenpete
No Cache
Is there a way to set a Flash file (swf) to NOT cache in the browser? When
I upload a new swf file, the browser does not reflect the changes until
after flushing the cache.
--
Brandon
CACHE
Is there a way to make web browser's clear there cache before loading a flash website,
I use fire fox and every time i look at my website that i have updated with new content, it does not display the new content, i have to physically clear the cache.
I dont know if this can be done but is there a way in action script to make the browser load up all content and not load of the person own cache. I have haerd that you can con aproxy server's to download the actual content instead of the cached files.
Is it possible and is there an easy way to do this.
Cache
Operating Environment: IIS6+ASP.Net 2.0+Flash
Framework / Procedure:
When running, Flash will run ASP.NET program. ASP.NET then extracts data from the database and generates a XML file for Flash. Flash reads the XML file and parse it into a readable format for the users.
Problem:
When Flash displays the XML content and user leaves/exits the webpage, this process creates a change in the database. Then if this Flash function is executed again, ASP.NET generates a new XML file, but Flash still displays the old XML content. We discovered that when IE's "Temorary Internet Files" setting is set to AUTO, the above problem would occure, we suspect this is related to IE cache. Is there any way to resolve this Flash cache problem?
How Can I Use Cache?
How can i load files into cache for later load in flash? I like to load them into the same mc (window).
Cache?
hey,
is there anyway to make the browser not cache the swf? i ve updated the same file on the net and i keep having to clear my cache to see the updated verison. im afraid that many users wont do this and be seeing the old version.
No Cache
Hello guys and girls,
I've tried every " no cahe " AS I can think of. Working with Flash Professional 2004 AS 2.0. Does anyone have any idea's?. I've tried some php and that don't work either. Very frustrating and as always I'm sure the problem exist between screen and chair.
Thanks,
Cache Lag?
What I have is a series of PDF files that are being viewed as a slide show. You click on a button it takes you to the next file, you click another button you can print or you can click a button and go back to the previous file. Simple design.
Now all the frames are loaded. If one of the files are too big, it doesn't read the actionscipt in the frame for some reason. It just continues to play to the next frame? I've used the same exact file and swapped out all the larger sized PDF files with smaller ones and everything works perfectly.
Is there some sort of access/lag problem? Is there some sort of code I can put into the frame to not make this problem happen.
Say you're at frame 75 and you click the button to take you to the previous picture. The coding on the button is:
ActionScript Code:
on (release) {
gotoAndPlay(64);
}
When it's clicked, instead of going to frame 64, it's going to the next frame (in this case 76). Like I said, I only have this problem if the file is too large in file size. So it's not a _root, _parent problem.
Any tricks to help me?
Cache
I am having trouble with caching, I am using asp to send and recevive data into my flash file, but my data keeps cashing and not updating.
I ve tried using the code below to trick the browser into thinking it's a new variable each time but it doesn't seem to be worikng!
loadVariables("rants.asp?"+Math.random(), "", "GET");
Anyone got any ideas??
Any help would be grand!
Cheers
Jemes
Cache In Swf ?
maybe someone knows if I'm lost here...
in frame 1 I have #include "actions.as" .
in actions.as I load jpgs with loadMovie. Now, here's the thing, with php I'm writing on top of the actions.as file and replacing the names of the jpgs with the new jpgs I want to be loaded... But it seems like the actions get cache-ed (or something). Cus the actions get written right, but the swf movie is not loading the New Jpgs that actions.as is telling it to.
Please if anyone knows what's going on lemme know.
Don't Cache Mp3, How?
I know it's possible with the flash comm server, but it doesn't seem to be an option for me. I also know it must be possible some other way because http://www.wimpyplayer.com has an option for people not to be able to cache mp3's and doesn't use a flashcomm server. Does anyone have any idea how I can stream mp3's through flash and not have them be available in a users cache? I would just download the wimpy player but it simply doesn't have some other functions I need, plus, I would really like to know how this is done
Problems With Cache
if anyone can help i am problems with cacheing a movie
heres the code
anyhelp
<HTML>
<HEAD>
<TITLE>movie</TITLE>
<META HTTP-EQUIV="PRAGMA" CONTENT="CACHE">
</HEAD>
<BODY bgcolor="#FFFFFF">
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<!--Please wait site initilising LOADING LOADING HOME INVESTMENTS DEVELOPMENTS CONSULTANCY REQUIREMENTS CONTACT US h --><OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=100% HEIGHT=100%>
<PARAM NAME=movie VALUE="movie.swf"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=best> <PARAM NAME=scale VALUE=noborder> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="movie.swf" menu=false quality=best scale=noborder wmode=transparent bgcolor=#FFFFFF WIDTH=100% HEIGHT=100% TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
</BODY>
</HTML>
Cache Movie
1. Will associated swf's be loaded once the main movie has finished loading?
(My main movie is relatively small in size hence I would like to use the spare download time to preload the external movies in which it calls on.)
2. Anyone have any ideas on how to do this?
Why Isn't My Cache Kicking In?
Hi all.
I have some large swf's, between 2 and 3 meg. After I have loaded them, I can see them in my temporary internet files but the next time I go to them they re-download and another version pops up in the temp files. I don't want people to have to keep loading.
Any ideas?
Txt File Cache
There is probably a post about this among the thousands of postings on this board, but I couldnt find it.
How can I make a text file not be placed in the users cache, so it can always show the updated txt file on my server and not pull the file from their cache?
I did find some code that supossedly does this at
http://www.bokelberg.de/actionscript/25.html
but couldnt get it to work correctly.
so please help..
gracias
dduck1934
Preloaders In Cache?
Good morning to you!
I would be eternally grateful if you could help me on a problem that I am having. We are designing a site with 5 sections to it's navigation. these are fo instance simple buttons at the top of the page.
Instead of having all of the site in one single flash scene we have created 5 seperate flash scenes, with seperate html code for each one.
The way the navigation works is that when you press a button it calls a http:// html page,(wiht the swf embedded within it)
Everything works perfectly, the only problem is witht the preloaders. When the whole site loads the preloader works ok fo the first section, ie preloader is in a seperate scene to the main movie within this section. The preloader completes showing section 1. Brilliant!!!
However after visiting the rest of the sections and the user wants to go back to the original section,(home page) the prelaoder goes again. I understand that this should be still in the cache.
Is there anyway of say calling the home page via the get URL http html and skipping the original preloader? can you for instance say get Url as well as saying go to scene 1, instead of just calling the whole thing?
I have probaly melted your brain and am very sorry. Please help and I will treat you to a beverage or 2
Stu.
Clearing The Cache?
Can you clear a client browser's cache on loading a flash movie?
I have a shopping basket that uses Flash as front end and an Access database, using ASP as middle ware.
The basket works fine
My problem is that if a user wants to shop again after checkout, i want them to be able to go back to the start of the movie, but have a refreshed, non cached, version.
My prototype movie shows stock amounts of each individual product. As items are placed in the basket, the stock amounts go down, and up if the user changes their mind. This is all visible on the front end.
Stock amounts are updated on checkout.
After checkout i am using a loadMovieNum instruction to load the same movie again on the same level.
I always recieve a cached version when veiwing in the browser
Any help will be greatly appreciated
Spooky Cache
I have a movie split into 2 scenes the first scene is a monster preloader that loaded 70 movies into holders so as to force them into local cache so that the can be accessed promptly when the user clicks on them (they average about 25K is in size)
this works as I can see them in the temp files cache buffer
However the first time I run the movie having flushed the cache it reloads everything just fine, but the first time I click a button it takes a while for the sub movie to appear from then on however its fine even on a 56K modem
Anybody got any thoughts...
Thanks
David
Cache Nightmares
Help.....far to many sleepless nights
I am trying to cache in my _level0 several .swf all onto _level3 inside a dummy movie.
Its not working.
The problem is that my _level2 .swf calls up randomly (4)20K animations to load in _level3. They do not stream properly so need they need to be cached prior.
Can anybody give me any suggestions or point me in the right direction?
I am not 100% sure on loading targets. Is that what i should be doing?
Fonts For Cache
I'm using generator to kick out a new swf file each week. the template uses 5 fonts. Instead of the user having to download by new content plus the 5 fonts each time, would I be able to create a static base movie with the 5 fonts in there (so it get's cached), then call the new swf movie into level 1. Sounds a little odd, but I need to the 5 fonts, but I don't want to make my viewers download them again just because the content of my generated swf has changed. Any thoughts would be much appreciated... thanks.
SWF Cache Expiration?
hi there
does anyone know how i can set the date for a SWF to expire in the user's cache? thanks!
Movie/swf Cache On IE
Is there a way on how to remove the cached file of a movie so that if you update the swf, users dont need to clear their cache manually.
Anti Cache
Howdi everyone. I am making a website, and i do not want it to go into the cache because i will be updating it while i am still making it. So how do you achieve this???
my webpage is:
http://marty.trancetechno.com/index.html
and the swf file is http://marty.trancetechno.com/menu.swf
thanx a million in advance
Cache Issues
I have built a bandwidth speed tester in flash and have it loading on top of my main movie (using loadMovie of course)--
It works great, but only once. On repeat tests it returns unrealistic values because the swf file has been cached.
I need to find a work around this cache issue so that my bandwidth tester will work on repeat tests.
I have tried meta-http equivs, javascript refresh, and unload and none seem to be able to get rid of my problem. I'd like to know if there is a way to avoid having the file cached on the users system through some actionscript or any other methods if possible, without having the user take any steps to delete the file from their cache.
Any suggestions?
|