Bruce Gust
asked on
I need a bar graph that displays the percentage of movie that's being loaded...
Hey Folks!
I want to have as my pre-loading animation a bar graph that displays the percentage of the total presentation that's has been loaded. I'm using Flash 5. An example would be like what you see with kempdental.com at http://www.kempdental.com/.
What do you think?
I want to have as my pre-loading animation a bar graph that displays the percentage of the total presentation that's has been loaded. I'm using Flash 5. An example would be like what you see with kempdental.com at http://www.kempdental.com/.
What do you think?
If you have an instance of pBar, just a rectangle, you can use the ._xscale to resize the bar by a percentage. Also you can use a dynamic text box to display the percentage.
iBytesTotal = _root.getBytesTotal();
iBytesLoaded = _root.getBytesLoaded();
iBytes = (iBytesLoaded/iBytesTotal) *100;
_root.pBar._xscale=iBytes;
sStatus=Math.floor(iBytes) add "%";
I have been working on this progress bar for quite a bit. It works, however, anything from the library with linkage and 'export in first frame' checked, downloads before the progress bar appears.
iBytesTotal = _root.getBytesTotal();
iBytesLoaded = _root.getBytesLoaded();
iBytes = (iBytesLoaded/iBytesTotal)
_root.pBar._xscale=iBytes;
sStatus=Math.floor(iBytes)
I have been working on this progress bar for quite a bit. It works, however, anything from the library with linkage and 'export in first frame' checked, downloads before the progress bar appears.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
thanks
http://www.actionscript.org/tutorials/beginner/Smooth_PreLoader/index.shtml
and this
http://www.actionscript.org/tutorials/intermediate/flash5_preloaders/index.shtml
you will find what u want
you can download the files and c the code
waiting u :)