Flash Image Caching
Hi, can some one clear up this question:
If I visit a flash website and within the site their are JPG's which are loaded dynamically, are the images cached on the client side i.e. temporary internet folder?
thanks, Mike
FlashKit > Flash Help > Flash General Help
Posted on: 02-17-2005, 01:46 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Image Caching In Flash
I have a simple question...
Does Flash cache images that get pulled in dynamically from an external source? We have a text file where the user pastes in the URL for the image they want pulled in and we want to know if this gets cached on the user's system somehow. This is because we are adding a rotating function which will switch between 3 different images. We're not sure we want to travel down that route if the the Flash is constantly hitting our server for images all of the time.
Any ideas?
Image Caching
I have a larger image I would like to load into the chche when the site loads so that it is not so heavy when it is needed later on.
Call it: port_bg
port_bg loads in my portfolio section and I would like it in the users cache before they hit this area so that it loads quickly. Ideally, I don't want to use a preloader if it is possible to cache it earlier.
Thanks!
Image Caching
I am trying to load external images (jpgs) into my movie and ensure they are not cached into the customers Temporary Internet Files folder ... I am using the myMovie.loadMovie("filename.jpg?ver=random"); ... but it stil caches every time.
Can't understand why i can't this working when everyone else says it does ???
Image Caching
Hey!
Hey guys... Does anyone know how to cache images downloaded from Flash? Also the images are called from a database table that stores them as blobs. Finally the images are programmatically called using the assistance of the download component which is using Actionscript 2.0
Help - How To Diable Image Caching
I am trying to build a flash image viewer.
The swf viewer fetches serialized jpg image files from the web server
and displays to the user. This I figured.
The question I'd like to ask is:
Is it possible to make the flash image viewer so that the jpg files will not
show up on the 'temporary internet files' directory?
I don't want the browser to cache the image files.
I'd like to make it so that the user cannot copy the image files from the temp directory.
Thanks in advance!
PHP Image Caching Problem
Hi,
I'm building a flash AS3 application that loads most of its images dynamically via PHP. The problem I'm having is that Flash won't cache these images, so everytime I go back to a page that I've already previously visited it reloads all the images again from scratch. Can anybody suggest a way that I could get flash to cache these images, the urls can't be hard coded, I definitely need need to use PHP te retrieve them. Any help would be appreciated :)
Cheers
Prevent Image Caching?
Hey,
I have a Flash application that lets the user choose and upload a new avatar. However, since Flash seems to cache images, I keep seeing the old avatar long after the new one is successfully uploaded to the server and reloaded into the application. Is there any way to prevent this?
Image Loading/Caching Problems In IE?
Hey guys,
Have any of you experienced weird issues related to loading external images exclusive to IE?! It's driving me up the wall. I have no idea what's wrong and my possibilities for testing are limited due to the fact that I'm still on PowerPC Macs (can't run Windows/IE).
I have created a simple little image gallery which is part of an HTML website, when you navigate to the page which contains the gallery a strip of thumbnails loads from an XML index. When you click on a thumb the large version is loaded in. Now—if you navigate to another section of the site, say Contact (keep in mind this is an HTML site), and then you change your mind because you have severe A.D.D. and find yourself back at the gallery site the thumbs no longer load! ...this happens only on IE—shocking, isn't it?
Has anyone come across this type of behavior before, or have absolutely any ideas for a battle plan? Anything at all.
Thanks!
External Image Caching With Loadmovie
Hi,
I'm using loadmovie to download some external jpgs from a remote server, my main flash file is a Flashplayer exe not swf..
I have the trigger to download the external jpgs set to repeat itself on a timer (in this case, 20 mins) - but I was wondering if the jpgs that get downloaded are being cached at all.
I'd like my Flashplayer movie to "check" for new images every 20 mins, but if there's no difference in the cached versions it has, don't bother with the download.
Hope this makes sense, just trying to find out if Flashplayer is caching these images and saving me some bandwidth.
Thanks in advance,
Mike - Axis100
Caching Of XML -- Flash MX
Greetings!
I am using Flash MX to generate a html page driven by a PHP script that generates XML.
My problem: I can prevent caching of the swf file, but how do I prevent caching of the php file (generating XML) that I am loading? In other words, how do I prevent the caching of my XML file that changes dynamically?
If this is not clear, please let me know!
Thanks in advance!
Flash Caching
I have an asp and Flash guestbook that pull out all my variables from the asp page and display’s them in my Flash file but when I post too the asp page the returned results are being cashed and not updated!
How do I get Flash to stop caching and refresh the data that is pulled out?
Any help would be grand!
Cheers
Jemes
Flash Not Caching On Mac
I am creating an online gallery in Flash that basically loads in external swfs for each image with a preloader bar animation displayed whilst the swf is loading. Once a swf has fully loaded, the swf image is displayed. There are left and right arrows on screen to move between the images in the gallery.
The problem is that when viewing an online version of this on the Mac, it does not appear to be storing the swfs in the cache as when clicking an arrow to go back to a previously viewed swf image, the preloading process appears to occur again as if it is having to preload the swf again from scratch. On the PC, this is not the case, and it instantaneously displays any previously viewed swf images.
I have tried it on several Macs so don't think it is a setting on the Mac unless the default for all Macs is to not store any cache (Tested it in I.E on all Macs).
Anyone experienced similar problems, or can suggest any ideas why it should not be working on the Mac but is working on a PC?
Many thanks
P
Getting Around IE Caching Flash
Okay, I have this weather feed on a site.
The flash movie:
1. has a textInput field where people can enter a zipcode
2. takes that value and sends it to a php file
3. the php file inserts the zipcode value into a string and writes out a proxy php file
4. the proxy php file calls: http://xoap.weather.com/somezipcode?cc etc. etc.xml which then makes the proxy.php file the actual xml file
5. Flash reads that file and displays the content
The problem is: when you enter another value into the text field, it returns the old zipcode results in Explorer ... in Firefox and Netscape Navigator it returns the newly selected zipcode info.
Even weirder
If I open a new window in Explorer, then go back to the original page and enter a new value, it then works in Explorer!?!?
What's the dealio?
Flash/PHP Caching
I seem to be the only guy that can't stop my PHP files caching ... so I thought someone might help me out ...
My Flash Movie submits a sendAndLoad to my php file ... the file collects data from a mysql database ... and the results are sent back to flash using the echo command in php. This all works fine right now.
When i put the PHP headers in to try and stop the php file caching the results are no longer being received in flash.
The headers i am using are below:
header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// always modified
header ("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header ("Pragma: no-cache"); // HTTP/1.0
I have copied the file from the cache and edited it ... it does not contain the PHP source but the returned mysql results being echoed back to flash.
I have done more testing ... turns out that the header works fine on my php file and does not cache if I call it independently ... however if I call it from flash then it gets cached.
It seems that the only command which stops the results apperaing in the php filename in the cache is: header("Pragma: no-cache") ... this is also the one that stops the results being fed back into flash after my sendandload command.
Help With Flash & IE Caching
Hi,
I have a flash header in a Miva Merchant Store. It works fine in all browsers except for IE. In IE one has to hit the refresh button to get the new data to appear. I have an article on adding a random variable solution but not sure exactly how to code this. Article: http://www.permadi.com/tutorial/flashcache/
Would love some advice on this.
Stacey
Flash And Caching
Hi,
When a user visits my home page, he/she watches a flash movie. Then if the user goes to another page and they want to come back, they're forced to watch the entire movie again. Unfortunately this gets annoying because the navigation doesnt show up til the end of the movie.
Is it possible to have the flash movie recognize if the movie has been cached and go to a certain frame to avoid having to repeat the movie each time?
Thank you!
Meaddas
Flash Caching
I have an asp and Flash guestbook that pull out all my variables from the asp page and display’s them in my Flash file but when I post too the asp page the returned results are being cashed and not updated!
How do I get Flash to stop caching and refresh the data that is pulled out?
Any help would be grand!
Cheers
Jemes
Flash Caching
I made a new version of a flash file for my site, but the old file is cached in my users browsers. is there any way i can make sure they get the new version without renaming the file?
Caching Flash Movies
I'm working on a site that loads a series of invisible movies into a parent movie. I do this because by the fime the first movie has been viewed the next one is ready. I'm currently downloading 5 movies at a time.
Problem is that when a user leaves that scene the last 5 movies are still being loaded. Does anyone know of a way to stop a LoadMovie that is only part loaded?
Flash Page Caching
Hi
I am having problems with Page Caching. I am updating an Access database from a Flash field, and that is working fine. However, when I access the field again to see the new changes I have done, the Flash page is displaying the old data while the database has the new data. When I Cache the page manually, ie from the Explorer Toolbar I choose Tools->Internet Options->Delete Files->Delete All offline Content, it works. How can I skip this step and make Flash display the new results automatically? Btw I am using an Access database and amending these fields with ASP code.
Thanks for your help
Flash Video And Caching
Hi, I was wondering if anyone could help me. I would like to put video on my website. Once the user goes away from the home page and comes back a new video will take its place and automatically play....then the videos will loop and do the process over again. im assuming it's something to do with caching and how often the user clicks on the home page. Id be so so grateful if someone could shed some light on this as it's for a university project. many thanks.
Does Flash Have Any Automatic Caching?
Lets say I have a bunch of xml files that are going to be loaded by the app, I am assuming flash does not cache anything. Ie, if I tell it to load the same url twice during the course of the movie, it will load a fresh copy both times (bandwidth). If it does, cache, what is the implementaion of the cache? Apache headers?
Flash Caching Issue Perhaps?
I have a flash movie in a flash movie that loads external jpegs. I don't know how to trigger the problem but occasionally. My slide images disappear. And then sometimes they will reappear. It seems to happen when I leave my movie open and browse around to other web pages and come back.
But like I said I can't seem to duplicate the problem.
Any ideas?
URL is here: http://www.m289.com
---the stills section.
Thanks in advance if anyone knows what is going on here.
Caching Images In Flash
In my application I am using two images one for mouse over and one inactive button.
Both are loading from XML. But while mouse over it taking some delay to show the mouse over image.
Is there anyway of cache the image or temperorily store the image in flash and then displays on mouse over. which will avoid the delay(jerking).
Please anybody have an idea about it please help me.
Flash Browser Caching?
Hello
I've tried searching about caching, and all I came up with is how to PREVENT the browser from caching content which includes flash objects.
I actually DO want to make sure that the browser is caching my object. I've seen that the default behavior of browser is to cache flash, but how can I control this? From what I've seen the http header that one can change applies to the entire page and is not specific to a flash object in it.
Thanks for any answer,
Amir
Caching Issue With Flash
ifirst off ive never experianced this wiht flash maybe its the new player?
all of my file i load into flash dont update when i change them...like images and text files...
so if i edit a text file it loads the old data not the new ect....this happens in both firefox and IE.
is there a way to disable file caching in the new flash 8 or mx?
thanks for any help
ps when will there be a flash 8 thread?
Flash Caching XML File
I am using a product I purchased SlideShowPro which i a flash drag and drop gallery
the default setting for the xml is images.xml in the root.
I chaged this to /xml/gallery.xml
now I have several galleries and the ability for people to create dynamic galleries with the xml beign generated on the fly.
when someone click on a link to view a gallery, the gallery.xml file is created on the fly based on what criteria the user clicked on.
that all works perfect, the problem lies when the user clicks on the next gallery, even though the xml file is updated, it was cached from the previous request and still displays the data from the previous incarnation of the file..
I read about ransdom numbes to make it think its a unique file, I understand the logic but no clue how to impliment
Caching A Flash File?
Man, haven't been here for a long time!!
Anyway
I have a site with a flash header. The header has a preloader swf, which preloads the header interface swf. Problem is, when the user goes to any page through the flash header, the whole thing reloads from the preloader., meaning it's all downloaded again.
Without resorting to frames, how do I make it so the header doesn't reload? Can I cache that interface SWF?
Flash Caching Issue
I have trouble with the Flash caching issue. I am using flash 8 and set it to work with player v6. The swf is called "photo.swf". I created a swf called tester and in the first and only frame in that swf I put the following code:
myIdentifier=Math.round(Math.random()*10000);
loadMovie("photo.swf?uniq="+myIdentifier,1);
but nothing shows up. Isn't this supposed to open photo.swf in tester.swf and solve the caching issue? Please help.
Caching A Flash File?
Man, haven't been here for a long time!!
Anyway
I have a site with a flash header. The header has a preloader swf, which preloads the header interface swf. Problem is, when the user goes to any page through the flash header, the whole thing reloads from the preloader., meaning it's all downloaded again.
Without resorting to frames, how do I make it so the header doesn't reload? Can I cache that interface SWF?
Javascript And Flash Caching
I have a swf that awaits a few variables that I pass via JS (document.flashID.SetVariable()) Some of the variables are manipulated in ActionScript and then are displayed. The first time this loads, all works fine. Subsequently, the variables that are used 'untouched' work fine but the ones that are manipulated by the Actionscript do not. I can't use any of the <head> caching fixes or url querystring additions. Is there not a way to be able to pass new values to a swf and get them manipulated each time?
Thanks,
Rob.
Flash CD - Caching Probs
Hi All,
I have created a flash presentation with some intro videos and then off to an interactive presentation.
My problem is that it works beautifully from the hard drive but the movies don't load very quickly and do odd things off the CD.
I've tried loading a movie and preloading the one to play after that and so on but still not working out great.
Does the DC-rom speed have much impact? any tips or suggestions?
Any advice?
Thaks
Help With Flash Caching System
Hello All,
I've been trying to understand the way flash movies are cached on web browsers and so far i haven't learnt much from the read-ups i've encountered. The thing is i have a site designed only in flash, I have links in the movie that load other movies/images with preloaders. I want to ensure that once a user clicks on such a link once and the movie/image is downloaded, it gets cached for that session only. If the user were to click on such a link at some other point in that session, there shouldn't be any need for the movie/image to reload again. But when the user closes the page and re-opens again, everything should load afresh.
This is pretty long to read but please bear with me
Thanks in advance.
Flash Caching / SendAndLoad
Having some problems with what I believe is a flash caching problem. I added an "empty" variable in which I generate randomly to the flash embed. something.swf?n=RANDOM
however, there still seems to be a problem with the products loading correctly, for some users they dont load at all, and it consistantly works on all 4 of my computers - in firefox Mac and PC, IE, Safari - any suggestions of how to work this?
I pull product from a query varible attached to the flash embed, that then uses the sendAndLoad method to call a PHP file, which then counts how many files are in the directory. It then loads the files accordingly. There seems to be a problem with consistantly getting the variable from the HTML or the sendAndLoad is not firing everytime.
http://www.shaebelle.com/fashionlines.php
Thanks
Loading XML Into Flash Without Caching.
Hey gents,
I am loading an XML file into flash which is basically the whole design of the animation, the thing is it will be getting changed very frequently, and after it is changed it does not want to update at all, it keeps loading the XML from the cache... is it possible to get the flash file to read from the XML file itself instead of caching the XML and not changing for 5 hours.
here is my code that reads the xml file
Code:
var xmlData=new XML();
xmlData.ignoreWhite=true;
xmlData.onLoad=processXMLData;
myLoadInteval = setInterval(LoadFile, 5000);
function LoadFile()
{
xmlData.load("http://pc03449/animation/reader.xml?random="+random(999));
}
thats basically my loading of the XML file, i tryed to set an interval so it reloads it every 5 seconds, but it didnt work and also tryed to add a random query string number but that didnt work either...
any help most appreciated!
Thanks in advance.
Flash IE (PC) Caching Issues?
Hi All,
Ours is a small flash website. The landing page is index.cfm that contains the flash movie. The flash movie has 5 nav elements.
For purposes of tracking we have wriiten a function for each of the nav element, that makes a call to a cfm page which writes a record in the database. So if I click nav elements 1,2,3,4,5 and then 5,4,3,2,1 it should wite 10 records in the database. It seemed to be writing all the 10 records for all the browsers we had tested except for IE on PC. It only records it the first time. 1,2,3,4,5 and not 5,4,3,2,1 basically not the subsequent times.
The other browsers tested and found to be making the right calls are:
PC: FireFox 1.5
Netscape 8.0
Mac:
IE 5.3
Safari 1.3.2
Firefox 1.5
Do you know whats happening on IE 6.0 on a PC(Win XP2)?
Any leads or suggestions are welcome.
btw I am also use the meta refresh tag to get the latest files.
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jul 2002 11:12:01 GMT">
Flash Caching Problem
Hi all,
I have made a Flash navigation menu for a site I am working on which has some "slide in" effects whereby the links slide in from the left and right.
I made the SWF file in Swish and it plays fine in the preview mode and also plays fine the first time it is loaded in the browser (or if you press the Refresh button), but thereafter it seems to play at turbo-speed when I click any of the links. In effect it seems that when the browser has it cached, it plays the movie at about 10 times the normal speed.
Does anyone have any idea what could be causing this problem and how I can fix it?
Many thanks.
Chris
Prevent Flash From Caching
Hi
I have read a few articles about ways to prevent Flash from caching, not sure what I'm doing wrong. I have a flash file that grabs data from an ASP file using a Flash Shared Object. The code to embed the Flash file in the asp page is:
Code:
<PARAM NAME=movie VALUE="0<%=lecID%>/index.swf?email=<%=email%>&pass=<%=pass%>">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#E9EBEC>
<EMBED src="0<%=lecID%>/index.swf?email=<%=email%>&pass=<%=pass%>" quality=high bgcolor=#E9EBEC WIDTH="800" HEIGHT="600" ALIGN="middle"
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
There are 2 flash files that pass the variables between them to keep track of the user. That is done using a Flash Shared Object. Here is the code in the 1st of the 2 files (index.swf):
Code:
email_so = SharedObject.getLocal("uemail");
if (email_so.data.email==null) {
email_so.data.email=email;
email_so.data.pass=pass;
}
email_so.getLocal("uemail", "/01/proj.swf");
email = email_so.data.email;
pass = email_so.data.pass;
email_so.flush();
It checks if the email_so object is empty (not passed from the other flash file) and it grabs the variables from the ASP file, and/or it grabs them from the other swf file (proj.swf).
I'm not very familiar with the usage of FSOs, so I'm not sure what's going wrong and where.. because when I try to log in with other variables, the old ones keep popping back. I even tried deleting the files off the FTP server and re-uploading them and those old variables are still there!!!
Please help!!!
Thanx!
Maria
Keeping Flash Movies From Caching?
ive got movies at pull off of a database (php/mysql) and one off a textfile. i notice that it typically gets cached so any new entries do not show up upon refresh. how can i keep them from caching?
thanks a lot.
yjk
Flash Files Not Caching In IE 6... Any Ideas?
Hey guys - ok heres my case: I built this site and published it to server A. Site worked beautifully. Server A went out of business and I was forced to republish to server B (which is a more respectable host). Now on this new server, none of my flash files will cache. I need them to because I have a good size header file (179k) and right now it's reloading on every page...poor poor dial-uppers. I contacted my host and they say its on my end. Site works fine in Opera7 and Netscape7. Issue is isolated to IE6. FlashMX files published as Flash6 (also published as flash5 to test, but issue remained so I went back to the flash6 SWFs). I'm totally stumped. Here's the site the issue is occuring.
www.club540.com
Any ideas are appreciated. Thanks!
-Sean
Stop Flash Caching Movies?
Can somebody please tell me how I stop flash or the browser caching the movies, I am working on my own flash site but the content is going to be regularly updated, the problem is the browser saves the old movie and loads that instead of the updated version, unless I delete the files manually from my PC. I could rename the files differently every time I update but do not really want to do this as I will end up with 100's of files.
Please help!
Flash 8 Class Caching HELL
How do you uncache class files in flash 8? or turn off class caching altogether? The class caching system is simply awful!
Even using Control-> DELETE ASO FILES the classes are still being cached and my changes are not being compiled. Wow this is hell please help
Flash Player And Bitmap Caching
Hey
I was wondering if anyone could shade some light on this topic. When you load a swf into a movieclip, any bitmaps that are in the loading swf get uncompressed so that you can view them. When you unload that swf, do the bitmaps get flushed from memory or do they stay in memory on your computer for a while incase you want to view that file again (save time). I have heard that the only way to flush a uncompressed bitmap from memory is to unload the whole _level that it is on. Keep in mind that I am talking about memory not the cache. Any help would be much appreciated.
Cheers
XMl Flash MP3 Player Caching Issues....
Hi,
I want to use this Flash MP3 player http://www.flashstar.de/tutlist/index.php3?id=943 on my website to play my music compositions. It is a fantastic player, but it is caching the mp3 files to location "C:Documents and SettingsuserLocal SettingsTemporary Internet Files" on the user's machine.
Is it possible NOT to cache the mp3 files to the user's local machine...?
Pls let me know if there is any other flash xml mp3 player which has the same functionalities.
Please help, attached .fla file. thank you
Flash MP3 Player Without Caching Files
Hi,
I want to use this Flash MP3 player http://www.flashstar.de/tutlist/index.php3?id=943 on my website to play my music compositions. It is a fantastic player, but it is caching the mp3 files to location "C:Documents and SettingsuserLocal SettingsTemporary Internet Files" on the user's machine.
Is it possible NOT to cache the mp3 files to the user's local machine...?
Pls let me know if there is any other flash xml mp3 player which has the same functionalities.
Please help, attached .fla file. thank you
Flash Player And Bitmap Caching
Hey
I was wondering if anyone could shade some light on this topic. When you load a swf into a movieclip, any bitmaps that are in the loading swf get uncompressed so that you can view them. When you unload that swf, do the bitmaps get flushed from memory or do they stay in memory on your computer for a while incase you want to view that file again (save time). I have heard that the only way to flush a uncompressed bitmap from memory is to unload the whole _level that it is on. Keep in mind that I am talking about memory not the cache. Any help would be much appreciated.
Cheers
XMl Flash MP3 Player Caching Issues....
Hi,
I want to use this Flash MP3 player http://www.flashstar.de/tutlist/index.php3?id=943 on my website to play my music compositions. It is a fantastic player, but it is caching the mp3 files to location "C:Documents and SettingsuserLocal SettingsTemporary Internet Files" on the user's machine.
Is it possible NOT to cache the mp3 files to the user's local machine...?
Pls let me know if there is any other flash xml mp3 player which has the same functionalities.
Please help, attached .fla file. thank you
Caching Flash Movie And Preloader?
I'll start by saying that I'm a flash newb....
I created a movie and a preloader for my homepage by following instructions in the Flash MX Bible. Anyway, everything seems to work well, but my preloader shows EVERY time you hit/refresh the homepage. It "appears" that my entire movie is being reloaded each time the page is refreshed (it's hard for me to tell 100% if the whole movie is being RE-downloaded since I've got broadband). Is it possible to cache the movie so that it's only loaded ONCE, and the user only sees my preloader graphix once?
Maybe I just screwed up my preloader script so it's being shown no matter what...I'm not sure.?
Any advice? My test page is here:
http://www.brickfront.com/wedding/index.shtml
|