Custom preloader question

Hello… i have a preloader question… (i know this has been asked like 10000 times already but im still wondering)…
I have 3 little circles that fill up…here is EXACTLY… what i want:

  • User Views Movie…
  • The Movie Loads
  • Preloaders Shows
  • It will play it once through and when it gets the end of the animation it will be done loading and play.
  • user enjoys

plz help me :*(

-Matt

that’s what a preloader does…you are right!

AHAHAHAAHHA-no… :cool:

i needed the actionscript…

http://www.kirupa.com/developer/mx/percentagepreloader.htm

that doesnt help buddy -.-

try again, changed URL after re-reading

i think thats for bar preloaders

you could have a inner mc and rather than setting the width set the current frame

yea but im not sure what the as is thats what i asked for in the first place…

i.e. using the framenumber from the percent variable

the link he gave works, it sets the width of an mc though, just change the mc it links to to one with 100 frames and set it to change _currentframe instead

sooo:

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent100;
this.loadText = Math.round(getPercent
100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}

edit this for me lol srry


bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
// the edit is the current frame
this.loadBar._currentframe = getPercent*100;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}

and make sure the movieclip that used to show the width now has 100 frames of what you want

too kind bombing pixels…too kind

ooo thankyou soo much… im still learning thus making me sucky at flash… if i change the numbers 100 to the totalframes will it still work?

and what about the loadtext?