Jump to content
Search Community

stepi

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by stepi

  1. Hi,

     

    I'm trying to create a tween where there are two glow filters. I know this is possible in AS3 but how do I do it in TweenMax? I've tried disabling overwrite with 2 tweens that are played at the same time. But it's not working since I can only see one glow filter applied.

     

    I have these tweens:

     

    _tween = new TweenMax(targetFrom, 0.2, {
                       glowFilter: {color: 0xffffff, alpha: 1, blurX: 100, blurY: 100, strength: 2.5, quality:1},    
                       ease: Linear.easeIn,
                       delay:0.05,
                       paused: true,
                       overwrite:0
                   }
               );
    
    _tween2 = new TweenMax(targetFrom, 0.2, {
                       glowFilter: {color: 0x5EC5F7, alpha: 1, blurX: 100, blurY: 100, strength: 2, quality: 1},
                       ease: Linear.easeIn,                    
                       paused: true,
                       delay:0.05,
                       overwrite:0
                   }
               );

     

     

    and then there's

     

    _tween.play();

    _tween2.play();

     

    Thank you!

×
×
  • Create New...