|
||||||||||||||
. . . . . |
Flash MX Preloaderby Ron.
First make 4 layers!
then make 2 keyframes in all of them!
LOADED = Math.round(getBytesLoaded());
TOTAL = Math.round(getBytesTotal());
PERCENT = LOADED/TOTAL;
// the line right underneath has THE WIDTH OF YOUR BAR
// whatever the width of ur bar is, replace that part of the line!
BAR._width = PERCENT*THE WIDTH OF YOUR BAR;
TEXT = Math.round(PERCENT*100)+"%";
if (LOADED == TOTAL) {
gotoAndPlay(3);
}
put this in for the second frame of the actions layer!
gotoAndPlay(1);
it should look like this now: |
|
||||||||||||
|
. | Home | Flash MX | Actionscript 2.0 | Flash 3D | Flash 8 | Flash Database | Flash Mobile | Flash CS3 | Java For Kids | Video Course | General Video | Photoshop | Web Design | Digital Photography | Games | free backgrounds | Resume | Streaming Video | Students Work | Links | Contact me | sitemap | reviews | . . |
||||||||||||||