Quantcast
Channel: Adobe Community : All Content - Adobe Animate CC - General
Viewing all articles
Browse latest Browse all 13519

Any idea why this font has a green tinge to it when applying a textFormat?

$
0
0

Hi

 

I have two text fields - one created dynamically (top), and another I created on flash's desktop using the text tool (bottom):

 

delete.gif

 

Both use the same font, and both have their colors set to 0x999999, but the top one ends up with a green tinge.

 

Any idea why this occurs?

 

Here's the code I use for making the top text field:

 

        t = new TextField();

        t.x = 10;

        t.width = Math.round(bg.width - 20);

        t.height = 18;

        t.antiAliasType = AntiAliasType.ADVANCED;

        t.sharpness = 400;

        t.embedFonts = Theme.embedFonts;

        t.defaultTextFormat = Theme.textFormat2;

        t.text = name;

        t.y = 3;

        addChild(t);

 

Thanks for your time and help.


Viewing all articles
Browse latest Browse all 13519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>