You can also try the below function 

private function hideContextMenu():void
        {
            var menu:ContextMenu = new ContextMenu();
            menu.hideBuiltInItems();
            this.contextMenu = menu;
        }  

A.
http://flexmaverick.byethost9.com/


A.-6 wrote:
> 
> Show redraw region option comes only when you have the debug version 
> of flash player installed. This can not be disabled at least not that 
> I know of. 
> 
> For the end users, the normal version of flash player should be used 
> as its much faster. Not to mention that  your final version of the swf 
> should not have the debug version enabled (in flex 3). 
> 
> In the meantime, will check if there's a way ot get rid of the items.
> 
> A. 
> 
>  http://flexmaverick.byethost9.com http://flexmaverick.byethost9.com 
> 
> 
> Iyer Anuradha wrote:
>> 
>> Hi,
>> 
>> I would like to know how to hide "Show Redraw Region and Debugger".
>> 
>> I have seen many examples in google but I didn't get any option
>> related to this.
>> 
>> Thanks,
>> Anuradha
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/-flex_india%3A29708--Custom-Context-Menu-Item-tp28388208p28391920.html
Sent from the Flex India mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to