
So the New Flash Player 10 will be coming out with a Text Engine that is a significant improvement over what we have right now as of Player 9. There are around 32 new classes that you have so far, give or take a few. The Example that I have provided is pretty simple and the explanations are within the source code. All I am doing for all is choosing a font that I want, and choosing a couple of formatting styles. The Text has some sort of rotation in all 4 styles. Now If you don’t have the fonts that I used then you are probably going to see a different style. So make sure that you have these fonts : Times Roman, Geneva, Webdings, and Verdana or you can just copy and paste the code in Flex Builder and change it to whatever fonts you want to use.
Click Here for the Example Make Sure you are running Flash Player 10.

7 Responses for "Flash Player Text Engine Examples For Flex 4 (Gumbo)"
So where you are using rotate_90 for rotation, do you expect (or see?) all the letters to appear on top of each other?
That’s what I get, using player 10,0,0,525 in internet explorer on XP.
I’d put this down to pre-alpha code (or my own ignorance), but I’m not entirely sure now!
The difference between rotate 90 and rotate 270 is where the letters are facing. Notice the 2 text’s that are on their side, one “C” faces upwards and one “C” faces downward. I tried getting the letters to stack on top of one another but had no luck.
Apologies, just updated player to 10,0,0,602 and it now appears as expected.
Thanks for example!
What I was seeing was them all directly stacked on top of each other in the z index (e.g. at the same x,y coords).
Now it works ok, I presume there’s a line direction property , but I’ve not been looking at the text for a few weeks now. I may fire up flex builder and have a play with the latest SDK…
[...] Flash Player Text Engine Examples For Flex 4 (Gumbo) | Flex & AIR [...]
Прикольно!
Hi Sherif, thanks for the useful article. I've written a little round up called "Flash Player 10 AS3 Text Layout Engine Dynamic Selectable Embedded TTF’s" clearing a few things up and linked to you…
http://www.robmccardle.com/wp/?p=59
Demo & source there – hope this is useful to someone,
Cheers,
Rob
http://www.robmccardle.com
Leave a reply