Jump to content
Search Community

can't seem to get Glow Filter working

timaging test
Moderator Tag

Recommended Posts

Hi,

 

I'm trying to add glow to a movie but it's not showing up. I'm fairly certain that this is correct:

 

import com.greensock.*;
import com.greensock.easing.*;
import com.greensock.plugins.*;
import com.greensock.OverwriteManager;
TweenPlugin.activate([MotionBlurPlugin, GlowFilterPlugin]);

OverwriteManager.init(OverwriteManager.CONCURRENT);

var allImages:Array = [bgrd, logo, text01, text02, bulletText01, bulletText02, bulletText03,
				   bulletText04, bulletText05, bullet01, bullet02, bullet03, bullet04, bullet05,
				   thankYou01, thankYou02];
TweenMax.allTo(allImages, 0, {autoAlpha:0});


TweenMax.to(bulletText01, 2, {autoAlpha:1, delay:10});
TweenMax.to(bullet01, .5, {autoAlpha:1, delay:10});
TweenMax.to(bullet01, 1, {glowfilter:{color:0x66ffff, autoAlpha:1, blurX:10, blurY:10}, delay:11});

stop();

 

I've also attached the file, but you can see that the movie I have isn't glowing. Is this due to the size?

 

thanks,

Dave

Link to comment
Share on other sites

BAD:

TweenMax.to(bullet01, 1, {glowfilter:{color:0x66ffff, autoAlpha:1, blurX:10, blurY:10}, delay:11});

 

GOOD:

TweenMax.to(bullet01, 1, {glowFilter:{color:0x66ffff, alpha:1, blurX:10, blurY:10}, delay:11});

 

cap F in glowFilter

alpha instead of autoAlpha

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...