# Glowfilter not working on textfiled?

**URL:** <https://forum.kirupa.com/t/glowfilter-not-working-on-textfiled/306879>\
**Category:** flash\
**Created:** [March 23, 2010, 10:15pm UTC](https://forum.kirupa.com/t/glowfilter-not-working-on-textfiled/306879 "2010-03-23T22:15:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dimitree](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dimitree/32/2530_2.png) [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Post date:** [March 23, 2010, 10:15pm UTC](https://forum.kirupa.com/t/glowfilter-not-working-on-textfiled/306879/1 "2010-03-23T22:15:18Z")

</div>

I have four instances of a movieclip (consisted of a textfield) on stage with given names btn1,btn2,btn3,btn4.  
The issue is I cannot get the GlowFilter work on ROLL\_OVER event Listener.

```php

import com.greensock.*; 
import com.greensock.easing.*;

var buttons_array:Array = [btn1,btn2,btn3,btn4];

var previousBtn = MovieClip(buttons_array[0]);
previousBtn.mouseEnabled = false;

TweenMax.to(previousBtn, 0, {tint:0xCAB16F});

for (var i:Number=0; i<buttons_array.length; i++) {
    buttons_array*.id = i;
    buttons_array*.mouseChildren=false;
    buttons_array*.buttonMode=true;
    buttons_array*.addEventListener(MouseEvent.ROLL_OVER, onRollover, false, 0, true);
}
function onRollover(e:MouseEvent):void {
    e.target.addEventListener(MouseEvent.ROLL_OUT, onRollout, false, 0, true);
    e.target.addEventListener(MouseEvent.CLICK, buttonClicked, false, 0, true);
    TweenMax.to(e.target, 1, {glowFilter:{color:0x91e600, alpha:1, blurX:30, blurY:30}});
	
}
function onRollout(e:MouseEvent):void {
    TweenMax.to(e.target, .1, {tint:null});
	
}
function buttonClicked(e:MouseEvent):void {
    var currentBtn = MovieClip(e.target);
    previousBtn.addEventListener(MouseEvent.ROLL_OVER, onRollover, false, 0, true);
    currentBtn.removeEventListener(MouseEvent.ROLL_OUT, onRollout);
    currentBtn.removeEventListener(MouseEvent.CLICK, buttonClicked);
    TweenMax.to(currentBtn, .1, { tint:0xCAB16F});
    TweenMax.to(previousBtn, .1, {tint:null});
    previousBtn.mouseEnabled = true;
    currentBtn.mouseEnabled = false;
    previousBtn = currentBtn;
}  

```

Can sb see what’s wrong?
