Jump to content
Search Community

reinhat

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by reinhat

  1. Hi, I am trying to increase the strength of the glow effect. I am using the following code:

    TweenMax.to(mc, 0.3, {glowFilter:{color:0xFFFFFF, alpha:1, blurX:30, blurY:30}});

     

    I am not looking forward to increase the blur radius just trying to achieve a heavier glow especially around the movieclip. Is it possible somehow? I have tried increasing the "alpha" value but it doesn't work above the max value 1.

     

    My only other possible option would be to stack another glowFilter tween on the same movieclip but it may result in performance problems.

    Thanks, Attila

  2. Hi, I am working on a flash training presentation including a number tweens which need to appear one after another, mainly texts and some photos flying in or fading out while trying to control the timing of the elements with delay property. I have noticed however that when "delay" used in conjunction with "onComplete" callbacks the delays are somewhat missing and not processed. So instead of delaying the start of the animation and then only do onComplete when it ends it seems like the script is disregarding the delay properties an proceeds immedeately with onComplete callback functions. Please see example below:

     

    //animations part 1

    TweenLite.to(girl, 1, {_alpha:100, ease:Linear.easeNone, delay:1.5});
    TweenLite.to(planTab, 0.7, {_y:417, ease:Linear.easeNone, delay:3.5});
    TweenLite.to(text_1, 0.5, {_x:394, _alpha:100, ease:Linear.easeOut, delay:4});
    TweenLite.to(text_2_Anim, 0.5, {_x:395, _alpha:100, ease:Linear.easeOut, onComplete:myFunction1, delay:4.3});

     

    //animations part 2 - need to start with about 2 second delay after previous set so the previous texts can be read
    function myFunction1() {
        TweenLite.to(text_2_Anim, 0.5, {_x:435, _alpha:0, ease:Linear.easeOut, delay:2.5, onComplete:text_2_Anim.nextFrame()});
        TweenLite.to(text_2_Anim, 0.5, {_x:395, _alpha:100, ease:Linear.easeOut, delay:3});
        TweenLite.to(benefitsTab, 0.5, {_alpha:100, ease:Linear.easeNone, onComplete:myFunction2, delay:3});
    }

     

    //animations part 3

    function myFunction2() {

        //more tweens here.

    }

     

    Any ideas on why it is happening?

    Thanks, Attila

×
×
  • Create New...