HOME | DD

Published: 2007-01-06 22:31:20 +0000 UTC; Views: 4403; Favourites: 66; Downloads: 0
Redirect to original
Description
Step by Step tutorial for hopefully anyone to understand adding in a simple loading bar to the first frame of there movie.Actionscript code to copy paste into bar movie clip:
onClipEvent(enterFrame) {
_root.stop();
PercentLoaded = _root.getBytesLoaded() / _root.getBytesTotal()*100;
if (PercentLoaded != 100) {
this._xscale = PercentLoaded;
} else {
_root.play();
}
}
Related content
Comments: 63
AngelCrusher In reply to ??? [2007-01-10 14:00:11 +0000 UTC]
ah....so technically I could draw a character, and it would load the character bit by bit aswell?
👍: 0 ⏩: 1
TalosAT In reply to AngelCrusher [2007-01-10 22:02:46 +0000 UTC]
well what it does is stretch it.... there is a way to make it load a character bit by bit but it takes a bit more work
👍: 0 ⏩: 0
TalosAT In reply to gilll [2007-01-07 21:41:21 +0000 UTC]
thanks alot! Weeee... tutorials seem to be pretty populor.. o_o; XD thanks for the fav :3
👍: 0 ⏩: 0
TalosAT In reply to Janaita [2007-01-07 21:42:17 +0000 UTC]
:3 Your welcome.. thanks for the fav!
👍: 0 ⏩: 0
TalosAT In reply to Sugar-Kat [2007-01-07 01:27:12 +0000 UTC]
Sanku! O_O;; you dun get it? *feels bad* :S what dontcha get? XD
👍: 0 ⏩: 1
Sugar-Kat In reply to TalosAT [2007-01-07 02:12:24 +0000 UTC]
I dont get flash period XD not your fault *huggle* I didnt read it thoughly anyways
👍: 0 ⏩: 1
Melurie [2007-01-07 00:02:17 +0000 UTC]
heh thanks! that'll be usefull I keep trying to do flash stuff but I suck lol
👍: 0 ⏩: 1
TalosAT In reply to Melurie [2007-01-07 01:27:26 +0000 UTC]
Your welcome thanks for the fav
👍: 0 ⏩: 0