Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Preloading Images To Browser's Cache


Hi,
I'm working on a flash gallery project where images are loaded through xml file.I have some buttons in the gallery for different categories of images to be shown. Is there a way to preload images to browser's cache prior to them being called.?,I'm using AS2.
Thanks in advance...




Adobe > ActionScript 1 and 2
Posted on: 10/03/2008 10:08:25 PM


View Complete Forum Thread with Replies

Sponsored Links:

Preloading Images To Browser's Cache Through Xml File
Hi,
I'm working on a flash gallery project where images are loaded through xml file.Is there a way to preload images to browser's cache prior to them being called with a movieclip.?,I'm using AS2.
Thanks in advance...

View Replies !    View Related
Preloading Swf's Into Browser Cache?
Basically, i would like to preload Flash movies when the main page loads, so that these flash movies will run smoothly later on in the site.

I have a flash website that has 4 movie clips, the first movie clip has buttons that access the other movie clips which i want to play in order.

here is my site: www.lucidreflection.net

My question, is there a way to preload all the movies into the broswer's cache without playing them? I have tried using arrays to load the movies, but they end up playing when they are loaded, so when you click on of the buttons, it goes to whatever movie is playing at that time. I tried Javascript, but would never load the flash files.

I have been researching this for the past two days now, and haven't found anything that works, this is my first full flash website and anyone's help would be greatly appreciated!!!

View Replies !    View Related
Preloading Files Into Browser Cache?
Hi all,

is it possible to preload files (jpg) into the browser cache using a flash preloader?

If so how?

If anyone could point me to a tutorial or has some tips that would be great.

Thanks a lot.

Tino

View Replies !    View Related
Check If Movie Is In Browser Cache (Preloading)
Hi scripters,

I am currently working on an advanced preloader, with a preloading animation. It has the following structure:

-Animation in (preloader shows up)
-Preloading of items in queue(the actual preload of the items)
-Animation out (preloader disappears)

The problem is as follows: everytime an user opens a window in my application it gets the "animation in". I don't want this, because the window is the same for every item so a preload when the window opens for the first time is sufficient.

To accompish this, I want the preloader to check (before "animation in") if the swf is loaded in the browser cache. If it is, it can skip the preloading (thus not showing the irritating preloader "animation in"). If it isn't, the preloading animation should start and load the movie in the cache. Does anyone have a solution for this problem?

I Already tried to solve this problem with shared objects, but this doesn't work if the user has flushed the browser cache (because shared objects are located in a different folder than the browser cache).

Another posibility would be a timer, that checkes how long the loading takes for an item. For example: if an item is loaded in less than one second, the "animation in" is not showed. With this construction there is a second problem: The preloader loads the items from a queue, so with 6-7 items the whole proces would take up to 7 seconds!

Does anyone have a solution for this problem?

Sorry for my bad english

Thank you in advance

View Replies !    View Related
Check If Movie Is In Browser Cache (Preloading)
Hi scripters,

I am currently working on an advanced preloader, with a preloading animation. It has the following structure:

-Animation in (preloader shows up)
-Preloading of items in queue(the actual preload of the items)
-Animation out (preloader disappears)

The problem is as follows: everytime an user opens a window in my application it gets the "animation in". I don't want this, because the window is the same for every item so a preload when the window opens the first time is sufficient.

To accompish this I want the preloader to check (before "animation in") if the swf of the window is loaded in the cache. If it is, it can skip the preloading (thus not showing the preloader). If it isn't, the preloading animation should start and load the movie in the cache. Does anyone have a solution for this problem?

Sorry for my bad english

Thank you in advance

View Replies !    View Related
Check If Movie Is In Browser Cache (Preloading)
Hi scripters,



I am currently working on an advanced preloader, with a preloading animation. It has the following structure:



-Animation in (preloader shows up)

-Preloading of items in queue(the actual preload of the items)

-Animation out (preloader disappears)



The problem is as follows: every time an user opens a window in my application it gets the "animation in". I don't want this, because the window is the same for every item so a preload when the window opens for the first time is sufficient.



To accomplish this, I want the preloader to check (before "animation in") if the swf is loaded in the browser cache. If it is, it can skip the preloading (thus not showing the irritating preloader "animation in"). If it isn't, the preloading animation should start and load the movie in the cache. Does anyone have a solution for this problem?



I Already tried to solve this problem with shared objects, but this doesn't work if the user has flushed the browser cache (because shared objects are located in a different folder than the browser cache).



Another possibility would be a timer, that checks how long the loading takes for an item. For example: if an item is loaded in less than one second, the "animation in" is not showed. With this construction there is a second problem: The preloader loads the items from a queue, so with 6-7 items the whole process would take up to 7 seconds!



Does anyone have a solution for this problem.



Sorry for my bad english



Thank you in advance

View Replies !    View Related
Preloading External .swf Files Into Browser Cache...
Hello,

I'm working on a hybrid site that uses multiple .swf files throughout and was wondering if there was a way I can have all the .swf files load to browser cache on the first page, either with actionscript, or javascript, or some other alternative…

Basically, I want certain .swf files to be cached to the users browser when the main page loads, so the files are ready when the user starts to navigate the rest of the site.

~pricky

View Replies !    View Related
Check If Movie Is In Browser Cache (Preloading)
Hi scripters,



I am currently working on an advanced preloader, with a preloading animation. It has the following structure:



-Animation in (preloader shows up)

-Preloading of items in queue(the actual preload of the items)

-Animation out (preloader disappears)



The problem is as follows: every time an user opens a window in my application it gets the "animation in". I don't want this, because the window is the same for every item so a preload when the window opens for the first time is sufficient.



To accomplish this, I want the preloader to check (before "animation in") if the swf is loaded in the browser cache. If it is, it can skip the preloading (thus not showing the irritating preloader "animation in"). If it isn't, the preloading animation should start and load the movie in the cache. Does anyone have a solution for this problem?



I Already tried to solve this problem with shared objects, but this doesn't work if the user has flushed the browser cache (because shared objects are located in a different folder than the browser cache).



Another possibility would be a timer, that checks how long the loading takes for an item. For example: if an item is loaded in less than one second, the "animation in" is not showed. With this construction there is a second problem: The preloader loads the items from a queue, so with 6-7 items the whole process would take up to 7 seconds!



Does anyone have a solution for this problem.



Sorry for my bad english



Thank you in advance

View Replies !    View Related
Check If Movie Is In Browser Cache (Preloading)
Hi scripters,

I am currently working on an advanced preloader, with a preloading animation. It has the following structure:

-Animation in (preloader shows up)
-Preloading of items in queue(the actual preload of the items)
-Animation out (preloader disappears)

The problem is as follows: everytime an user opens a window in my application it gets the "animation in". I don't want this, because the window is the same for every item so a preload when the window opens for the first time is sufficient.

To accompish this, I want the preloader to check (before "animation in") if the swf is loaded in the browser cache. If it is, it can skip the preloading (thus not showing the irritating preloader "animation in"). If it isn't, the preloading animation should start and load the movie in the cache. Does anyone have a solution for this problem?

I Already tried to solve this problem with shared objects, but this doesn't work if the user has flushed the browser cache (because shared objects are located in a different folder than the browser cache).

Another posibility would be a timer, that checkes how long the loading takes for an item. For example: if an item is loaded in less than one second, the "animation in" is not showed. With this construction there is a second problem: The preloader loads the items from a queue, so with 6-7 items the whole proces would take up to 7 seconds!

Does anyone have a solution for this problem?

Sorry for my bad english

Thank you in advance

View Replies !    View Related
[F8] Preloading Images Into Cache With Javascriptch3e
Hi,

I just would like to know if this works. I've tried it on a site, but I am not sure if it works properly.

What happens is I load a list of images into my project Via XML, however I want to load them into cache, before my flash even thinks of loading them.

Here's the JavaScript that I think loads into cache:

Code:
<script type="text/javascript">

if (document.images)
{
pic1= new Image(187,187);
pic1.src="images/DIG2_2900.jpg";
pic2= new Image(187,187);
pic2.src="images/DIG2_2750.jpg";
pic3= new Image(187,187);
pic3.src="images/DIG2_2751.jpg";
pic4= new Image(187,187);
pic4.src="images/DIG2_2765.jpg";
pic5= new Image(187,187);
pic5.src="images/DIG2_2752.jpg";
pic6= new Image(187,187);
pic6.src="images/DIG2_2899.jpg";
pic7= new Image(187,187);
pic7.src="images/DIG2_2764.jpg";
pic8= new Image(187,187);
pic8.src="images/DIG2_2763.jpg";
pic9= new Image(187,187);
pic9.src="images/DIG2_2760.jpg";
pic10= new Image(187,187);
pic10.src="images/DIG2_2753.jpg";
pic11= new Image(187,187);
pic11.src="images/DIG2_2898.jpg";

}
</script>

Can anyone give me some insight if you think this will work.
Thanks

View Replies !    View Related
[F8] Preload Images To Browser Cache
I have what I hope is a simple question. If I use a flash movie on one page to preload external images, are said images preloaded to the browser cache, much as they would be javascript? Thus making subsequent site pages load faster? I have large background image files on two pages and am looking for a non-js preload method. CSS is alternative of course, but it causes the front page to remain in loading status longer.

Thanks!

View Replies !    View Related
Preloading Into Cache
Can you preload a swf into the users cache. ie a menu system that called external movies when selected would actually begin loading movies into cache before user selected anything but would not be revealed until button selected.

Purpose is to cut down on lag time for external swf to load.

thanks

View Replies !    View Related
Force Preloading Even If Swf Is In Cache
hi,

I'm looking for a way to force flash in preloading a movie. I have an intro swf file wich preloads the main swf file (intro.swf is started on my index.html). Unfortunately once the main swf file is loaded, it is cached. So if I hit refresh, everything is preloaded immediately. I want my users to preload the whole thing everytime they visit my website. I heard something about adding garbage to the url like index.html?1521212 ..but that doesn't work.

Take a look at my website: www.arenatravel.be/dirixnv/new/index.html ... watch the preloader and hit refresh ...you see what I mean. Any good solution?

View Replies !    View Related
Preloading Multiple Swf To Cache
hi, i need to preload multiple swf to cache when my movie starts, can someone tell me what's the script is like?

View Replies !    View Related
PreLoading In User's Cache- Best Way?
Three hours of searching and getting kind of brain dead on this.
Basically, the opinion seems to be that one loads the swfs into a mc and makes them invisible (alpha 0%). Then, when you want to display them you alpha up to 100% on the frame in question.

Is there a better way?
ie- can I load an external swf into the cache at runtime but not put it on the stage until later?

View Replies !    View Related
Jpeg Preloading & Cache
Sorry, I put this in the wrong forum initally!!

I have a load bar which is part of the site design, therefore it is showing all the time.

I have a slideshow style section using jpegs, they change images every 5 seconds.

I want the preloader bar (which is operating through colin mooks' better preloading api) to stay on 100% IF the jpeg has already been cached, I tried setting a timer but its not doing it for me.

Basically it still shows the preloader going from 0 then directly to 100% width when the image is cached.

It works while the image is loading however.

Any ideas?

The function that I've written to load the objects then fires it off to the class written by mr moock.

Code below.

Code:
loadPhotos = function (where, what) {
trace("WHERE: "+where+"
FILENAME: "+what);
where._alpha = 0;
pauseLength = 50;
bar_mc._xscale = 100;
_root.onEnterFrame = function(){
if(pauseLength <0){
bar_mc.onLoadProgress = function(loaderObj) {
if(loaderObj.getPercent()<99){
trace("load percent: "+loaderObj.getPercent());
this._xscale = loaderObj.getPercent();
}else{
this._xscale = 100;
delete _root.enterFrame;
break;
}
};
}else{
pauseLength--;
trace(pauseLength);
}
};
myLoader = new com.qlod.LoaderClass();
myListener_obj = new Object();
myListener_obj.onLoadComplete = function(success, loaderObj) {
bar_mc._xscale = 100;
where.fadeIn(99, 2);
_root.img_holder._alpha = 99;
_root.or_trans.fadeIn(20, 2);
};
myLoader.addListener(bar_mc);
myLoader.load(""+where+"", ""+what+"", myListener_obj);
};

View Replies !    View Related
Jpeg Preloading & Cache
Sorry, I put this in the wrong forum initally!!

I have a load bar which is part of the site design, therefore it is showing all the time.

I have a slideshow style section using jpegs, they change images every 5 seconds.

I want the preloader bar (which is operating through colin mooks' better preloading api) to stay on 100% IF the jpeg has already been cached, I tried setting a timer but its not doing it for me.

Basically it still shows the preloader going from 0 then directly to 100% width when the image is cached.

It works while the image is loading however.

Any ideas?

The function that I've written to load the objects then fires it off to the class written by mr moock.

Code below.

Code:
loadPhotos = function (where, what) {
trace("WHERE: "+where+"
FILENAME: "+what);
where._alpha = 0;
pauseLength = 50;
bar_mc._xscale = 100;
_root.onEnterFrame = function(){
if(pauseLength <0){
bar_mc.onLoadProgress = function(loaderObj) {
if(loaderObj.getPercent()<99){
trace("load percent: "+loaderObj.getPercent());
this._xscale = loaderObj.getPercent();
}else{
this._xscale = 100;
delete _root.enterFrame;
break;
}
};
}else{
pauseLength--;
trace(pauseLength);
}
};
myLoader = new com.qlod.LoaderClass();
myListener_obj = new Object();
myListener_obj.onLoadComplete = function(success, loaderObj) {
bar_mc._xscale = 100;
where.fadeIn(99, 2);
_root.img_holder._alpha = 99;
_root.or_trans.fadeIn(20, 2);
};
myLoader.addListener(bar_mc);
myLoader.load(""+where+"", ""+what+"", myListener_obj);
};

View Replies !    View Related
Preloading External Swfs Into Cache
Hi, I'm creating a flash based cd-rom where the main flash file houses the navigation and sound controls. The navigation buttons when clicked load in external swf into a movie clip on the main movie.

When running the cd all works fine but I wondered if there was a way to prevent the pause whilst the cd loads the called movie clip.

Can I run some sort of preloader at the beginning to load all the external swfs in (without playing) into the users cache.

If so will this prevent a slight pause? Or are there any other methods?

Many thanks

Ryan

View Replies !    View Related
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

View Replies !    View Related
Preloading Multiple SWFs Into Cache And Playing Them Sequentially
Hello

I've seen a lot of posts on this subject, and I promise I've tried endlessly to make sense of the solutions that other people have posted. But I cannot seem to get any code to work my my purposes, so I decided to post my own thread.

I have a main parent Flash movie that I need to load 7 exteral SWFs into. Each of the SWFs is like its own scene in a longer movie. The final parent movie should play each external SWF movie sequentially so that it appears as one combined movie. I want to use a preloader for the first couple of loaded SWFs (maybe the first 2-3) so that the parent movie does not start playing until those movies are fully loaded. Then I want to continue to preload the rest of the external SWF files into the cache so that they are fully loaded by the time the parent movie gets to playing them. Does this explanation make sense?

Basically, I have a long Flash animation that I decided to split up into several individual movies. I've using the parent movie to seamlessly string together my individual movies to give the appearance of cohesion. I know how to use the LoadMovie function to load the SWFs into empty movie clips. That's no problem. However, I'm having difficulty with the prelaoder aspect. I am optimizing the parent SWF for the web, and it's important that the video plays seamlessly, so I cannot put individual preloaders onto each external SWF. They have to preload at the beginning so that when each individual SWF is called, it's already loaded and no preloader is required.

Can anyone please help me with this?? I'm working under kind of a tight deadline, and I tried to the best of my ability to solve the problem using comments from previous posts, but I have been unsuccessful. Thanks again for anyone's help.

View Replies !    View Related
Preloading Multiple SWFs Into Cache And Playing Them Sequentially
Hello

I've seen a lot of posts on this subject, and I promise I've tried endlessly to make sense of the solutions that other people have posted. But I cannot seem to get any code to work my my purposes, so I decided to post my own thread.

I have a main parent Flash movie that I need to load 7 exteral SWFs into. Each of the SWFs is like its own scene in a longer movie. The external files are called:

mc1.swf
mc2.swf
mc3.swf
mc4.swf
mc5.swf
mc6.swf
mc7.swf

The final parent movie should play each external SWF movie sequentially so that it appears as one combined movie (so none of the loaded SWFs are actually playing at the same time - they should only play one at a time, one after another). I want to preload mc1.swf, mc2.swf and mc3.swf into the cache before the parent movie starts playing (and I would like to include a progress bar to indicate loading status). Once those SWFs are preloaded, I would like them to start playing sequentially while the rest of the SWFs load in the background. Does this explanation make sense?

Basically, I have a long Flash animation that I decided to split up into several individual movies. I've using the parent movie to seamlessly string together my individual movies to give the appearance of cohesion. I have determined that I should use the MovieClipLoader Class and loadClip() to accomplish what I am trying to do. However, I have a very limited knowledge of actionscripting, so this has been a major challenge for me.

I am optimizing the parent SWF for the web, and it's important that the video plays seamlessly, so I cannot put individual preloaders onto each external SWF. They have to preload at the beginning so that when each individual SWF is called, it's already loaded and no preloader is required.

Is there any way someone could write out some sample code for me please? Any help would be GREATLY appreciated because I am working under a bit of a tight deadline.

Thanks in advance.

View Replies !    View Related
How Much Swf I Can Safe Cache In Browser
I have posted a question similar to this, but never got a response to what I am asking, so please I really could use some help on answering this so I can plan accordingly.
I am trying to take advantage of sharing symbols and such and preloading a few small external swfs, like my left nav menu is about 100 kb and that will have to stay loaded of course, but how much swf can I realisticlly keep loaded in cache, so I dont have to keep reloading. I'd like to preload some and keep loaded when they are reused throughout the site. Anyone know a ballpark number?
Thanks in advance!

View Replies !    View Related
Refreshing SWF In Browser Cache
Hey guys, does anybody know of a way to refresh the swf. file in your internet browser cache? Everytime I want to check my updated flash movie on the net, I have to physically go into my temperary internet files and find the swf. then delete it, before I can see my updated file on the net.

I've tried using the reload button and the holding down "ctrl" while clicking on the 'refresh' key thing, but neither work in getting rid of the old swf file from memory. Any help?

View Replies !    View Related
Swfs In Browser's Cache
i have a question about swfs in the cache. any help would be much appreciated.

i have an html page (one.html) which has a swf embedded in it (one.swf).
this swf loads another swf (map.swf) into itself - so map.swf is now in the user's cache.
i have another html page (two.swf) which has its own swf embedded in it (two.swf) and this swf also loads map.swf into itself.
what i'm wondering is, since map.swf is now being called from a different html page and a different swf, will the browser realise that map.swf is already in the cache?

can anyone enlighten me?

View Replies !    View Related
Problem With Browser Cache
Hey, having a little trouble with my chat. I need it to refresh a .txt file, but the browser insists on using the outdated file which has not been updated. The only action script I have for this text area is "loadVariables("chat.txt", "/");". How can I edit this to make it not cache? (For some reason the "/" has to be there too, when it's not it doesn't even load the .txt file.)
Thanks in advance.

View Replies !    View Related
SWF Files And Browser Cache
Hi,

I make very simple flash banners for my website announcing updates. I keep the filename the same, so when it's updated, anyone who has my banner on their site does not have to re-arrange their HTML code.

The problem is that when I replace the old SWF file with the new one, my browser keeps the old file in cache. Even a Shift+F5 (forced refresh in Mozilla) does not refresh the SWF file like it does with JPG, PNG and GIF files. This leads me to believe that people int he general public are not always seeing the most recent SWF from my site.

My question is if there is a setting I could place in the actionscript or the embed/object HTML code that would specify whether or not to chache the SWF.

Thanks for helping.

-Mike

View Replies !    View Related
Swf In Browser Cache - Checking
Dear friends,

I apologize if there is some similar topic as mine.
My problem:
I am loading file external.swf to main.swf via button in main.swf. But if I change something in external.swf and upload this file on ftp, my browser (FF, IE) still uses "original" external.swf that was loaded previous time to browser cache and not "new" external.swf.

Please is there some posibility to make my browser compare these files and if external.swf is newer than in cache than load this new one.
And they are the same than browser will use external.swf in cache.

I hope there is some Action script code that can help me...

Thank you for reply.

PS: Macromedia Flash MX 2004 - is version of mine

View Replies !    View Related
How To Invalidate Browser Cache?
Hello,

I am building and testing a website on a local PC. Current stage of the implementation mainly involves designing flash components. I have discovered that Firefox and IE (the browsers I use for testing) cache the swf's, making it impossible to view any design changes in the browser window.

I would like to know if there is a way to prevent Windows from caching "swiff" files?


Any suggestions are welcome,
Thanks in advance...

Arnie

View Replies !    View Related
Preventing Browser Cache
Hi
How do I prevent browser caching my .swf file??

Thanks

View Replies !    View Related
[F8] Browser Cache Woes - Please Help
I'm having this weird problem with this website I designed. When you click on "projects" or "in progress" the menu on the right that comes up is dynamically created by XML. The problem is that the first time someone loads the website up the "Greek Symbols" that are supposed to be there are garbage. The XML files are saved as UTF-8 format. The unicode syntax is correct. The greek symbols are embedded in the swf files. If you hit refresh on the browser and go back to "projects" or "in progress" the symbols are correct. I have tried the following solutions:

1) I added: System.useCodePage = false; to both "projects" and "in progress" swf files. That seemed to work for a while.

2) I added the unique tag to my xml load call as follows:

x.load("projects.xml?unique="+new Date().getTime());

and

x.load("inprogress.xml?unique="+new Date().getTime());

3) Finally, I added the following meta tags to my index.html:

Below <head> tag:
<META HTTP-EQUIV="Expires" CONTENT="Mon, 04 Dec 1999 21:29:02 GMT">

Below </body> tag:
<HEAD><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"></HEAD>

None of this has seemed to stop this anomaly from occurring. If anyone could please help I would be incredibly grateful.

View Replies !    View Related
[F8]How To Load Swf In Browser Cache
i have around 50 swf files ,
example. main.swf,about.swf, services.swf, products.swf...... etc

main.swf is my 1st file which i embedded in index.html
by using actionscript 2.0 dynamically i am loading the external files ( which is about.swf, sevices.swf.. )
whenever i click a specific button it loads a specific swf file. which works perfectly fine with me.
but it gets really annoying each time i have to load the files and wait for the files to get loaded.
i wanted a javascript or actionscript code which will load all my external swf files invisibly in the cache of the browser while browsing the website. So that whenever i click a button its load instantly without waiting to load again.

for further reference i have seen this kind of work in
http://www.pdk.com.pl/index_f.html

View Replies !    View Related
Browser Cache Dilemma
Hi,

I’ve got a pretty simple little address book program running.

It calls a php file to get the latest data and sends it to the movie in XML format.

Php –> xml –> xmlconnector –> datagrid.

Problem is, on some browsers (IE in particular) the old version of that XML data is not being replaced by the updated php data.

It might have something to do with the browser history files or temporary internet files.

Is there any way to force that change?

View Replies !    View Related
Prevent Browser Cache
hi,
i check with this code but its not working

ActionScript Code:
var xm:XML = new XML();
xm.ignoreWhite = true;
xm.onLoad = function() {
    trace(this);
    getURL("javascript:alert('"+this+"')");
};
var unique = new Date().getTime();
xm.load("author.xml?unique="+new Date().getTime());



i am checking with local host.....


some other way is there..........


thanks in advance

View Replies !    View Related
[F8] Browser Cache Woes
I'm having this weird problem with this website I designed. When you click on "projects" or "in progress" the menu on the right that comes up is dynamically created by XML. The problem is that the first time someone loads the website up the "Greek Symbols" that are supposed to be there are garbage. The XML files are saved as UTF-8 format. The unicode syntax is correct. The greek symbols are embedded in the swf files. If you hit refresh on the browser and go back to "projects" or "in progress" the symbols are correct. I have tried the following solutions:

1) I added: System.useCodePage = false; to both "projects" and "in progress" swf files. That seemed to work for a while.

2) I added the unique tag to my xml load call as follows:

x.load("projects.xml?unique="+new Date().getTime());

and

x.load("inprogress.xml?unique="+new Date().getTime());

3) Finally, I added the following meta tags to my index.html:

Below <head> tag:
<META HTTP-EQUIV="Expires" CONTENT="Mon, 04 Dec 1999 21:29:02 GMT">

Below </body> tag:
<HEAD><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"></HEAD>

None of this has seemed to stop this anomaly from occurring. If anyone could please help I would be incredibly grateful.

View Replies !    View Related
How To Load Swf In Browser Cache?
Hi
Experts
i have around 50 swf files ,
example. main.swf,about.swf, services.swf, products.swf...... etc

main.swf is my 1st file which i embedded in index.html
by using actionscript 2.0 dynamically i am loading the external files ( which is about.swf, sevices.swf.. )
whenever i click a specific button it loads a specific swf file. which works perfectly fine with me.
but it gets really annoying each time i have to load the files and wait for the files to get loaded.
i wanted a javascript or actionscript code which will load all my external swf files invisibly in the cache of the browser while browsing the website. So that whenever i click a button its load instantly without waiting to load again.

for further reference i have seen this kind of work in
http://www.pdk.com.pl/index_f.html

View Replies !    View Related
Why Don't .swf Files Seem To Cache On A Browser?
I'm using Safari on Mac OS X 10. I've got a 3 mb .swf on a web page. It seems that if I hit a "refresh" on the browser, it loads the whole thing from the beginning, with the progress bar and everything. I don't have anything set to clear the cache as far as I know. Is this normal?

What I'm trying to do is have a movie that shows a bunch of operating screens from some software as different frames that you can navigate to, like a virtual version of the software. I had hoped that once the user had already loaded the movie, that i could provide URLs (in other web pages) that link directly to various pages of the movie using FlashVars. This works sort of, but it reloads the entire movie from the beginning with each different URL. Is there some way to keep the movie in memory so that this doesn't need to happen?

View Replies !    View Related
Can Flash Use Browser's Cache?
Hi flash gurus out there!

If i make my SWF file request an image will it use the brower's cache if it was already loaded? Or will flash make another HTTP request again for it?

i.e. Inside a HTML file there is an image <img src="image.jpg" />. Then my SWF file wants to load that same image. It will use the already cached version? Or ask the server for the file again?

Thanks in advanced for any help!
Hal

View Replies !    View Related
How To Upload All Swf To Cache Browser
Hi all;
Please i need help.
i have a website (12 swf's). the main.swf had the menu how call all swf from the main.swf.
How i can upload all swf to cahe browser for get a fast website. i need a script. Please Help????????

View Replies !    View Related
Browser Cache Clearing? HELP... FMX
HI all, so lets say I am using flash just to pump sound on a html website, utilized in a separate frame. problem --> every time a user goes back to the one page or pages that the flash sound file plays on, an echo happens, as if the browser were playing the file from the cache and loading another sound swf.

How do I stop the sound from loading on top of itself?

code for sound file:

my_sound = new Sound();
my_sound.attachSound("rotor");
my_sound.start(0,1000);
my_sound.setVolume(50)
gotoAndStop("stop");



thanks\g

View Replies !    View Related
Flash, XML, And Browser Cache
I have a site which utilizes an xml sheet for it's menus. Sometimes after making changes to the xml, I need to clear the browser's cache to see the updated menu. Sometimes I don't. Does anyone have any suggestions as to why it's doing this?

View Replies !    View Related
Browser Cache Woes - Please Help
I'm having this weird problem with this website I designed. When you click on "projects" or "in progress" the menu on the right that comes up is dynamically created by XML. The problem is that the first time someone loads the website up the "Greek Symbols" that are supposed to be there are garbage. The XML files are saved as UTF-8 format. The unicode syntax is correct. The greek symbols are embedded in the swf files. If you hit refresh on the browser and go back to "projects" or "in progress" the symbols are correct. I have tried the following solutions:

1) I added: System.useCodePage = false; to both "projects" and "in progress" swf files. That seemed to work for a while.

2) I added the unique tag to my xml load call as follows:

x.load("projects.xml?unique="+new Date().getTime());

and

x.load("inprogress.xml?unique="+new Date().getTime());

3) Finally, I added the following meta tags to my index.html:

Below <head> tag:
<META HTTP-EQUIV="Expires" CONTENT="Mon, 04 Dec 1999 21:29:02 GMT">

Below </body> tag:
<HEAD><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"></HEAD>

None of this has seemed to stop this anomaly from occurring. If anyone could please help I would be incredibly grateful.

View Replies !    View Related
Can I Add Jpegs To Browser Cache
Hi, I've been working with this weird bug in my flash file for about 2 weeks now. Im trying to load images to my site through LoadMovie("something.jpg", content_mc); which I've used several times before. It works fine everywhere but Internet explorer. I recently onticed that if I type in the image location into the browser to get the image to load by itself in the wondow (thereby adding it to the cache) it will then work fine on the flash page. Is there any way to get the browser to add all these images to the cache ahead of time?

Odd that it only happens in internet explorer for pc...

thanks in advance

Brandon

View Replies !    View Related
How To Load Swf In Browser Cache?
Hi
Experts
i have around 50 swf files ,
example. main.swf,about.swf, services.swf, products.swf...... etc

main.swf is my 1st file which i embedded in index.html
by using actionscript 2.0 dynamically i am loading the external files ( which is about.swf, sevices.swf.. )
whenever i click a specific button it loads a specific swf file. which works perfectly fine with me.
but it gets really annoying each time i have to load the files and wait for the files to get loaded.
i wanted a javascript or actionscript code which will load all my external swf files invisibly in the cache of the browser while browsing the website. So that whenever i click a button its load instantly without waiting to load again.

for further reference i have seen this kind of work in
http://www.pdk.com.pl/index_f.html

View Replies !    View Related
Browser Cache Clearing? HELP... FMX
HI all, so lets say I am using flash just to pump sound on a html website, utilized in a separate frame. problem --> every time a user goes back to the one page or pages that the flash sound file plays on, an echo happens, as if the browser were playing the file from the cache and loading another sound swf.

How do I stop the sound from loading on top of itself?

code for sound file:

my_sound = new Sound();
my_sound.attachSound("rotor");
my_sound.start(0,1000);
my_sound.setVolume(50)
gotoAndStop("stop");



thanks\g

View Replies !    View Related
Help With Clearing Browser Cache
I don't have a programming background, so please excuse my naivete --

I have built a site that contains a preloader (index) that in turn opens an swf file upon completion of the load.

The SWF has many xml files that it references.

Unless a viewer happens to set their browser to empty cache regularly, any changes I make to the SWF or XML files aren't being recognized. Is there a way, perhaps in the preloader, to clear a users cache upon their entry to ensure that the user is getting all updated files?

Thanks for your help!!

View Replies !    View Related
Clearing Browser Cache
I am loading in text to a flash movie online.

I have made another flash file that updates the text files using php.

However when you update the text the flash does not read the changes you have made until you clear the temporary internet files / cache...


Any ideas on how to clear the cache each time the text is loaded?

cheers,
neb

View Replies !    View Related
Flash & Browser Cache
Is it possible to have a SWF command the browser cache to empty?



View Replies !    View Related
Browser Cache Problem
I am loading variables from a MySQL database via PHP using loadVariablesNum, if I run the swf file on it's own I can add, delete records etc, etc.

However, as soos as I take the file into a web browser it seems to cache the first set of variables and amendments that are being made to the database are not being amended on screen.

Has anyone come across this before?

Please help, the browser is IE 5 on a macintosh platform.

View Replies !    View Related
I Want To Delete Swf File In Cache From Browser
Hello,

I want to delete swf file saved in cache during internet download procedure....

I want to delete it through my browser or swf file...so I can make it secure....

waiting for reply

Regards,
Danish

View Replies !    View Related
Loading Jpegs W/browser Cache On
Sometimes (5% of the time?) IE5 with cacheing enabled, screws up and won't load a jpeg into an empty movieclip with the loadmovie command. I have tried putting <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> into my HTML file this helps but it's not perfect either. Is there a better way to ensure that a loading jpeg won't fail, something that I can do within my Flash movie?

View Replies !    View Related
Always The Same Problem By Testing In Browser - How Can I Get No Cache For SWF?
Has anyone an solution for stop cache SWFs?


-------------
I use for IE

<meta http-equiv="Expires" CONTENT="Tue, 04 Dec 1996 21:29:02 GMT">

it is functionless for SWFs in cache.
------------

Now if I made an change in SWF and copy the SWF with same name on the server
and will test it must set my IE browser for "Allways check new content".

Simple question, how can be sure that the user have allways the newest
content of my site?

Thank for any suggestion.

Hans

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved