thanks man...that looks great
regards
Gustavo
On Mar 16, 2007, at 5:54 PM, Pedro Taranto wrote:
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
Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.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