hey guys, i think i posted this once before but i still havnt gotten a solution.
basically what i want to achieve is a site like the “[color=black]Preloader[font=Verdana] and Transition for Dynamic Files” tutorial but where it says “loading” i want to replace with a loading bar. now i thought this would be pretty simple and straight forward but as hard as i try to make it work, it wont :([/font][/color]
this is my best guess so far in the ‘content’ actionscript
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.transition.loadBar._width = getPercent100;
_root.transition.loadText = Math.round(getPercent100)+"%";
if (bytes_loaded == bytes_total) {
loaded = true;
_root.transition.gotoAndPlay(“opening”);
}
}
}
i thought that should work but it doesnt? can anyone help me out? ill really appreciate some help.
cheers, evan