Flash CS5 screwed up all my textfields - how can I correct this?

Posted by WillyCornbread on Stack Overflow See other posts from Stack Overflow or by WillyCornbread
Published on 2010-05-05T01:29:26Z Indexed on 2010/05/05 1:38 UTC
Read the original article Hit count: 233

Filed under:
|
|
|

Hi -

I have an Actionscript project that I was building using Flash CS4. I embedded a font using the follow:

[Embed(source="/bin/assets/fonts/MyriadPro-Regular.otf", fontWeight="normal", fontFamily="Myriad Pro")]

Then throughout my application in my TextFields I would set embedFonts to true antialiastype to advanced and set the thickness property of the text field. And setting the font-family from a stylesheet. This was all working exactly as I expected it would with no issues whatsoever and months of development.

I just upgraded to CS5 and published and none of my text is rendered at all. I was able to resolve this by removing the embedFonts = true from the textfields, but this leaves me with no control over the thickness at all.

I searched everywhere, does anyone know what the proper way to do this in CS5 is now? I've tried embedding my font directly within the CS5 IDE but still no thickness control.

Thanks in advance for any help - I've got tons of textfields throughout my app that are all ganked right now. Thanks Adobe.

b

© Stack Overflow or respective owner

Related posts about flash

Related posts about cs5