PDA

View Full Version : cache problem (help)



o_emma
December 23rd, 2005, 05:26 AM
Hi

I have a problem with the cache in flash. I have made an image wiever where the user can add their own images and then look at them. But if they change an image they still see the old image. Looking around on the net I´ve found this solution:

myIdentifier = Math.round(Math.random()*10000);
loadMovie("mc-to-be-loaded.swf?uniq="+myIdentifier, "mc");

My problem is that I have no idea where to put in my code.....or perhaps if anyone has another solution to my problem?

can anyone help me?

Breen
December 23rd, 2005, 06:36 AM
Hello Emma,

Well, you need to put that code where you load your images into your movie. Post that code, maybe we can help

o_emma
December 23rd, 2005, 08:20 AM
okay, I've just sent my code to you private....




Hello Emma,

Well, you need to put that code where you load your images into your movie. Post that code, maybe we can help