Issues with the [embed] tag and fonts
- by Legogo
Hi,
I have some issue with the [embed] tag. Even if I set the embedFonts property of the textfield to true the text doesn't show up.
The thing is that it worked previously and after some changes (not related to fonts) it doesn't. I'd like to understand how the embed process for font works to find the error in my code.
I declare :
[Embed(source = 'asset/font.ttf', fontName="font", mimeType="application/x-font-truetype")] private static var font:String;
to assign the font to the program.
Then i call "font" when declaring my textFormat. Is the "fontName" property the link with the textformat ?
I work with flashdevelop and the flex_sdk_4.0.0.14159 (the big adobe one, with air (~140mo))
Thx !
-Leg