13Flo wrote:
Hi,
Maybe because you're executing updateEffects on your onEnterFrame loop no ? :)
In fact you see just the blur filter 100,100,2
Im not sure how you mean.
Im calling the updateEffects from my onEnterFrame loop yes, but that is what I want it to do. The effect should update constantly onEnterFrame.
In my code example I first set the effect to blur 100,0. Then I wanted it to update to 100,100 by calling the updateEffects(material1,100) just to see a change if it worked. But it didn't. I just didn't get any blur att all (0,0) when I called the updateEffects function.
But now when I use removeAllEffects() first in the updateEffects function it works. And now when it works I change the blurAmount dynamicly when I call the updateEffects function from the onEnterFrame loop.