ethernal
April 21st, 2008, 04:49 AM
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:
titulo.selectable = false;
titulo.text = "DEIDOS SOLUCIONES PROFESIONALES";
titulo.antiAliasType = AntiAliasType.NORMAL;
titulo.setTextFormat(Settings.getFmtTitulo());
titulo.defaultTextFormat = Settings.getFmtTitulo();
ActionScript Code:
private function onMenuExpanded(evt:Event):void {
TweenFilterLite.to(content, 0.3, {blurFilter: {blurX: 5, blurY: 5}});
}
private function onMenuCollapsed(evt:Event):void {
TweenFilterLite.to(content, 0.3, { blurFilter: {blurX: 0, blurY:0});
}
Any way to solve this?
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:
titulo.selectable = false;
titulo.text = "DEIDOS SOLUCIONES PROFESIONALES";
titulo.antiAliasType = AntiAliasType.NORMAL;
titulo.setTextFormat(Settings.getFmtTitulo());
titulo.defaultTextFormat = Settings.getFmtTitulo();
ActionScript Code:
private function onMenuExpanded(evt:Event):void {
TweenFilterLite.to(content, 0.3, {blurFilter: {blurX: 5, blurY: 5}});
}
private function onMenuCollapsed(evt:Event):void {
TweenFilterLite.to(content, 0.3, { blurFilter: {blurX: 0, blurY:0});
}
Any way to solve this?