Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

flash access to temporary internet files?

Status
Not open for further replies.

tommytx

Programmer
Nov 27, 2002
28
US
Is there anyway to make flash look at the temp internet files.

I have a program that is photo heavy, actually a slide show and it pulls jpegs at 50k per photo.

However it also pulls a lot of bandwith, no matter how many times you flip thru the photos, it gets a fresh copy from the server. It would be great to tell flash to look at temp inet before going to the web, the same way explorer and netscape does.


If there is no way to get flash to look at temp inet files, is there a way to preload the pix like in javascript when the rollovers are sometimes preloaded so they are ready when you rollover.

If flash could preload, and remember where it put the photos, it could then access the previously loaded pix and no need to access the web every time.

Does anyone know how to do this?

You will be a life saver (I mean bandwidth saver) and my host will forever be in your debt.
 
But Flash does normally use cached files, as long as they've been downloaded once, and you haven't prevented caching?

Regards,

cubalibre2.gif
 
flash has no direct control over caching of loaded movies. as far as the cache is concerned a SWF (either loaded directly with object/embed or loaded with loadMovie) is just another type of http object that gets cached.

i am sure what you want can be done but only with server side scripting
 
you can use javascript to do it, but I dont know where to preload the files to, if i knew where to load the files to i could script it for you!

Is it possible 2 preload them to a .html file for example then get flash to read them off there?

Anyone tell me where i could preload them to?

Martin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top