# Offline cache solution

**URL:** https://forum.kirupa.com/t/offline-cache-solution/159974
**Category:** flash
**Created:** [August 22, 2005, 1:32pm UTC](https://forum.kirupa.com/t/offline-cache-solution/159974 "2005-08-22T13:32:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Histtin](https://avatars.discourse-cdn.com/v4/letter/h/da6949/32.png) [@Histtin](https://forum.kirupa.com/u/Histtin)
#### Post date: [August 22, 2005, 1:32pm UTC](https://forum.kirupa.com/t/offline-cache-solution/159974/1 "2005-08-22T13:32:15Z")

</div>

I used this site’s tutorial on the loading movies with a unique identifier to avoid cache problems, but it doesn’t work when I go to test the movie in flash. Does it only work on the internet, or am I doing something wrong?

This is the code I have:

\_global.uniquenum = Math.round(Math.random()\*10000);

And then later on:

loadMovieNum(“home.swf?uniq=” + uniquenum , 1);

I even get the error:

Error opening URL “file:///(yadayadayada/home.swf?uniq=9043”

Anyone got any suggestions? Thanks
