Cycling through Embedded fonts

Hello all,

I’m currently working on a project for a client which requires about 25 fonts to be embedded within the SWF. The project calls for text to be entered in via input text and displayed in a chosen font in a dynamic text field.

I am having problems selecting the embedded fonts via actionscript. Currently my script appends an asterisk to the font name that is taken from a combo box component. I embedded the fonts in the library, and set embedFonts = true for the dynamic field.

I’ve never had to deal with this many different fonts at once as well as having the text fields dynamic. Anyone have any ideas?

Here’s a link to what it looks like currently: http://www.pallidimage.com/clients/adhesive

Thanks,

Blake