Jump to content
Search Community

Why glow filter doesn't work with delay property?

learner_7n test
Moderator Tag

Recommended Posts

Hi,

 

I am using the following code. But the glow filters apply immediately. It doesn't delay for a while.

 

Code:

 

TweenMax.to(mc, 1, {glowFilter:{color:0xff0000, alpha:1, blurX:30, blurY:30, strength:1, quality:2, delay:10}});

 

Please help.

 

Thanks.

Link to comment
Share on other sites

you nested the delay in with the glowFilter props. it happens

 

BAD

TweenMax.to(mc, 1, {glowFilter:{color:0xff0000, alpha:1, blurX:30, blurY:30, strength:1, quality:2, delay:10}});

 

GOOD

TweenMax.to(mc, 1, {glowFilter:{color:0xff0000, alpha:1, blurX:30, blurY:30, strength:1, quality:2}, delay:10});

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...