| Author |
How to create percent laoding???
|
|
| wakespirit 2006-04-10, 3:39 am |
| Dear all,
I have seen on many web site, a loading status of a page which inform the suer
that something is going on.
How to display such loading status bar ?
Sorry for simple question but every one have start by something :-)
thnaks for your help
serge
| |
| Star Tail Pro 2006-04-10, 10:35 pm |
| creat a new text box, and then convert it to a movieclip.
I called my text box instant name percentBox_txt.
//put this code on the first frame
onClipEvent(enterFrame) = function() {
var loadBytes:Number = _root.getBytesLoaded();
var totalBytes:Number = _root.getBytesTotal();
var percent:Number = Math.ceil((loadBytes/totalBytes)*100);
percentBox_txt.text = percent + "%";
}
| |
| Chris Georgenes (ACE) 2006-04-10, 10:35 pm |
| google is your friend here - so is a quick search of the forums for "preloader" - they have been
around for several years and many different preloader codes get posted here and everywhere all the
time - which is why this type of post gets little response. Just search and you will find :)
******************************************
--> Adobe Certified Expert (ACE)
--> www.mudbubble.com :: www.keyframer.com
--> http://flashmx2004.com/forums/index.php?
--> http://www.macromedia.com/devnet/fl...tion_guide.html
--> http://groups.google.com/advanced_g...=UTF-8&oe=UTF-8
wakespirit wrote:
> Dear all,
>
> I have seen on many web site, a loading status of a page which inform the suer
> that something is going on.
> How to display such loading status bar ?
>
> Sorry for simple question but every one have start by something :-)
>
> thnaks for your help
> serge
>
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |