Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Benjamin Waller

Glow Filter issue

Recommended Posts

hello,

 

I have a glowFilter issue I wish to get some advice on. The issue is with a MC which consists of a bitmap image layered on vector graphics and the problem is I can't seem to get the glowFilter to work properly WHEN MOUSING OVER THE IMAGE ITSELF.

 

I have attached an example of the problem. One MC works fine while the other doesn't.

 

Container1 (left on stage) Is a MovieClip instance of imported assets from Illustrator with all the graphics as a single bitmap image but in doing so I lost the quality of the image and of course you can't scale it up etc… However this glow filter effect works as expected.

 

Container2 (right on stage) Is a MovieClip instance of imported assets with layered vector graphics and a bitmap image sitting on top. All layers were separate when importing from Illustrator. This one has kept its full pixel image quality but the glow filter doesn't work when you mouse over the bitmap image itself, very strange? However, I do get the glow effect to work when the mouse is at the very edge(because there is a thin lip of the container around the edge) and on the top of the container where there is on image.

 

Any suggestions? If anyone has a chance to look at the file it may be easier to diagnose.

 

Cheers,

Ben

Link to comment
Share on other sites

You're just using the wrong kind of event listeners - see http://www.greensock.com/tweening-tips/#mouseover

 

Use ROLL_OVER and ROLL_OUT instead and you'll be fine. This isn't related to TweenLite/Max at all, FYI. It's just how Flash works :)

 

Happy tweening.

Link to comment
Share on other sites

Thank you. Gosh. I wasn't thinking it was the event listeners at all. Silly me.

 

This platform is the best!

Thanks again. Your time is much appreciated.

 

Cheers,

Ben.

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.

×