# Cache problems, still can't make it work!

**URL:** <https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534>\
**Category:** Uncategorized\
**Created:** [August 10, 2004, 3:48pm UTC](https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534 "2004-08-10T15:48:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![superduper](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@superduper](https://forum.kirupa.com/u/superduper)\
**Post date:** [August 10, 2004, 3:48pm UTC](https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534/1 "2004-08-10T15:48:18Z")

</div>

This is what I have:  
I’ve made a file called “loading.swf” which loads the “main.swf” in a movieclip called “mc” using this code:

```auto
   
myIdentifier=Math.round(Math.random()*10000);
loadMovie("main.swf?uniq="+myIdentifier,mc);

```

The movie appear to be loading from the server and not the cache each time (cause the loading bar is displayed), but still my text isn’t reloaded from the mysql-server. All text is loaded using a code like this:

```auto

System.UseCodePage = true;
loadText = new LoadVars();
loadText.load("[http://www.filaung.no/moduler/test.php?text=1](http://www.filaung.no/moduler/test.php?text=1)");
loadText.onLoad = function() {
 nyheter.Htmltext = this.nyheter;
};

```

What should I do??  
check out the site at [www.filaung.no](http://www.filaung.no)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 10, 2004, 5:01pm UTC](https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534/2 "2004-08-10T17:01:07Z")

</div>

Hey!!! I need help… Sorry for the trouble, but this is urgent!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 10, 2004, 5:12pm UTC](https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534/3 "2004-08-10T17:12:27Z")

</div>

Heya

I had the same problem yesterday, managed to sort it 🙂

Change:

```auto
loadText.load("[http://www.filaung.no/moduler/test.php?text=1](http://www.filaung.no/moduler/test.php?text=1)");

```

To

```auto
loadText.load("[http://www.filaung.no/moduler/test.php?text=1&dummyVar](http://www.filaung.no/moduler/test.php?text=1&dummyVar)=" add getTimer());

```

If Flash doesn’t recognise any new variables, it won’t bother to re-cache the file. Adding the dummy variable adds a new value each time and therefore forces it to re-cache on refresh 🙂

Hope that helps ya

Cheers  
Luke =]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 10, 2004, 5:20pm UTC](https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534/4 "2004-08-10T17:20:34Z")

</div>

Thanks! That worked:) I’ve troubling a couple of days now. Good to figure that out!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 10, 2004, 5:31pm UTC](https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534/5 "2004-08-10T17:31:07Z")

</div>

You’ve been searching for days, and all I get is a “Thanks!” ?

_sigh_

I expected at least half of your kingdom ☹

Oh well ☹

( 😉 😛 Glad ya got it sorted m8 🙂 )

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 10, 2004, 5:36pm UTC](https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534/6 "2004-08-10T17:36:25Z")

</div>

What’s this Kingdom talk in here?

Can I get a kingdom? :beam:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 10, 2004, 8:10pm UTC](https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534/7 "2004-08-10T20:10:02Z")

</div>

Sorry Wiz, you don’t get ur own kingdom … one of the drawbacks of being a wizard 😕

You shall not pass …

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 10, 2004, 8:46pm UTC](https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534/8 "2004-08-10T20:46:19Z")

</div>

But my magic defended this kingdom when it was under attack… okay I’ve taken this too far.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2004, 12:02pm UTC](https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534/9 "2004-08-11T12:02:25Z")

</div>

Hehe! Thanks a lot guys!!! I also figured out this:  
I had to change the name of the uniqe-thing for every new spot i placed it, or it wouldn’t work. For some cranky reasen:azn:

Anyway, the kingdom is for all :rambo:. Peace out, and thanks for all the help!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2004, 12:03pm UTC](https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534/10 "2004-08-11T12:03:53Z")

</div>

\*or else (us norwegians doesn’t do english very well!!)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2004, 12:52pm UTC](https://forum.kirupa.com/t/cache-problems-still-cant-make-it-work/60534/11 "2004-08-11T12:52:53Z")

</div>

\*don’t do english well …

\*\* speak english well …

jks 😛
