Jump to content
Search Community

transformAroundCenter conflict with mouseevents

algro test
Moderator Tag

Recommended Posts

I'm using the transformAroundCenter-Plugin for scaling and rotating an image, as soon as I ROLL_OVER/ROLL_OUT.

Unfortunately the image bounces back and forth even when the mouse-pointer does not leave the visible image.

I removed all EventListener from the image and I'm adding them, as soon the tween has finished.

Even then it does not work.

When I disable the transformAroundCenter-Plugin, everything works fine.

Any suggestion ?

 

Thanks in advance

Link to comment
Share on other sites

do you get the problem with just the dropshadow?

 

I've found that drop shadows and glows tend to cause tons of mouse event misfires as you have explained.

 

my solution has been to dynamically create a solid-filled yet transparent sprite over the object with the shadow. this sprite needs to be big enough to cove the full width of the object + shadow distance.

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