A couple of times I have tried to cast a string to a number like so (this is just an example): var string:String = "9";trace(string);var number:Number = Number(string);trace(number);trace(typeof(number)); It seems to work, but is this the correct way to cast. Thanks, Stephen._______________________________________________ Flashcoders@chattyfig.figleaf.com 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