Cache Issue :SWF file

Hi Everybody,

I want to refresh my .swf without clearing the cache or files. As we all know that just refresh doesn’t work. So after quite a bit of searching i got some code here:

http://www.kirupa.com/developer/actionscript/tricks/cache.htm

But i tried that without any luck. Does that work in all cases. And i am not sure if i am doing it corrrectly. What i did is - i created a New Blank file and on first frame i added this

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

It does embed myfile.swf but refresh still doesn’t work. Is there any other method of achieving this thing.

Thanx.