I got a Preloader with the following action on it -
It used to work fine with Flash 6 on AS1.
Now when i try to publish it in Flash 7 on AS 2.
It does not work. Any idea how to get it working guys ?
Thanks in advance !
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = Math.round(percent);
PP = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndPlay(2);
}
}
