# CSMSettings

**URL:** <https://forum.kirupa.com/t/csmsettings/237230>\
**Category:** flash\
**Created:** [August 28, 2007, 12:05pm UTC](https://forum.kirupa.com/t/csmsettings/237230 "2007-08-28T12:05:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![playfool](https://avatars.discourse-cdn.com/v4/letter/p/48db29/32.png) [@playfool](https://forum.kirupa.com/u/playfool)\
**Post date:** [August 28, 2007, 12:05pm UTC](https://forum.kirupa.com/t/csmsettings/237230/1 "2007-08-28T12:05:28Z")

</div>

Hey everyone,

is anyone else having problems with this,

```auto

var format:TextFormat = new TextFormat();
format.color = 0x336699;
format.size = 48;
format.font = "Verdana";

var myText:TextField = new TextField();
myText.embedFonts = true;
myText.autoSize = TextFieldAutoSize.LEFT;
myText.antiAliasType = AntiAliasType.ADVANCED;
myText.defaultTextFormat = format;
myText.selectable = false;
myText.mouseEnabled = true;
myText.text = "Hello World";
addChild(myText);
myText.addEventListener(MouseEvent.CLICK, clickHandler);

function clickHandler(event:Event):void
{
    trace("click");
    var myAntiAliasSettings = new CSMSettings(48, 0.8, -0.8);
    var myAliasTable:Array = new Array(myAntiAliasSettings);
    TextRenderer.setAdvancedAntiAliasingTable("Verdana", FontStyle.ITALIC, TextColorType.DARK_COLOR, myAliasTable);
}

```

the function clickHandler triggers but nothing changes on the text…

does anybody have the answer?

cheers
