Hi daveberg
I checked out your website today and was wondering if your could tell me how you made your preloader.
To Daveberg
Started by
user_f_ps_other
, Apr 25 2005 12:05 PM
3 replies to this topic
#1
Posted 25 April 2005 - 12:05 PM
#2
Posted 26 April 2005 - 11:07 AM
Hello mate - I ran through a tutorial ages ago at flashkit.com so i can't remember the actual process for it step by step. Soz...
#3
Posted 27 April 2005 - 12:59 AM
dont know if this is the exact preloader you are wanting but its the easiest i have found. you add this script to the first frame
stop();
preloader._width = 0;
gbt = _root.getBytesTotal();
preloader.onEnterFrame = function() {
scale = ((_root.getBytesLoaded()/gbt)*100);
this._xscale = scale;
if (scale == 100) {
_root.nextFrame();
}
loadPercent = (Math.floor(_root.getBytesLoaded()/_root.getBytesTotal()*100));
}
then you make a mc that represents you line that will grow. and name it "preloader"
then make a dynamic text box and make and name it "loadPercent" in the var: spot.
if you got any questions send me a pm.
stop();
preloader._width = 0;
gbt = _root.getBytesTotal();
preloader.onEnterFrame = function() {
scale = ((_root.getBytesLoaded()/gbt)*100);
this._xscale = scale;
if (scale == 100) {
_root.nextFrame();
}
loadPercent = (Math.floor(_root.getBytesLoaded()/_root.getBytesTotal()*100));
}
then you make a mc that represents you line that will grow. and name it "preloader"
then make a dynamic text box and make and name it "loadPercent" in the var: spot.
if you got any questions send me a pm.
#4
Posted 27 April 2005 - 06:45 AM
Thanks for your help daveberg and CoryMathews
I was wondering if you could send me the fla. file for the preloader please daveberg
I was wondering if you could send me the fla. file for the preloader please daveberg
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users