look for ContextMenu and ContextMenuItem in the docs.
http://livedocs.macromedia.com/flex/2/langref/flash/ui/ContextMenu.html#hideBuiltInItems()

In short, add this to the main mxml file, onCreationComplete:

this.contextMenu.hideBuiltInItems();

You cannot disable the contextMenu completely though.

regards,
Muzak

----- Original Message ----- 
From: "haravallabhan" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, October 26, 2006 6:57 AM
Subject: [flexcoders] How can I Hide ZOOM IN and ZOOM OUT in the context menu


HI,
 I want to hide the context menu in my flex application. How do I go
about. Please help me in this regard.

thanks
Hara






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to