I need to know if a sound is already inside the browser's cache. Right now I use a getTimer when I fire the loadSound and another getTimer when the sound is loaded.
One minus the other gives me a value of 0.03 seconds if the file is in the cache. Do you think it would be reliable to say that the sound is cached if it loads under 0.1 seconds ? Do you have another idea ? I use this sound to calculate the user's download speed and then I store the value inside a shared object. Then if the sound is cached, I use the value inside the shared object. And then I load lo-res or hi-res videos depending on the bandwidth speed. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com