My code:
siteLoader.loadMovie("a1.swf");
loadingBar._xscale = 1;
loadingBar.onEnterFrame = function() {
kBytesLoaded = this._parent.siteLoader.getBytesLoaded()/1024;
kBytesTotal = this._parent.siteLoader.getBytesTotal()/1024;
percentage = Math.round(kBytesLoaded/kBytesTotal*100);
this._xscale = percentage;
if (percentage == 99) {
delete this.onEnterFrame;
}
};
Problem: Once “a1.swf” is loaded by the user, flash doesnt reload it again when accessing it (my “a1.swf” file gets updated every few hours, so my users will currently not load the updated version). Now what I want is for the code to REload the file everytime its activated, even if the swf file has been preloaded in the past. I tried using ‘reloadmovie’ instead of ‘loadmovie’ and it didnt work lol.
Thanks for any help dudes!(-: