As3 :: Flash - How To Disable Image Caching

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


Similar Posts:


Disable Flash Caching?

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

Javascript :: Disable IE9 Browser Caching?

Oct 3, 2011

I have a Flash application that sends a getURL request for an image file every 60 seconds.

This works fine in all browsers except IE9 with Internet Option set to automatically check for newer versions of stored pages. I setup Charles proxy (http://xk72.com) to watch the requests being sent by my flash app and confirmed that the request is being surpressed by IE9 when the setting is set to Auto, but works fine if I change the setting to check everytime I visit the webpage. This, however, is not an option! I need this to work in all browsers regardless of how the options are set.

Even if I do a page refresh (F5), the ASP page does not reload. The only way to get it to reload is close the browser and restart it.

I have tried adding content headers to disable caching but it does not appear to work.

For Example, here is my request headers:

HTTP/1.1 200 OK
Date Sun, 02 Oct 2011 23:58:31 GMT
Server Microsoft-IIS/6.0
X-Powered-By ASP.NET
Expires Tue, 09 Nov 2010 14:59:39 GMT
Cache-control no-cache
max-age 0
Content-Length 9691
Content-Type text/html
Set-Cookie ASPSESSIONIDACQBSACA=ECJPCLHADMFBDLCBHLJFPBPH; path=/
Cache-control private


I have read the Microsoft blog (http://blogs.msdn.com/b/ie/archive/2010/07/14/caching-improvements-in-internet-explorer-9.aspx) which states that if I add the content headers, the browser should respect my request, but it obviously does not.

I don't think this is a Flash issue since the html page that holds the Flash object will not even reload.

View 1 Replies

Javascript :: Disable Caching YouTube Videos?

Oct 1, 2010

YouTube achieved quite a feat when they made youtube videos work with cache. However, this is causing a problem on my ajax site and would like to know if there is a way to disable youtube videos being cached. Especially in Internet Explorer.

I cannot disable caching for the whole page as I need caching to work for images and other content for speed reasons.

View 2 Replies

ActionScript 2.0 :: Online Game - How To Disable Caching

Nov 22, 2003

I'm making an online game where you can walk around in a city, and you see the others walk around as well at the same time. I made the script in php. The problem now is: I'm loading vars from flash out of the php-file, I know I can fool the cache by adding a unique number to it. That works, but I'm loading the php-file every second and if you look at your temporary internet files, you get a list of maybe thousand times the same php-file. In the beginning that didn't really matter, but now when I look at my site stats the list is like 5000 pages long... There must be an other way to fool the cache. And I was thinking about an old html-tag I used once to make sure your html-file wasn't loaded from cache: [URL].

View 1 Replies

IDE :: Flash Caching An Image?

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

ActionScript 3.0 :: FlexBuilder - Disable Caching In Debug - Mode?

Jul 9, 2009

SWF caching has bit me quite a few times now. I want to debug in the browser because that's where the swf will run. But Firefox sometimes caches local files incorrectly, thinking that it has the latest version when it doesn't. This can cause a huge headache with debugging, causing me to wonder why something doesn't work no matter what I do.

The workaround I use is to create a custom html file in bin-debug that loads the swf with a random string appended so Firefox never caches it. This works fine, but every time I start a new project, I need to remember to do this.

View 3 Replies

ActionScript 3.0 :: Flash Caching An Image?

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?

View 3 Replies

ActionScript :: Flash - Bitmap Caching Vs Image Asset Performance

Mar 14, 2011

i've created a full spectrum color wheel Sprite object that is composed of 1440 vector triangles, or slices if you will. since i want to animate the color wheel, i've activated the display object's cacheAsBitmap property. however, caching the vector as a bitmap does not increase performance during animation it remains slow, jumpy. importing a PNG screenshot of the color wheel into the library with lossless compression, converting it to a Sprite, and rotating this new image asset performs great during animation. why does an uncompressed PNG image asset import out perform the same vector image with cacheAsBitmap property set to true?

View 1 Replies

ActionScript 3.0 :: Click On Another Greeting The Original Greeting Still Plays In Ie - Swf Caching Or XML Caching?

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

IDE :: Disable Image Panning?

Aug 27, 2009

this tutorial. [URL]How can i disable this image panning?I'm trying to disable it, when i pressed some button..

View 3 Replies

Flash - Bitmap Caching Or Using PNG?

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

ActionScript 2.0 :: Disable The Image Panning?

Aug 27, 2009

[URL]How can i disable this image panning?I'm trying to disable it, when i pressed some button..

View 0 Replies

ActionScript 1/2 :: Flash Caching On Windows 7?

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

Flash :: Flex 3 And Player Caching?

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

Flash Seems To Be Caching Crossdomain.xml File?

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

Flash :: Creating AMF Files For Caching?

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

Flash :: Handle Manual .swf Caching?

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

Flash :: Caching Flv Data In Flex?

Sep 9, 2011

I am developing an eLearning application in Flex which shows flv movies hosted on a webserver. If the app has many simultaneous users the download demand is quite high because a lot of users need to download the (same) movie(s). Is there a way I can precache this data in my flex client like storing it in the browsercache or something so that for later sessions the bandwidth demand is less high?

View 1 Replies

ActionScript 3.0 :: Possible To Prevent Flash From Caching?

Jan 27, 2009

When Im loading an xml document, it's as if flash caches this document, and uses that cached version all the way (disregarding how many times I open and close the app) ... well, that's so until I open the xml file inside the browser (IE) and ctrl-F5 to refresh; that's when flash starts getting the updated xml. What's up with that? Is there a way to prevent flash from caching??

View 2 Replies

IDE :: Preventing Flash Player Caching

Sep 8, 2009

edit: Resolved; my ActionScript function for parsing the mySQL results didn't correctly interpret a recently modified column, and the corrupted new output happened to be identical to the old output.

I have created an application that accesses a PHP/mySQL database, but it caches old information.

I used the workaround from Adobe's website, where I append '+ new Date().getTime()' to the URLRequest String, but the application continues to use the old data.

When I trace the URLRequest String and C&P it into a browser window, however, I receive the correct data.

View 2 Replies

ActionScript 3.0 :: Browser Caching In Flash

Oct 21, 2010

I have a Flash file that is linked to 14 xml files using the E4X method. To keep the network activity to a minimum, I have it set up so that the xml files don't load until the relevant button is clicked (rather than have them all load at the beginning). I've been told I could further reduce network activity by using something called browser caching. There seem to be methods called "conditional HTTP" and "304 caching" but I can't really find a coherent tutorial on how to add this to the code.

View 5 Replies

ActionScript 2.0 :: Disable Button For Drag Image?

Aug 8, 2009

I'm pretty new to action script and I have been playing around with the drag image script I found. I been trying to make it that whenever you click on a button the dragging function will be disable and when you click on the button again the dragging will be enable again. [code]...

View 2 Replies

ActionScript 2.0 :: XML Gallery - Disable FWD Button On Last Image?

Aug 5, 2006

I have made an gallery of images which calls one image at a time in sequence using an XML file. The images display in a movie clip inside the flash.swf file. The gallery works fine ... though there is something that I would like to address from a usability standpoint and am hoping that it can done with some simple actionscript. The gallery has a movie clip in which the images load... and a forward and rewind button to cycle through the images.

The problem is that when the user cycles through the images using the forward button, going from one to the next... and reaches the last image...the forward button is still visible, and causes the user to want to click on it. After a few clicks ... without anything happening (because there are no MORE images in the gallery to forward to) the user either assumes that the button is broken or moves on to some other part of the site.

Eventhough there is a counter on the screen indicating which image the user is looking at... ie image 3 of 23.... user feedback has been that they rarely look at this to stop cycling through the images ... when the forward button in still visible at image 23 of 23. I am wondering how to actionscript the forward button to both disable it and make it invisible when the user is at the final image.

Here is the actionscript that currently runs the gallery:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;
[Code] ......

View 4 Replies

ActionScript 2.0 :: Disable Text Wrapping Around An Image?

Nov 10, 2006

How do I disable text wraping around an image? Just to normally write under an <img> with a single <br> (not more) in a htmlText? I wanna get rid of auto text wrapping...

View 1 Replies

ActionScript 2.0 :: Disable Previous Button In The First Image And The Next Button In The Last Image?

Sep 9, 2007

[URL]how I could disable previous button in the first image and the next button in the last image?

View 7 Replies

Professional :: Loading/Caching Flash Movies?

Feb 6, 2010

Using Actionscript 2, I'm a bit new to all the scripting stuff.I have a loader loading a couple of flash movies like this:loadMovieNum("sound.swf", 1);loadMovieNum("logo.swf", 2);loadMovieNum("mainmenus.swf", 3);Those 3 movies I need to go to the main section of the site. However, I would like the loader to also load the remaining movies needed to further navigate the site, but without displaying them now  Kind of like 'caching' the rest of the site, so when the access is needed, there's no load time.

View 9 Replies

ActionScript 3.0 :: Prevent Flash From Caching Loaded Images?

Sep 15, 2010

How do I prevent Flash from caching loaded images?

In my app a user make a change to an image and saves it back to the server as the same name. Flash then reloads the section and the new image should be reflected. However, it is not. The image looks fine on the server and is updated on the server...

View 3 Replies

Flash :: Child SWF Is Caching Even Though Browser Cache Is Disabled

Dec 17, 2010

I've got a parent SWF that loads in a couple child SWFs. Even though my browser cache is cleared -- it's disabled, in fact -- reloading, or even restarting, the browser doesn't trigger the newest version of the child SWFs to load into the parent SWF. I can even delete the SWF off the FTP server, and it still gives me the last version that was up there.

What's caching the child SWFs, and how do I force them to refresh on my end? I'm not too concerned about the end user, because once the site development is over, the SWF files won't change very often. (They're all loading in XML files that have the cache disabled via PHP cache control and expires headers.)

I'm primarily using Firefox on PC and Mac, but it seems to do the same thing on IE/PC and Safari/Mac. The PC is using my ISP's DNS, and the Mac is using OpenDNS... not sure if that has anything to do with it. The site is hosted on Rackspace Cloud.

View 1 Replies

ActionScript 2.0 :: Prevent A Flash Movie From Caching A XML File?

Dec 8, 2005

I made a gallery with an XML file but the problem is that after viewing it on the web and modifying the XML I don't see any difference...it's like I never even modified it...I'm guessing it's because the browser reads the XML file from the cache...how can I make the flash movie read the XML from the web every time it loads?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved