In my project, I wanted to have an spark TextInput to show currency values. While formatting it should show unformatted number. The way I did it is by creating a new CurrencyTextInput class extending spark TextInput. Code for the component is (CurrencyTextInput.as): package com.abcd.component { import flash.events.Event; import flash.events.FocusEvent; import spark.components.TextInput; import spark.formatters.CurrencyFormatter; public class CurrencyTextInput extends TextInput { public function CurrencyTextInput() { super(); formatter = new CurrencyFormatter(); formatter.currencySymbol ...