I have 2 questions about the caching of loaded files:

I'm building a wrapper movie around the Loader and ProgressBar classes. During testing from within Flash, once I've loaded a file it remains cached by the Flash Player. This makes it hard to test the loader. I've had to add a random number after the file name ("?"+String(Math.random()) in order to get a fresh download each time. Isn't there a better way to clear the cache?

Because I'm using AS2, I can't dynamically change the parent of a media clip when I need it, but I'd like to preload any anticipated media into a buffer clip before they actually get displayed in the UI. So, if I load something into a buffer clip and then later load the same address into the UI clip, will the cached data be good to go? There's probably a better way to do this. I'm open to suggestions.

Thanks!

_______________________________________________
[email protected]
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

Reply via email to