mercoledì, marzo 01, 2006

Just Say No to Caching in Flash

I was just reading on another Flash blog about a simple way to avoid caching when loading external files in Flash. A good thing to keep handy some place...like a blog!

myvariable=Math.round(Math.random()*10000);
loadMovie("myexternalfile.swf?var="+myvariable,1);