Jump to content
Search Community

Require custom context menu on selected TransformItem

blagassie test
Moderator Tag

Recommended Posts

I have an application requirement which requires selected TransformItems display context menus. The target object of all TransformItems in question InteractiveObject types. When the transformItems are not selected, the context menu works correctly. Any suggestions on how to get the custom context menu to work for a selected TransformItem. This is a web application.

Link to comment
Share on other sites

Hm, I'm not quite sure how you're implementing the context menu logic, but keep in mind that when an item is selected, there is a DisplayObject placed on top in which the selection box is drawn so that you can see the lines and the mouse events are triggered properly. Is your code requiring somehow that nothing be on top of your object(s)? If so, that's not really feasible. Well, you could edit TransformManager and prevent the selection box from being put on top, but I think that'd look pretty weird and it'd cause some challenges with handling MouseEvents properly.

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