15 Replies Latest reply on Jul 11, 2008 6:59 AM by kglad

    Context menu problem

    tatiana1 Level 1
      Hi, I'm creating an application where I'm dynamically creating MC's with AS2. Once created, I'm attaching a new ContextMenu I've created.

      When I create MC's containing vector based shapes and drawings, all works well. I right click them and my personalized menu shows up. But when I create an MC and load an external JPG or PNG file inside it, the Context Menu doesn't show up and I only get the standard Flash menu.

      Here's what I'm doing:

      1) I create an empty MC
      2) I draw a shape inside it using AS2
      3) I attach the Context Menu
      4) I run the movie and right click the MC and it all works fine

      1) I create an empty MC
      2) I use LoadClip to load an external bitmap inside the MC
      3) Within the LoadClip's onLoadInit event, I attach the ContextMenu
      4) I run the movie and right click the MC, but the standard Flash menu shows up

      What am I doing wrong? Or is it a Flash bug?