# Glow filter grow+shrink on animated movieclip - need advice

**URL:** <https://forum.kirupa.com/t/glow-filter-grow-shrink-on-animated-movieclip-need-advice/211036>\
**Category:** flash\
**Created:** [December 26, 2006, 4:18am UTC](https://forum.kirupa.com/t/glow-filter-grow-shrink-on-animated-movieclip-need-advice/211036 "2006-12-26T04:18:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danwangkw](https://avatars.discourse-cdn.com/v4/letter/d/6f9a4e/32.png) [@danwangkw](https://forum.kirupa.com/u/danwangkw)\
**Post date:** [December 26, 2006, 4:18am UTC](https://forum.kirupa.com/t/glow-filter-grow-shrink-on-animated-movieclip-need-advice/211036/1 "2006-12-26T04:18:55Z")

</div>

I followed THECANADIAN’s ‘Applying and Animating Filter Effects’ tutorial and ran into a little problem.

My interface is presented DIABLO style where there’re a few characters to choose from and each character/movieclip is a looped animation. The script for applying the glow filter to grow/shrink on rollover/rollout appear to work fine but I noticed as long as the mouse is over the movieclip, the glow ‘grow effect’ repeats itself as soon as the character animation loops.

The actionscript sample can be found at:

[http://www.kirupa.com/developer/flash8/filter\_effects.htm](http://www.kirupa.com/developer/flash8/filter_effects.htm)

As in the blurX and blurY values grows from 3 to 20 repeatedly as long as the mouse stays over the animated movieclip.

Is the looping animation the cause of the problem (conflicting with the this.onEnterFrame function)? If it is, how do I work around it?

Any advice would be greatly appreciated.

Rgds,  
Dan
