Hi Jason,
 It's not because you're using an HTML textfield, is it?

Try tracing the test_txt.htmlText property after you're setting it -
it might be doing something odd like wrapping it in a '<font
face="Times New Roman">' or something internally, even although you've
set the Textformat.font to Wingdings. You might have to do:

test_txt.htmlText='<font face="Wingdings">some text here</font>';

or something similar to get it to work.

HTH,
 Ian

On 8/31/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
>> There is the  myTextformat = myTextfield.getTextFormat()  method that
way you can get the font used in your textfield with myTextformat.font !

Alain, I understand, I already said essentially the same thing when I
said:

>>> is no mytextfield.font property. Only TextFormat.font and...

He suggested I trace the font on the textfield, which is not the same
thing, and I was responding to that comment. It's tracing "Wingdings" on
the textfield's TextFormat.font, it's just not rendering Wingdings on
the screen.

Jason Merrill
Bank of America
Learning & Organization Effectiveness - Technology Solutions


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to