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