# Textfield animation problem: AntiAliasing

**URL:** <https://forum.kirupa.com/t/textfield-animation-problem-antialiasing/258126>\
**Category:** flash\
**Created:** [April 21, 2008, 8:49am UTC](https://forum.kirupa.com/t/textfield-animation-problem-antialiasing/258126 "2008-04-21T08:49:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ethernal](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@ethernal](https://forum.kirupa.com/u/ethernal)\
**Post date:** [April 21, 2008, 8:49am UTC](https://forum.kirupa.com/t/textfield-animation-problem-antialiasing/258126/1 "2008-04-21T08:49:51Z")

</div>

I have a sprite called _content_ with a textfield inside it. It listens to a custom event and when this event is dispatched the sprite ir blurred via TweenFilterLite.

It blurs okay, but when the opposite event is fired it has to unblur(?) and while it is unblurring the text of the textfield losses its antialias and looks very weird.

The textfield (called _titulo_) is created in the IDE, and has dynamic text with those properties:

```
ActionScript Code:
[FONT=Courier New][LEFT]titulo.[COLOR=#0000FF]selectable[/COLOR] = [COLOR=#000000] **false** [/COLOR];

```

titulo.[COLOR=#0000FF]text[/COLOR] = [COLOR=#FF0000]“DEIDOS SOLUCIONES PROFESIONALES”[/COLOR];  
titulo.[COLOR=#000080]antiAliasType[/COLOR] = AntiAliasType.[COLOR=#000080]NORMAL[/COLOR];  
titulo.[COLOR=#0000FF]setTextFormat[/COLOR]COLOR=#000000[/COLOR];  
titulo.[COLOR=#000080]defaultTextFormat[/COLOR] = Settings.[COLOR=#000080]getFmtTitulo[/COLOR]COLOR=#000000[/COLOR];  
[/LEFT]  
[/FONT]

```
ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#0000FF]private[/COLOR] [COLOR=#000000] **function** [/COLOR] onMenuExpanded[COLOR=#000000]([/COLOR]evt:Event[COLOR=#000000])[/COLOR]:[COLOR=#0000FF]void[/COLOR] [COLOR=#000000]{[/COLOR]
        TweenFilterLite.[COLOR=#000080]to[/COLOR][COLOR=#000000]([/COLOR]content, [COLOR=#000080]0[/COLOR].[COLOR=#000080]3[/COLOR], [COLOR=#000000]{[/COLOR]blurFilter: [COLOR=#000000]{[/COLOR]blurX: [COLOR=#000080]5[/COLOR], blurY: [COLOR=#000080]5[/COLOR][COLOR=#000000]}[/COLOR][COLOR=#000000]}[/COLOR][COLOR=#000000])[/COLOR];
    [COLOR=#000000]}[/COLOR]

```

[COLOR=#0000FF]private[/COLOR] [COLOR=#000000] **function** [/COLOR] onMenuCollapsedCOLOR=#000000[/COLOR]:[COLOR=#0000FF]void[/COLOR] [COLOR=#000000]{[/COLOR]  
TweenFilterLite.[COLOR=#000080]to[/COLOR][COLOR=#000000]([/COLOR]content, [COLOR=#000080]0[/COLOR].[COLOR=#000080]3[/COLOR], [COLOR=#000000]{[/COLOR] blurFilter: [COLOR=#000000]{[/COLOR]blurX: [COLOR=#000080]0[/COLOR], blurY:[COLOR=#000080]0[/COLOR][COLOR=#000000]}[/COLOR][COLOR=#000000])[/COLOR];  
[COLOR=#000000]}[/COLOR]  
[/LEFT]  
[/FONT]

Any way to solve this?
