Skip navigation
PhilBailey
Currently Being Moderated

Disabling the Context Menu

Jul 13, 2007 1:08 PM

I need to disable the context menu on my Flash Lite 2.1 application so that users cannot affect the application. This is the menu that pops up when the user holds the stylus down on the Pocket PC screen. It is equivalent to the right-click menu that shows up in Flash on desktop PCs.

In the past, when I used Flash Player 6.0 for the Pocket PC, I could just create a big button in the lowest background layer, that covered the entire stage and did nothing when clicked. This does not seem to work in Flash Lite. I also see that the "showmenu" fscommand and the ContextMenu class are not supported in Flash Lite.

How can I suppress or disable the context menu in a Flash Lite for Windows Mobile application?
  • Currently Being Moderated
    Aug 1, 2007 4:29 AM
    Hi,
    Your answer : After set Softkeys to your handlers, your FlashLite menus will be destroyed.
    |
    Mark as:
  • Currently Being Moderated
    Aug 24, 2007 2:16 PM
    Hello,

    I need to do the same, disable the context menu, please help.

    Kind regards,

    Stuart Scott
    |
    Mark as:
  • Currently Being Moderated
    Oct 1, 2007 9:48 AM
    HI,

    I also need to disable this feature, it looks like it can
    not be done...
    |
    Mark as:
  • Currently Being Moderated
    Oct 1, 2007 10:34 AM
    same problem here, maybe a good idea for adobe to think of another way to acces the context menu then holding the stylus down.
    |
    Mark as:
  • Currently Being Moderated
    Oct 3, 2007 2:48 PM
    We are also facing the same problem. I take it no one has figured out a solution for this? ...
    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Oct 3, 2007 3:28 PM
    Thanks, Phil. We were primarily using Flash Lite to test some user interfaces that we designed for mobile devices, but one of our screen designs kept bringing up the blasted context menu whenever a user would interact with it.

    Quick question, you mentioned that you got around this issue using Janus and outputting FP7--which allowed you to suppress the tap-and-hold command. Will the outputted .swf or .exe run full screen on a Windows Mobile 6 device? I wasn't sure from your post if you were running your app on a Pocket PC or an actual touch screen cell phone (ala HTC Touch, etc.).


    Thanks
    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Oct 3, 2007 4:34 PM
    Phil, thanks again, I am going to give this a try.
    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Oct 12, 2007 12:23 PM
    quote:

    Originally posted by: PhilBailey
    My application runs on a plain Pocket PC (not a phone of any kind). I am using Windows Mobile 5, but the people at spaghettisort tell me that Janus is also compatible with Windows Mobile 6.

    My .swf files run full-screen. Janus handles this just fine.

    You should be able to download a trial copy of Janus PPC from the website. It is a fully functional copy except for the "nag" message that pops up when you run your application.


    Okay, just wanted to give everyone an update on this in case someone runs into the same problem. I did download the trial version of Janus. Unfortunately, in Janus you can only disable the context menu on Flash 7 and not Flash Lite. Definitely helpful, but doesn't quite solve my issue.

    I am surprised that Adobe hasn't developed something for Flash Lite that will disable the Hold and Tap context menu in Windows Mobile. How many times have you tried to scroll in your flash movie only to have the context menu pop up instead?
    |
    Mark as:
  • Currently Being Moderated
    Nov 1, 2007 4:36 PM
    Sorry, this is too late to help perhaps--I use a low-tech hack to get around this; simply create an invisible button or movie clip on your lowest layer, and assign a button function with no actions to it.
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)