Solved

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

Posted on 2004-09-23
4
201 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now