title: TextField Antialiasing in Flash CS3 / FP10 causing text to flicker and "bloom"?
body: <p>I have run into a small graphics glitch in Flash.  It seems to be both in FP9 - Exported via Flash CS3, and FP10 - Exported via the Flex 4 beta SDK.</p>
  
  <p>The glitch / problem manifests itself as embedded text at a small point size "blooming" under certian conditions.  It basically looks like the antialiasing becomes fatter at some level of text brightness.  I have made a small test case below.  (Obviously) You will need to embed the Arial font in your compiled SWF for the below code to work.</p>
  
  <pre><code>var myText:TextField = new TextField();
  myText.embedFonts = true;
  myText.antiAliasType = AntiAliasType.ADVANCED;
  myText.autoSize = TextFieldAutoSize.LEFT;
  var myFormat:TextFormat = myText.getTextFormat();
  myFormat.size = 8;
  myFormat.font = 'Arial';
  myFormat.color = 0x663300;
  myText.defaultTextFormat = myFormat;
  myText.text = 'Bloom Example';
  addChild(myText);
  var composit:ColorTransform = new ColorTransform();
  var timestamp:Number = getTimer();
  function enterFrame (event:Event):void{
      var n:Number = (getTimer() - timestamp) / 1000.0;
      composit.redMultiplier = 1-n;
      composit.greenMultiplier = 1-n;
      composit.blueMultiplier = 1-n;
      composit.redOffset = 250 * n;
      composit.greenOffset = 250 * n;
      composit.blueOffset = 0;
      myText.transform.colorTransform = composit;
      if ( n &gt;= 1 ) removeEventListener(Event.ENTER_FRAME, enterFrame);
  };
  addEventListener(Event.ENTER_FRAME, enterFrame);
  </code></pre>
  
  <p>You can see an example of the problem by rolling over the graphical element here: <a href="http://bandcamp.fieldsofnoise.org/dump/bloom.swf" rel="nofollow noreferrer">http://bandcamp.fieldsofnoise.org/dump/bloom.swf</a></p>
  
  <p>It's not really an option to change to AntiAliasType.NORMAL as it makes the text way less readable at this point size.</p>
  
  <p>Any help finding an appropriate resolution to this problem would be appreciated.</p>