Skip to main content
Inspiring
August 15, 2008
Question

disable right-click?

  • August 15, 2008
  • 4 replies
  • 710 views
Is there a way to totally disable the right-click menu? I've inserted the following:

Stage.showMenu = false;
_global.showRedrawRegions(false);

...which does a pretty good job, but I'm still getting a right-click popup with "Show Redraw Regions" and "Settings". Can the popup be done away with altogether?? Many thanks in advance.
This topic has been closed for replies.

4 replies

bhnhAuthor
Inspiring
August 21, 2008
Thanks, Nilesh.
Known Participant
August 19, 2008
bhnhAuthor
Inspiring
August 19, 2008
Many thanks, urami and Zodiac. I failed to mention that this is for a downloadable .swf, not one embedded in an html page or in a stand-alone projector. Setting the showMenu to false will be adequate.
Participant
August 21, 2008
do the google search on gwContextKiller component. Its a MXP file, so extract it using the extension in your fla. check with this the site that they have provided is not showing the context menu completly!

Hope this helps.

Regards,
Nilesh
Inspiring
August 19, 2008
bhnh wrote:
> Is there a way to totally disable the right-click menu? I've inserted the
> following:
>
> Stage.showMenu = false;
> _global.showRedrawRegions(false);
>
> ...which does a pretty good job, but I'm still getting a right-click popup
> with "Show Redraw Regions" and "Settings". Can the popup be done away with
> altogether?? Many thanks in advance.
>

No, it can't be disabled. The only time you can deactivate but not eliminate the SETTING,
is when flash movie stage get really small.

The setting window has specific size of (approx) 210 by 140 pixels. If the flash movie is
too small, you won't be able to see the entire SETTING box, therefor it will dim to prevent
your from opening it but not being able to access all its options.



--
Best Regards

Urami


--
"Never play Leap-Frog with a Unicorn."


<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
August 15, 2008
Examples are all over the internet. Have you searched?
bhnhAuthor
Inspiring
August 15, 2008
Yes, I have. Can you suggest an example?