This content has been marked as final. Show 3 replies
You can embed fonts using CSS file and then define at the application level. something like:
font-family: "AmericanTypewriter Medium";
fontFamily: "AmericanTypewriter Medium";
Flex SDK Team
Thanks for the reply, Gaurav J.
The example you gave works well in the main mxml of an application. I tried to duplicate it in my library application but the compiler complained about invalid formats. I think this was because I was trying to set application specific settings in my swc. package. If an application has specific styles set I do not wish individual components to interfere.
Is there a way I can define a css in the scope of a package namespace or something similar?
Was this resolved? I too am struggling with this topic - I have a OTF font embedded in an SWC and Style sheet in an SWC, but I cannot seem to use them from an SWF that references the SWC.