Hi, I have an instance of Text class in my app.
There is also a combobox that has a list of font names
generated by flash.text.font#enumrateFonts
so when user choose a particular font name, the text in Text
will be changed accordingly,
however, when use chooses:
there is no change to the text in the Text instance.
I was wondering what is causing this? is it because Flex
doesn't support it? my machine doesn't? but then the list of fonts
generated is from Flex.
Nope, i didn't have to select anything.
i use the following
Text sample = new Text()l;
sample.text = "Some Text";
if you look at the api for Text
there is a style called "fontFamily" where i can set the font
by supplying the name, e.g. Times New Roman, and it applies to the
Text object directly.
and yes, it does work for other fonts (times, verdana)