Preloader script

Started by: SyaddadKazama | Replies: 4 | Views: 668

SyaddadKazama
2

Posts: 613
Joined: Oct 2012
Rep: 10

View Profile
Nov 18, 2015 4:35 PM #1416807
Hey, everybody.I just want to ask some preloaders script in as2 other than what Jeff provided. I just want to see some scripts only, not to mention that I forgot how to it :P
I know the loadbars and the buttons scripts only, but I forgot about the preloader script.

If you guys know the script, then post it here. If you can, give me the script that Terkoiz made on his tutorial :P
S.A.

Posts: 942
Joined: Feb 2012
Rep: 10

View Profile
Nov 18, 2015 5:04 PM #1416813
This is probably what you're looking for?
code (Click to Show)
SyaddadKazama
2

Posts: 613
Joined: Oct 2012
Rep: 10

View Profile
Nov 18, 2015 5:41 PM #1416818
Quote from S.A.
This is probably what you're looking for?
code (Click to Show)


Maybe...
Thx for script.

Anything else, guys?
GMR
2

Posts: 3,411
Joined: Aug 2012
Rep: 10

View Profile
Nov 18, 2015 11:57 PM #1416871
Terkoiz's code:
_root.stop();
LoadPercent = _root.getBytesLoaded()/_root.getBytesTotal()*100;
if(LoadPercent !=100){
bar._xscale=LoadPercent;
}else{
gotoAndPlay("loaded");
}
SyaddadKazama
2

Posts: 613
Joined: Oct 2012
Rep: 10

View Profile
Nov 19, 2015 1:50 AM #1416906
Quote from GMR
Terkoiz's code:
_root.stop();
LoadPercent = _root.getBytesLoaded()/_root.getBytesTotal()*100;
if(LoadPercent !=100){
bar._xscale=LoadPercent;
}else{
gotoAndPlay("loaded");
}


Thx for the code.
I'll use it.