Solved

I need a bar graph that displays the percentage of movie that's being loaded...

Posted on 2004-09-23
4
210 Views
Last Modified: 2010-04-03
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?
0
Comment
Question by:brucegust
  • 3
4 Comments
 
LVL 13

Expert Comment

by:FLAASHER
ID: 12134505
0
 

Expert Comment

by:tonybee720
ID: 12136627
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.
0
 
LVL 13

Accepted Solution

by:
FLAASHER earned 125 total points
ID: 12153466
wher r u brucequst???
0
 
LVL 13

Expert Comment

by:FLAASHER
ID: 12236615
thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Action Script commands 4 320
Google Chrome Blank White Screens 13 302
deploy Adobe and Java updates to 100 workstations using LogMeIn Pro? 5 161
HTML 5 video and audio or Flash 1 61
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question