Jump to content
GreenSock

dMurphy

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by dMurphy

  1. Hello there,

     

    Assuming this is a pretty simple idea I just seem to be hitting a wall. I've got a button and on every click I'd like it to blur an image in increments. So everytime I click this button it runs a function where my MC runs the blurFilter below

     

    TweenLite.to(mc, 1, {blurFilter:{blurX:10, blurY:10}});

     

    If that was the result of clicking the button once it would BlurX and Y to 10. On click the button a second time it wouldn't do anything because it's already at 10 where I'd like for it to blur to say 12 on second click and 14 on 3rd click and so on.

     

    Could something like this work or is it possible?

     

    {blurFilter:{blurX:currentBlurX +2, blurY:currentBlurY +2}});

     

    Any input would be appreciated.

     

    Cheers

×