[AS3.0] apply filter to TextField programmatically

Hi there!

I tried this using

textField.filters = [new GlowFilter()]

or just like in Flash8 passing the .filters array ref to another array and pushing filter to that array [was it?], but none of these steps worked.

Applying filter to Sprite, within which the TextField (_title) is contained:


var tit:Sprite = new Sprite();
     tit.addChild(_title);
     tit.filters = [new GlowFilter(0xFFFFFF,1,5,5,2,2)]
     addChild(tit);

worked, however this method (using extra sprite for a textfield) is just too dirty, let alone we want to apply filters to multiple textfields…

Anyone knows how to apply filter directly to TextField instance in AS3.0?

Thanks!