Jump to content
Search Community

Is it possible to make a an object flashing to attract ...

learner_7n test
Moderator Tag

Recommended Posts

Flashing alpha? A tint? Colorize? Brightness? Exposure? There are lots of ways to "flash" something. If you want it to repeat forever, just use repeat:-1 on a TweenMax along with yoyo:true.

 

TweenMax.to(mc, 1, {tint:0xFFFFFF, repeat:-1, yoyo:true, repeatDelay:0.5});

Link to comment
Share on other sites

To get "B", you could do:

var tl:TimelineMax = new TimelineMax({repeat:-1});
tl.append( TweenMax.to(mc, 1, {tint:0xFF0000}) );
tl.append( TweenMax.to(mc, 1, {tint:0xFFFF00}) );
tl.append( TweenMax.to(mc, 1, {tint:null}) );

 

As for the police car light, I'm not exactly sure what you're looking for - these forums are generally for help with troubleshooting, not writing the code for you so it's probably be best for you to take a crack at the effect you want and then if you have trouble, post here. and maybe include a sample video link or photo or something that makes it very clear what you're looking for.

 

Cheers!

  • Like 1
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...