?
Solved

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

Posted on 2004-09-23
4
Medium Priority
?
220 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 total points
ID: 12153466
wher r u brucequst???
0
 
LVL 13

Expert Comment

by:FLAASHER
ID: 12236615
thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
Suggested Courses

764 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