Jump to content
Search Community

HitArea of transparent bitmaps

hahahaag test
Moderator Tag

Recommended Posts

Hey -

 

I am using the TransformManager for a project, and the objects used are images with transparency. The problem is that the TransformManager uses the main instance to add the mouse listeners, and if there is an image like a elipse, the corners will be considered.

 

Is there an easy way to adjust this?

I was thinking of using like a hit MovieClip inside each object (with the actual shape of the image), and change the listeners in TransformManager.as to this MovieClip, but then if you have the object selected, and try to move clicking on the transparent area, it will deselect.

 

I tried to use a BitmapData as a hit, but didn't work well.

 

Thanks a lot guys!

 

Sandro

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