# Solve Cache Problems when you Load a Movie

**URL:** <https://forum.kirupa.com/t/solve-cache-problems-when-you-load-a-movie/179758>\
**Category:** Uncategorized\
**Created:** [February 22, 2006, 7:49pm UTC](https://forum.kirupa.com/t/solve-cache-problems-when-you-load-a-movie/179758 "2006-02-22T19:49:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jux](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@Jux](https://forum.kirupa.com/u/Jux)\
**Post date:** [February 22, 2006, 7:49pm UTC](https://forum.kirupa.com/t/solve-cache-problems-when-you-load-a-movie/179758/1 "2006-02-22T19:49:00Z")

</div>

Hi,

I have read this tutorial but I´m new to flash so I would be nice if someone could explain it a little bit more.

Here is the AS:

myIdentifier=Math.round(Math.random()\*10000);  
loadMovie(“myAnim.swf?uniq=”+myIdentifier,1);

How do I use it? Lets say I have a movie with the name “movie1” and another movie with the name “movie2”. Now I want to load “movie2” into “movie1” in an empty MC with the name “content” when I press a button.

Can some friendly soul help me with the code and tell me were to put it?
