0 Replies Latest reply on Oct 2, 2007 9:46 AM by rdollarhide

    Flash custom context menu not displaying in website

    rdollarhide
      I am attempting to implement a custom context menu in Flash CS3 (ActionScript 3). I am using Bewise's FlashControl to display the swf in my ASP.NET 2.0 website.


      The example I provide below works fine for the following:

      - Running from within Flash CS3 (Test Movie)
      - Publish Preview from Flash CS3 (both using Player 9 and straight HTML... IE7 and Firefox)

      It simply will not display the custom context menu item when running in my ASP.NET website (both from within VS2005 debug environment or fully published website).


      Has anybody seen this before?

      Sample Code
      In my .fla file I do do the following:



      var cm:ContextMenu = new ContextMenu();
      var item:ContextMenuItem = new ContextMenuItem('Test Item');
      cm.customItems.push(item);
      MyMovieClip.contextMenu = cm;