> When loading elements to the cache.. how can we ensure that when we try to > access the same element later during the life of an application that the > same element will be accessed from cache rather than re-loading the same > file?
You can't. You can keep it in memory as long as the movie plays, but you can't rely on the browser cache. The user might even have turned cache off. An alternative could be using a local SharedObject. It's not 100% reliable, either, but at least you know when it fails. Mark On Jan 22, 2008 12:04 AM, Helmut Granda <[EMAIL PROTECTED]> wrote: > Hi all, > > When loading elements to the cache.. how can we ensure that when we try to > access the same element later during the life of an application that the > same element will be accessed from cache rather than re-loading the same > file? > > For example I want to load 300 graphics to cache while the first section of > my movie is playing (rather than preaload them all and make the user wait > long). When I try to access the same element from within the movie, will > those elements be accessed from cache or will the be re-loaded? > > -- > ...helmut > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders