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