Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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. …
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
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 set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

760 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

18 Experts available now in Live!

Get 1:1 Help Now