Parse the numbers from the string base-10
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ trace(parseInt("17", 10)); // Displays: 17 } } }