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
Preloader script
Started by: SyaddadKazama | Replies: 4 | Views: 668
Nov 18, 2015 4:35 PM #1416807
Nov 18, 2015 5:04 PM #1416813
This is probably what you're looking for?
code (Click to Show)
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?
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");
}
_root.stop();
LoadPercent = _root.getBytesLoaded()/_root.getBytesTotal()*100;
if(LoadPercent !=100){
bar._xscale=LoadPercent;
}else{
gotoAndPlay("loaded");
}
Nov 19, 2015 1:50 AM #1416906
Quote from GMRTerkoiz'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.