# TextField + mask + antiAliasType problem

**URL:** <https://forum.kirupa.com/t/textfield-mask-antialiastype-problem/266388>\
**Category:** flash\
**Created:** [July 19, 2008, 9:36am UTC](https://forum.kirupa.com/t/textfield-mask-antialiastype-problem/266388 "2008-07-19T09:36:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Three](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@Three](https://forum.kirupa.com/u/Three)\
**Post date:** [July 19, 2008, 9:36am UTC](https://forum.kirupa.com/t/textfield-mask-antialiastype-problem/266388/1 "2008-07-19T09:36:12Z")

</div>

Hi guys,

I have a TextField which I give a mask. The text for the TextField is quite long. When I’m giving the TextField an antiAliasType of advanced once in a while my browser and adobe flash cs3 are crashing. This happends faster when I’m changing pages faster. I’m using an embedded font.

When I’m removing the antiAliasType I don’t have the problems. In code:

```php

textMask.graphics.beginFill(0, 0);
textMask.graphics.drawRect(0, 0, 840, 350);
textMask.graphics.endFill();
textMask.x = 30;
textMask.y = 80;
Layout.myContent.addChild(textMask);
			
_text = new TextField();
_text.embedFonts = true;
//_text.antiAliasType = 'advanced';
_text.mask = textMask;
_text.multiline = true;
_text.autoSize = 'left';
_text.htmlText = _page['value'];
_text.setTextFormat(CreateTextFormat.returnFormat(1, 16));
_text.x = 30;
_text.y = 80;
text.width = textMask.width;
Layout.myContent.addChild(_text);

```

Does somebody experienced the same problem and knows how to solve it? Thanks in advance.
