Caching question with loadMovie()

Hi. I’m using Flash MX 2004, and using the loadMovie() function to draw an external .swf file into a blank movieclip. My question is how the browser (let’s assume Internet Explorer) caches this information.

I know that after a Flash movie is loaded within an HTML page, the browser caches it, so that on the next load the movie appears nearly instantly from the cache. However, does it also cache the movie loaded using loadMovie(), or does it always redownload that external movie regardless?

Any insight on this is appreciated! :}

well, it looks like after furthur research, I found the answer to my question. Apparently, the browser will cache any file loaded with actionscript. I also found the added information in an old post ( http://www.kirupaforum.com/forums/showthread.php?t=4011 ) that if you want to avoid this behavior, tack on a variable to your url. For example, instead of calling loadMovie(“myMovie.swf”, 0), calling loadMovie(“myMovie.swf?x=1”, 0) will cause the browser to reload the file as long as the url given is unique.

thanks for sharing :). I didn’t knew the answer but was interested to in that matter. Subscribing to a thread brings good results :smiley: