Formats an eight-digit number to be split by a dash
import mx.formatters.SwitchSymbolFormatter; public var fmtSymbol:SwitchSymbolFormatter = new SwitchSymbolFormatter("#"); public function formatMe(rawData:String):String { return fmtSymbol.formatValue("####-####",rawData); }