Question
Embed Fonts in Library for use with AS2.0 (k)
I'm working on a project that will never run on the web. It's
a souped
up PowerPoint presentation basically. Entirely in flash.
I have a lot of ActionScript in there for animating text. The
ActionScript reads what's housed in the text="MY MESSAGE HERE" and then
chops the phrase up into individual dynamic text fields containing each
letter in the message that I then animate to get them on the screen.
It works great and I have chosen the font via a _global variable:
_global.FontFace = "ElanBook";
This calls the font from my computers font library, not the Flash's.
I would like to change this so that this font is truly embedded and
called in via ActionScript so that font looks the same on all computers
whether they have this font or not.
I have tried going to the Library > New Font...
I put the font in there I turned on Exporting for ActionScript in
Linkage. No dice.
How do I apply a font that is sitting in my library to a dynamic text
field through ActionScript. I has to be through ActionScript because the
dynamic text field does not exist until ActionScript creates it.
-Kirk
up PowerPoint presentation basically. Entirely in flash.
I have a lot of ActionScript in there for animating text. The
ActionScript reads what's housed in the text="MY MESSAGE HERE" and then
chops the phrase up into individual dynamic text fields containing each
letter in the message that I then animate to get them on the screen.
It works great and I have chosen the font via a _global variable:
_global.FontFace = "ElanBook";
This calls the font from my computers font library, not the Flash's.
I would like to change this so that this font is truly embedded and
called in via ActionScript so that font looks the same on all computers
whether they have this font or not.
I have tried going to the Library > New Font...
I put the font in there I turned on Exporting for ActionScript in
Linkage. No dice.
How do I apply a font that is sitting in my library to a dynamic text
field through ActionScript. I has to be through ActionScript because the
dynamic text field does not exist until ActionScript creates it.
-Kirk