Flash can’t display by default all font style in a TextField. To be able to do that you need to embedd font with every style you plan to use in library separete. In a library menu (you get it when you click icon in Library title top right corner) and click on New Font option. Then you select font, and style you want to embedd and do it for every style you plan to use 🙂 I am repeating myself but that’s good for beginners.
I was looking at your example to solve an issue I was having with disappearing text.
In your example if you rotate the text it will disappear.
I found if you add txt_.embedFonts = true; and set the linkage for the items in the library that it works fine.
thank you. that saved my day.
(because i created ONE font style in the library … and u know … grrrrrr)
dan
Thanks! As a font designer I plan to use your sample project. Thanks again.
hello, I would say that great post, I was glad when I saw that here were a solution to this major problem I have, but to try and make careful what you say, even I don’t work 😦
the original file works, but then the fonts are not embeded…
when I write the line txt_.embedFonts = true; / disappears. (it’s assumed that this should work fine, BUT don’t)
I don’t know what to do with this 😦
Hi there,
Great tip for beginners. I guess there’s one thing missing.
You need to also check the Export for ActionScript checkbox.
// chall3ng3r //
dude you made my night!! god bless you! so simple… incredible!
many many thanks!
There’s another solution and it’s even better because you can embed only characters you need:
create Dynamic Text box on stage and under properties choose Character Embedding. Embed all Characters you want and than create copy of the same Text box, just change style to bold, italic or some else. Put those Text boxes outside of the stage and you have swf with embedded font styles.
If you’re using Central European characters like ccaron, cacute, dcroat, zcaron, scaron, I think it’s the only way to make them work because if you embed it through Library it doesn’t embed CE characters.
Fonts are not embedded in you example – you just simply created 3 fonts in your library without even selecting which characters you want to embed and no linkage names
Fonts are not embedded, this trick will work only on those computer that already have the font you are using.