Share Posted December 12, 2010 Hi, What is wrong with the code? No error but yoyo effect not working. Drop shadows works just once. Not repeating the same. TweenMax.to(RAS_mc, 5, {dropShadowFilter:{color:0xff0000, alpha:1, blurX:12, blurY:12, distance:15, repeat:3, yoyo:true}}); The second probelm. When I use the following code the "RAS_mc" disappears. No any error pops up. TweenMax.to(RAS_mc, 3, {bezier:[{x:88, y:89}, {x:166, y:99}], orientToBezier:true, ease:Bounce.easeOut}); Please help. Link to comment Share on other sites More sharing options...
Share Posted December 12, 2010 What is wrong with the code? No error but yoyo effect not working. Drop shadows works just once. Not repeating the same. TweenMax.to(RAS_mc, 5, {dropShadowFilter:{color:0xff0000, alpha:1, blurX:12, blurY:12, distance:15, repeat:3, yoyo:true}}); You put the repeat and yoyo values INSIDE the dropShadowFilter object - don't do that. BAD: TweenMax.to(RAS_mc, 5, {dropShadowFilter:{color:0xff0000, alpha:1, blurX:12, blurY:12, distance:15, repeat:3, yoyo:true}}); GOOD: TweenMax.to(RAS_mc, 5, {dropShadowFilter:{color:0xff0000, alpha:1, blurX:12, blurY:12, distance:15}, repeat:3, yoyo:true}); When I use the following code the "RAS_mc" disappears. No any error pops up. TweenMax.to(RAS_mc, 3, {bezier:[{x:88, y:89}, {x:166, y:99}], orientToBezier:true, ease:Bounce.easeOut}); I'm not sure about this one - there must be something else going on in your code/file. 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