atslopes
11-16-2004, 03:10 PM
This code is fine it works my e-card is about 600k i want to load about 100k and let the user play the movie not wait until all 600k is loaded.
By the way on a 56k modem what do u all recommend the the total bytes loaded before i start the card. I also dont want them to wait too long.
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(3);
}
:)
By the way on a 56k modem what do u all recommend the the total bytes loaded before i start the card. I also dont want them to wait too long.
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(3);
}
:)