ActionScript 2.0 :: F8 Stop XML Caching?
Feb 2, 2007
I need a way to stop XML files from caching. I have tried the xmlfile.load(file.xml?uniq=somerandomnumber) method, and it doesn't seem to be curing the problem. I understand that this can be stopped with PHP, however, I cannot use PHP for this task.XML caching is not a problem locally, only online, from the browsers, I cannot use any browser addons either as this file will be displayed to a vast audience and I can't expect anyone to;
a) get an add on
b) clear their cache everytime they want to see the file.
View 4 Replies
Similar Posts:
Nov 9, 2009
I have a flv file that is being played and then after its finished another file with the same name has been recorded the problem is that when the new file is played if the browser window hasn't been closed then the old file gets played......How do I stop the browser from cacheing .flv??
View 2 Replies
Sep 1, 2006
Is it possible for me to have my SWF files NOT be cached by browsers? The reason being is that my main navigation system is set up in Flash, but it doesn't seem to load the "newer" versions unless I clear my cache first (when viewing in Tomcat anyways...)
View 1 Replies
Oct 28, 2010
I put a swf file on a website, then I made some changes and replace the old version. However, some browsers seem to have some kind of cache to remember the last swf file, they only show the old version instead of the new one. What can I do to stop the browser caching the old version?
View 9 Replies
Nov 21, 2004
When not cacheing an HTML page, any movies or anything you load INTO that flash file through loadMovie or loadVars still gets cached... I use senoculars script to prevent this...
[URL]
and 2) Yes you can stop the cacheing of your page...
[URL]
Use this information wisely my friend
i came across this post by lostinbeta to stop cacheing, but the link for the one to stop cacheing files loaded through loadMovie and loadVars doesn't work. know how to get to it, or what the as was?
View 1 Replies
Feb 25, 2010
I'm loading an external XML file when in the Flash development environment. ActionScript 3.0 (CS3) accesses the XML file using URLLoader. Everything is fine until I have to make changes to the XML file. When testing the Flash application while in the development environment, it does not see the changes I made to the XML file, because the URLLoader is somehow caching the results. Thus, the XML file looks exactly the same. This is very frustrating. Is there any way I can blow out this cache so that URLLoader is forced to load the XML file? Currently, I either have to re-start the Flash environment or change the name of the XML file.
View 7 Replies
Dec 30, 2009
I have this PHP page that lists several people. When someone clicks on one of the people they are sent to another PHP page that has their video greeting in a .swf embedded into the page. This works by the php writing the path to the greeting video to the xml file that the .swf loads and plays.
Well in firefox it works perfect, but in IE when they try to click on another greeting the original greeting still plays. Its like the swf is caching the first greeting and refresh of the page does nothing to alleviate this. Is this a problem with the swf caching? or XML caching? or am I totally clueless?
[Code]...
View 1 Replies
Jun 12, 2009
I thought I had a handle on the timer class (even just a beginners understanding), but I'm having trouble with it.I have an event listener for the timer and it starts fine i get a delay, then a tween,but when I place a myTimer.stop();in the fuction the listener called (to stop it) it dosent stop.it will repeat placing the first image, and then call the first function again
......Wait its placing the first image in (a couple of lines before the start), so Its restarting the whole movie, not just the function?
myTimer.addEventListener(TimerEvent.TIMER, tweenone)
myTimer.start();
function tweenone (event:Event):void[code]...........
View 6 Replies
Aug 29, 2010
I've been searching on google and through forums for hours now trying to find a way to prevent my site from cache in browsers. I know it's not possible to "prevent" it from caching, but it's a way to trick the browser into thinking it needs to load the SWF again instead of just getting the one from the cache.
Now I've tried many types but I can't get it to work. I don't understand how to implement it into AS or Javascript and what goes where..
My site is set up by one parent SWF combined with a HTML script and 6 child SWF's, and they are updating all the time so I really need this function.
See it here: [URL]
The most used one is this I think or something close:
myIdentifier=Math.round(Math.random()*10000);
loadMovie("myAnim.swf?uniq="+myIdentifier,1);
But how do I use it? where it goes and will it work on several child SWF's?
View 4 Replies
Aug 29, 2010
I've been searching on google and through forums for hours now trying to find a way to prevent my site from cache in browsers. I know it's not possible to "prevent" it from caching, but it's a way to trick the browser into thinking it needs to load the SWF again instead of just getting the one from the cache.Now I've tried many types but I can't get it to work. I don't understand how to implement it into AS or Javascript and what goes where.My site is set up by one parent SWF combined with a HTML script and 6 child SWF's, and they are updating all the time so I really need this function.The most used one is this I think or something close:
View 5 Replies
Aug 4, 2011
I have searched all over and have yet to find an answer to this. Does anyone know of a way to clear an FLV from the player's cache? I saw suggestions to add a query string to the end of the FLV location, but this causes the video to not play.
View 4 Replies
Jul 21, 2011
Is there way force the browser to retain previously viewed FLV files? I've noticed using the normal netstream set-up that even if you've fully loaded and viewed a video it will have to load it again from scratch each time you come back to it. Shouldn't the file be in the user's cache?
View 1 Replies
Dec 14, 2009
In Flash what would be wiser? To use a PNG or import the vector and cache it as bitmap?
View 1 Replies
Dec 24, 2010
I have a flash application and I want my users not to be able to do caching in their flash players.I couldn't find the code that disables the option of caching for them.Does anyone have the line I need to add (and where) which will disable the flash caching?
View 1 Replies
Feb 20, 2010
How do I stop the remote server caching the previous version of a .swf?When I upload a new version to the remote server, the old version still runs.
I don't have this problem on my local server
View 1 Replies
Dec 3, 2007
[code]the problem is my xml file is a variable being passed from the html, so I was wondering how to write this without the inverted commas?[code]
View 2 Replies
Jan 28, 2009
I am using e4x/as3 - Embedded XML in .as file - not caching?
View 5 Replies
Oct 12, 2009
I am doing a flash that getting images from Database. Here is my problem, if I dont close my flash, Whenever I update the images in Database, flash doesnt update the image at the same time. (if I have the image at frame 1, then i go to frame 2, then i update Database, now i go back to frame 1 again, the image is not updated.) It seems like the Loader is caching the image. How can I update my image? Anybody knows why?
View 5 Replies
Aug 24, 2010
i have this code:
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="cache-control" content="no-cahce">
[code].....
View 2 Replies
Sep 18, 2008
I have to load png images into flash, such that, whenever they change on server, the change should be reflected on client! But the swf loads the same image over and over during the same session! I am guessing this is because the browser returns the cached image instead of the original! how to fix this?
View 9 Replies
Sep 14, 2008
I periodically upload a revised main.swf. But I have torestart my browser when I retrieve the files from the remoteserver, in order to see my updated swf. The advice given on:"How to prevent caching of swf files"does nothing, in IE FF or Safari, with FlashPlayer v 9
View 20 Replies
Sep 30, 2009
Just to warn everyone using Windows 7 that in some cases Flash uses code that seems to be cached. At a certain point in time I knew my code was OK, but still it did not work correctly. I started looking at my trace results and suddenly discovered that it outputted code that was not in my sourcefile anymore.
To solve it, I renamed all AS files and then everything worked fine again.
View 2 Replies
Aug 21, 2009
I've created a Flex application and the size of the swf file is ~900KB. My trouble is that the files are not getting cached. When I launch the application for the second time, the swf file is fetched again from the server. I'm including the swf file in a jsp, and I'm not modifying any HTTP Caching Headers. I assumed that the swf files will be cached automatically. Isn't it so? How do I forcefully cache the file? Do I need to provide anything in the MXML code or just a response.setHeader("Cache-Control","max-age=100"); is enough? Can anything be done from the flex side itself?
View 2 Replies
May 7, 2010
i pass text strings from a configuration file into my Flex app, one of the strings i pass in is a mailto link which i use to allow users of my app to send me feedback. I recently needed to change this link however when i updated the link in my config file the change did not happen instantly in my Flex app. In fact i had to clear my cache (both browser and flash player) before the change showed up. This of course is fine for me but how can i be sure that users of the application also get the updated content? Is there a way to force a refresh of data loaded into my swf on other users browsers?
Finally is this an issue with my browser cache or the Flash player cache? Does the flash player only keep such data, like my email address, in memory while the app is in use and then clear once it is closed or does it cache this data for the next time the user wants to use the app?
View 1 Replies
Oct 27, 2010
I have updated the crossdomain.xml security settings for my site - but it seems that the older version is being cached in both IE and Chrome.I've checked the headers sent by the server and it's not sending any cache control headers that would be forcing the browsers to be caching crossdomain.xml.
In an attempt to get around the issue I've also linked to my crossdomain.xml file in an iframe on the site. This hasn't worked though and flash still seems to be using the old security settings.
View 2 Replies
Feb 10, 2011
After changing domain name where flash application being hosted I should change crossdomain.xml file. That crossdomain.xml is hosted on api-server, which is used by flash application. I see that flash uses crossdomain.xml from browser's cache. Is there any trick to make flash to not get crossdomain.xml from cache? Maybe there is any parameter, that I can pass to flash during it's call in object tag?
View 4 Replies
May 3, 2011
I would like to create some AMF files for caching on a server.
I am wondering if the best approach is to reconfigure BlazeDS to create these files so it spits out local files?
Or if is possible to use as3 itself to create the files.
View 1 Replies
Jul 8, 2011
I have a .swf in my rails application, located here:
/public/bin/editor/Editor.swf
It works fine, with one flaw, it gets cached often, so when we release a new version we are usually needing to tell the customers to clear their cache when they experience issues. My question is, how could I force the .swf to break cache when I release a new version? Something like:
/public/bin/editor/Editor.swf?timestamp=124158512132
I tried the above, but it did not seem to work.
View 2 Replies
Jul 13, 2011
working on a project with a custom flv player.Everything works as it should However, the flv's don't seem to be caching, if I play the video once, close the player, and replay again, the video has to cache -load entirely again before the video starts playing.
View 1 Replies
Aug 12, 2011
I have a web application developped using as3. The problem is that these application loads some image files, and add my watermark to them.What is happening is that these images are being cached by the browser, allowing the users who know how to access the tmp folder, to get these files, without my watermark.Adding the watermark previously to the image, is not an alternative for me, due the fact that when the a premium user is logged in the watermark is not added.How can I disable the caching?
View 3 Replies