I'm using Myriad Pro for regular (non TLF) dynamic text fields in my project
and it's working fine. Now the client wants to use "Myriad Pro Condensed
Bold" for titles and I cannot get it to show up. I can't get just "Myriad
Pro Condensed" to show either. I don't have any problems with "Myriad Pro" -
I think the "condensed" variant/style is causing issues. I've checked over
and over that I have it embedded properly.

Looks like "Condensed Bold" is treated as a style like "bold" but there's no
way to set a style on a text format object.

I even tried setting the font style via html in the text content:
textfild.htmlText = "<font face='Myriad Pro Condensed'>"+mytext+"</font>";
Didn't work.

Any tips for using font variants like this? I'd rather keep doing it
dynamically like this and not have to create a textfield symbol in the
library to use (which would work). Also, this is an AS3/CS5 project.

The TLF TextLayoutFormat has a font style property, but not sure if it would
work - but the last time I tried to use TLF my FLA wouldn't compile because
of some error with my assets SWC and the TLF SWC. So I'd rather not go
there.

Maybe I can fake it by tweaking the scaleX property.

Thanks,
Matt
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to