Hello -
I'm very new to the flash program. I have a fairly good understanding of the basics, but lack some skills in actionscript. I have a progress bar with a dynamic text that precedes a large swf file. I was able to get the width of the bar to grow with the bytes loaded, but I can't seam to figure out how to link the dynamic text box to do the same. I'm sure its something very simple, but again my syntax needs work.
(I also left no text in the “var” box thats in the dynamic text properties )
instance name of the progress bar is “loadBar”
instance name of dynamic text is “load_Text”
Here’s the code on the first frame
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
loadBar._width = getPercent788;
load_Text.text = Math.round(getPercent100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
Anyhelp would be greatly appreciated-- Thanks