1 Reply Latest reply on Jul 26, 2007 8:22 AM by connectricity

    customize contextMenu

    butcher_31
      hello.
      I have a custom component (let's call it X) that is a canvas, containing all sorts of elements.
      X basically it looks like that, hierarchical:
      <canvas1>
      <canvas2>
      <image1>
      <image2>
      </canvas2>
      <vbox>
      ..... (other components
      </vbox>
      </canvas1>

      X is a child of the <Application> file. at the application tag I defined a contextMenu with a custom item and I used hideBuiltInItems().
      when I right click on the images in X, the default contextMenu is opened. any other location in the application, I see the contextMenu I defined.
      I tried to define a custom contextMenu at every level of X: image1 and image2 tags, canvas1 / canvas2 tag - never works. always the default contextMenu with the default items.
      help ?
        • 1. Re: customize contextMenu
          connectricity
          I am unable to replicate your problem just using basic jpegs, but maybe your images contain swf movies instead. If this is the case you will need to hideBuiltInItems() in those movies.

          If this is not the case then maybe there are other factors in your source that may contribute to this problem. And I would need to see somethign more specific in order to help you.