dougz Posted February 10, 2010 Share Posted February 10, 2010 Hello, I am brand new to TweenMax and probably making a silly mistake, but hopefully it will only take someone a second to diagnose the problem. I'm trying to make an object pulse with an outer glow, indefinitely. This is the AS I'm using: TweenMax.to(mc, 2, {glowFilter:{color:0xFFFFFF, alpha:1, blurX:10, blurY:10, repeat:-1, yoyo:true}}); The object does glow, but with no pulsing, it simply tweens the glow alpha to 1 and then leaves it there. What am I doing wrong? Thanks very much for your help. Link to comment Share on other sites More sharing options...
dougz Posted February 10, 2010 Author Share Posted February 10, 2010 I'll answer my own question here, in case anyone finds this. As we might have guessed, a misplaced bracket was the culprit. Correct code is TweenMax.to(impresa_blue1, 2, {glowFilter:{color:0xFFFFFF,alpha:1,blurX:10,blurY:10},repeat:-1,yoyo:true}); , so that the properties for the glow are bracketed within the properties for the whole tween. Link to comment Share on other sites More sharing options...
GreenSock Posted February 10, 2010 Share Posted February 10, 2010 Bingo. I wish everyone solved their own posts like you Thanks for posting the solution. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now