ciao a tutti,
uso il componente combo box di flash mx per prendere la lista dei font e funziona bene adesso però vorrei sostituire la combo del flash mx con quella del 2004 Professional ma non funziona più qualcuno sà dirmi perchè??
codice:
myFonts=TextField.getFontList();
fontList.setDataProvider(myfonts);
fontList.setSize(200);
fontList.setRowCount(15);
fontList.setSelectedIndex(0);
fontList.setChangeHandler("myFontHandler");
function myFontHandler(component){
myTextFormat = currentFormat;
myTextFormat.font = fontList.getSelectedItem().label;
textIns_txt.setTextFormat(begin, end, myTextFormat);
}
:master: