loadProgressOutput =
Math.round(this.getBytesLoaded()*100/this.getBytesTotal());
--Pedro Taranto
Gustavo Duenas escreveu:
hi, this is the code of my loader.
if(_framesloaded > 0 && _framesloaded == _totalframes){
gotoAndPlay("beginMovie");
} else{
loadProgressOutput = this.getBytesLoaded()*100/getBytesTotal();
}
in order to have the percentage without the decimals...Adrian Lynch
told me that I need the Mat.round()
but I don't know where should I put in...would you help me?
I was trying
this.loadProgressOutput.Math.round();
and Also I tried Math.round(this.loadProgressOutput);
I know that maybe the problem is that i don't know what should be into
the parenthesis.
Gustavo Duenas
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com