>>You can also just use var a:Number = Number(b); >> >>This is also slightly faster (IIRC) than parseInt.
At least when working with XML, I have found Number() to be fairly inconsistent in converting strings to numbers. parseInt() seems to work everytime. Jason Merrill ICF Consulting E-learning Solutions NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

