# USE cache for loadMovieNum

**URL:** https://forum.kirupa.com/t/use-cache-for-loadmovienum/149061
**Category:** flash
**Created:** [May 25, 2005, 6:32pm UTC](https://forum.kirupa.com/t/use-cache-for-loadmovienum/149061 "2005-05-25T18:32:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wutwjd](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/wutwjd/32/758_2.png) [@wutwjd](https://forum.kirupa.com/u/wutwjd)
#### Post date: [May 25, 2005, 6:32pm UTC](https://forum.kirupa.com/t/use-cache-for-loadmovienum/149061/1 "2005-05-25T18:32:17Z")

</div>

As opposed to what everyone is asking in regards to Flash caching, I want my SWFs to be cached and I haven’t been able to find anything on the topic.

Here is what I’m doing and what I want. I have a bunch of pages that have different SWFs. I want these SWFs to load a common SWF file. Will this common SWF file be cached so that the different SWFs don’t have to download the common SWF every time?

To be more specific: Let’s say I have SWFs called **foo.swf** and **bar.swf** and let’s say these exist on _foo.html_ and _bar.html_, respectively. Both **foo.swf** and **bar.swf** load **foobar.swf** with loadMovieNum(“[http://mysite.com/flash/foobar.swf](http://mysite.com/flash/foobar.swf)”, 1). Now, let’s say a user goes to _foo.html_ first and then _bar.html_. Will **bar.swf** on _bar.html_ use a cached version of **foobar.swf**?
