import mx.formatters.SwitchSymbolFormatter;
private function format():void {
var switchSymbolFormatter:SwitchSymbolFormatter = new SwitchSymbolFormatter("*");
formatted.text = switchSymbolFormatter.formatValue(formatString.selectedItem..toString(), "0123456789");
}
height="200">
# *-********
# ----******