For f%'s sake
- Started
- Last post
- 10 Responses
- ********
Can a brother get some damn percentage preloader in this biiaatcchh, my movie's load fine but there is no damn percentage to show, only a freaking bar.
i use this on a button..on (release) {
loadMovie("sample.swf", "_root.load_me3");
}Created an empty movie clip named load_me3.
but i need the sample.swf to have a decent preloader, that can show the percentage in text and skip to the next frame when done!
jesus!
what a talentless heck!
- F19190
sorry can't help, gave up flash long time ago..
- ********0
btw, below s.it is something like that on the sample.swf, but it only damn shows 21.498634890 kinda percentage !?!
onClipEvent (enterFrame) {
// check to see if this movie has been loaded yet
if (_parent.doneLoading == 0) {
// total file size
total = _parent._parent.getBytesTotal();
// number of bytes loaded so far
isloaded = _parent._parent.getBytesLoaded...
// raw percentage calculated
p = 100*(isLoaded/total);
// print bytes to display text
_parent.bytes = int(isloaded/1000) add " KB of " add int(total/1000) add " KB";
// print percent to display text
_parent.percent = int(p) add "%";
// scale the bar visual display
_parent.bar._xscale = p;
// tell the movie this movie clip is embedded in to advance to frame 2 and play
if (Number(p)>Number(95)) {
// tell the movie the preloader is embedded in to advance to frame 2 and play
_parent._parent.gotoAndPlay(Numb...
// turn the preloader off
_parent.gotoAndStop("off");
// prohibit the preloader from loading again... look at the first line of this script
_parent.doneLoading = 1;
} else {
// if it's not loaded... the movie that the preloader is embedded in will chill on frame one until the movie is loaded
_parent._parent.gotoAndPlay(Numb...
}
}
}
- WeLoveNoise0
on (release) {
_root.load_me3.loadMovie("sample... "2");
}
- WeLoveNoise0
on (release) {
_root.load_me3.loadMovie("sample... "2");
}- fuk - the code is right but the when u copy be sure to name is sample.swfWeLoveNoise
- ********0
can anyone share a percentage loader with an external sample movie and a button to load it in another swf ?!?
about to eat my head because of this, whats wrong with me ?!?
- CALLES0
FUCK YOU BUDDY!
- rounce0
Math.round()
- colour0
you very take take take
help can anybody make my fuckin flash website for me ?
- ********0
I dont believe it, it worked!
I was playing PES, got up, did a search, then boom!
everythings working! fucking karma man! love it!
thanks people!