Jan
Jan

Reputation: 165

Load custom font in actionscript 3

I want to display "Hello World" with calibri.ttf using only AC3. How would I do that?

Upvotes: 0

Views: 1914

Answers (2)

Theo.T
Theo.T

Reputation: 9267

If you want to use pure AS3 you can use the [embed] tag. Here's a straight forward example from Tink : http://www.tink.ws/blog/embedding-fonts-in-as3/

Upvotes: 0

Michel
Michel

Reputation: 9440

you need to embed the font in your FLA.

http://www.adobe.com/devnet/flash/quickstart/embedding_fonts/

Upvotes: 1

Related Questions