use the restrict property of textfields.
F8as2 - Flash 8 actionScript2
Sorry, I think I may have confused things. I looked up the restrict property and if I read it correctly it limits the characters that can be contained in a txt field during runtime.
When in the authoring environment, I go to the library, create a new font and lnk to it, I think I've embedded all of the possible characters for that particular font. Can I limit how many and what characters are included at this point?
If I remember correctly, this type of embedding process has to complete before any actionscript is executed in frame 1, even the preloader code.
I'm also trying to keep the file size down.
Thanks again for your help,
you can't restrict which characters are embedded if you add a font to the library.
you can restrict which characters are embedded by creating a textfield in the authoring environment (usually off-stage), adding the characters you want to embed into the textfield (in the authoring environment) and in the properties panel clicking embed/autofill.
the only point to this would be to minimize swf file size.
I marked this as answered which I think it is.
Since I'm dynamically creating my text field and it's content, which is extensive, this gives me two options, I think.
First, dynamically create the text field and live with the library's completly embedded font structure,
create my textfield manually and restrict the contents.
This is reference to the airspeed tape of last week.
no, i think (but i'm not certain) you can have the best of both. embed in the authoring environment (in an unused/unseen) textfield.
create a textformat and assign its font property to be exactly the font's name (Comic Sans MS, for example). enable your textfield's embed property and test.