Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Actionscript / May 2005



Tip: Looking for answers? Try searching our database.

Check for the files in cache..

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
XmenFlash - 31 May 2005 14:13 GMT
hi,

I'm using movie clip loader calss for preloading the swf's into a file, and it
works fine.
Now, what I wish to have is, the preloader has to appear only if the
downloading files are not in cache, if it 's already present in cache then the
preloader should not appear itself.  any suggestions for this..pls
kunjanos - 31 May 2005 14:38 GMT
make an invisible movie clip and try to load the desired swf into that mc.
After two frames look at  total bytes loaded and bytes loaded. If they are
equal that means that the swf is already in the cach....If  not then use the
preloading class. If not in cash, then remove the invisible movie before
loading with the preloader class!!!
XmenFlash - 31 May 2005 14:45 GMT
Thanks for the suggestion,

but, b4 that pls lemme know whether I can check the bytes loaded and the total
bytes are same in the onLoadStart itself. cas, i"m loading the preloader in the
loadStart and if I can check for the loaded bytes there itself then I can load
and unload the preloader there..right?
kunjanos - 31 May 2005 15:35 GMT
When I sad that make a movieClip and try to load into that the swf, i meant that try to load, with _root.yourMovie_mc.loadMovie(...), and not with the loader class...
XmenFlash - 31 May 2005 15:53 GMT
Pls read my previous msg, i'm asking whether it is possible to check the loaded
bytes and the total bytes in the onLoadStart.
cas, i' dont want to change all my coding at the moment, i jus wanna carry
with my clipLoader class..pls help me if u can
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.