[flexcoders] context menu in a datagrid in flex 4
Hi I am trying to set the context menu to a datagrid. The process I am using is like this cm = new ContextMenu; cm.hideBuiltInItems(); var cmi:ContextMenuItem = new ContextMenuItem('say hello'); cm.customItems.push(cmi); Inside datagrid I am using contextMenu={cm} This work perfectly fine with flex 3.6 , but when I compile it with flex 4.6 the contextmenu doesn't show. Thanks Nitin Gopi
[flexcoders] Context Menu
Hi All, I want to style the context menu(opening on right click option) .Is is possible to style it.I want to change the background color and font color . Thanks Pankaj
[flexcoders] context menu
Hi All to use context menu and use it to make new tab in browser im use this sample: private function B(evt:ContextMenuEvent):void { navigateToURL(new URLRequest(http://www.google.com;),_blank); } and for the function in context menu, im use this sample: private function A(evt:ContextMenuEvent):void { app().goToNodePage(); } how the second sample can add new tab (at browser) like at first sample? Thanks for Advice
Re: [flexcoders] Context Menu
Hi, Try this link.. :) http://blog.flexexamples.com/2007/08/20/using-a-custom-context-menu-with-the-flex-datagrid-control/ --- On Tue, 2/3/10, Angelo Anolin angelo_ano...@yahoo.com wrote: From: Angelo Anolin angelo_ano...@yahoo.com Subject: [flexcoders] Context Menu To: flexcoders@yahoogroups.com Date: Tuesday, 2 March, 2010, 1:31 AM Hi FlexCoders, Has anyone implemented a right mouse click context menu which contains sub-menu items? I have been able to create a datagrid control with right mouse menu and the context menu I have defined appears, but I have no idea on how to implement one which contains sub-menu. Any help/inputs would be appreciated. Thanks. Regards, Angelo Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
[flexcoders] Context Menu
Hi FlexCoders, Has anyone implemented a right mouse click context menu which contains sub-menu items? I have been able to create a datagrid control with right mouse menu and the context menu I have defined appears, but I have no idea on how to implement one which contains sub-menu. Any help/inputs would be appreciated. Thanks. Regards, Angelo
[flexcoders] context menu event on tree column of advanced data grid ....
When a context menu on an ADG is clicked and the ADG cell is not a hierarchy node, the ContextMenuEvent.mouseTarget is ADGItemRenderEX and info about the grid cell data clicked on to raise the context menu can be grabbed from ADGItemRendererEX.listData.Item. But when a node in the hierarchical column of an ADG is clicked to raise the context menu, the context menu ContextMenuEvent.mouseTarget is a AdvancedListBaseContentHolder . and does not seem to hold any info about the grid cell (hierarchy node). How do I extract info about the hierarchy node from AdvancedListBaseContentHolder? TIA, Mic.
RE: [flexcoders] Context Menu mouseTarget Issue
What is event.mouseTarget? and what is its parent? You might be off a level or two. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jmfillman Sent: Tuesday, September 01, 2009 2:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Context Menu mouseTarget Issue I have a canvas container with several custom containers added to it. I have a context menu so that when you right click on the containers, you can remove it from the canvas container. When I go to remove a child, I get an error, below. Code: private function menuSelectHandler(event:ContextMenuEvent):void { var remChild:Number; var target:String = event.mouseTarget.toString(); trace (target); if (target.match(UIComponent) == null target.match(resizeBar) == null) { trace ( True 1); trace ( +event.mouseTarget); remChild = cal0Day.getChildIndex(event.mouseTarget); } else { trace ( True 2); trace ( +event.mouseTarget.parent); remChild = myCanvas.getChildIndex(event.mouseTarget.parent); } trace (remChild); trace (myCanvas.getChildAt(remChild)); myCanvas.removeChildAt(remChild); myAC.removeChildAt(remChild); updateLayout(); } TestApp0.canvasShell.myCanvas.myContainer592 True 1 TestApp0.canvasShell.myCanvas.myContainer592 12 TestApp0.canvasShell.myCanvas.myContainer592 Then I get the following error: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display::DisplayObjectContainer/getChildIndex() How do I do this?
[flexcoders] Context Menu mouseTarget Issue
I have a canvas container with several custom containers added to it. I have a context menu so that when you right click on the containers, you can remove it from the canvas container. When I go to remove a child, I get an error, below. Code: private function menuSelectHandler(event:ContextMenuEvent):void { var remChild:Number; var target:String = event.mouseTarget.toString(); trace (target); if (target.match(UIComponent) == null target.match(resizeBar) == null) { trace ( True 1); trace (+event.mouseTarget); remChild = cal0Day.getChildIndex(event.mouseTarget); } else { trace ( True 2); trace (+event.mouseTarget.parent); remChild = myCanvas.getChildIndex(event.mouseTarget.parent); } trace (remChild); trace (myCanvas.getChildAt(remChild)); myCanvas.removeChildAt(remChild); myAC.removeChildAt(remChild); updateLayout(); } TestApp0.canvasShell.myCanvas.myContainer592 True 1 TestApp0.canvasShell.myCanvas.myContainer592 12 TestApp0.canvasShell.myCanvas.myContainer592 Then I get the following error: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display::DisplayObjectContainer/getChildIndex() How do I do this?
[flexcoders] Context Menu
Hello All, My searching is turning up empty. Does any one know of a way to determine when a right click context menu is closing/closed? thanks wev _ Windows Live™ SkyDrive™: Store, access, and share your photos. See how. http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009
Re: [flexcoders] Context menu is not working for Flash Player 10
Two things to verify before that. 1 - Did you instantiate correctly to call the warpper js? 2 - When you debug what erros you got? Regards Igor On Tue, May 5, 2009 at 3:26 PM, Dharmendra Chauhan chauhan_i...@yahoo.comwrote: Hi, My Application is working fine with Flash Player9 but with FP10,it's somewhat broken.I am calling some external method throw ExternalInterFace on Context Menu Select event.None of the method is getting called with FP 10 ie call is not being made. Everything is working fine in FP9 have anybody encountered this issue ? what would be the possible workaround for it ? -- Igor Costa www.igorcosta.com www.igorcosta.org
[flexcoders] Context menu is not working for Flash Player 10
Hi, My Application is working fine with Flash Player9 but with FP10,it's somewhat broken.I am calling some external method throw ExternalInterFace on Context Menu Select event.None of the method is getting called with FP 10 ie call is not being made. Everything is working fine in FP9 have anybody encountered this issue ? what would be the possible workaround for it ?
[flexcoders] Context Menu Bug in FlashPlayer ?
The code below causes both IE and Firefox to crash (haven't tried others). The problem seems to occure when removing an item from a custom context menu. It doesn't even debug, just crashes the browser. If I add this one line: menu.customItems.pop(); then the browser crashes. If I remove it, if functions as expected. Please help. Sample code below: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.controls.Alert; [Bindable] public var menu:ContextMenu; [Bindable] public var blankMenu:ContextMenu; public function mouseOvr(event:MouseEvent):void { menu = new ContextMenu; var addPop:ContextMenuItem = new ContextMenuItem(Do Something); addPop.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, newPop); menu.customItems.push(addPop); myButton.contextMenu = menu; } public function newPop (event:ContextMenuEvent):void { Alert.show(Hi); } public function mouseOt(event:MouseEvent):void { myButton.contextMenu = blankMenu; menu.customItems.pop(); } ]] /mx:Script mx:Button x=349 y=189 label=Button width=101 height=41 id=myButton mouseOver=mouseOvr(event) mouseOut=mouseOt(event)/ /mx:Application
Re: [flexcoders] Context menu triggers browser crash
Hi Borja No, I've not had any luck in figuring out the cause or a fix as yet. Are you able to post a link to an app that shows the problem? Anyone on the list able to help? Guy On 23/07/2008, at 9:06 PM, Borja Jelič wrote: Hi, I've seen your post on the http://www.mail-archive.com/flexcoders@yahoogroups.com/msg98084.html regarding browser crash when using context menu in flex... Because I'm experiencing the same problem I wonder if you figure out what causes the crash? I noticed that this happens only in debug mode... im using vista 64 sp1 and Firefox and IE browsers... thanks, Borja
[flexcoders] Context menu triggers browser crash
Hi there I have a Flex 2 app that has a custom context menu attached to the root application object. It works without incident on the Mac, but on windows, choosing an item from the context menu sometimes causes the browser to crash. There appears to be no pattern to it, though it does seem to occur more frequently when choosing a menu item that calls a function that does a couple of sequential HTTP requests and thus can take a little while (maybe a second or two) to complete. This happens in both IE and Firefox on windows, so for once we can't just blame IE. :-) Anyone seen this behaviour before and know what causes it, or how to work around it? TIA Guy
[flexcoders] Context menu
How can I remove all builtin items? Thanks
RE: [flexcoders] Context menu
hideBuiltInItems From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Saturday, June 21, 2008 1:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Context menu How can I remove all builtin items? Thanks
RE: [flexcoders] Context Menu Use in PopUp
By functions do you mean event listeners? How are you setting it up? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmfillman Sent: Friday, June 13, 2008 10:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Context Menu Use in PopUp I have a ContextMenu in my parent application. I can make the same ContextMenu show in a popup titleWindow, however, the functions do not fire when clicked in the popup. How can I do this?
[flexcoders] Context Menu Problems (FlexBuilder2)
I'm trying to add an extra menu item to the right click context menu to appear over a bitmap. I've successfully added the code and it works *sometimes* ... and there lies my problem. It may work the first time, it may work all the time or it may work never but for some reason, the main default context menu normally replaces my default menu. I'm setting the Image's ContextMenu via the mxml and altering said context menu in the CDATA script. Is there anything obvious I should be looking for? Cheers, Phill. [Bindable] public var itsRightClickContextMenu:ContextMenu; . . . private function addCustomContextMenu():void { var cmi:ContextMenuItem= new ContextMenuItem(DO STUFF, true); cmi.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contextMenuItem_menuItemSelect); itsRightClickContextMenu= new ContextMenu(); itsRightClickContextMenu.hideBuiltInItems(); itsRightClickContextMenu.customItems.push(cmi); } . . . mx:Image id=bitmapFitToWindow width= 100% height=100% contextMenu={itsRightClickContextMenu} . . .
[flexcoders] Context menu in flex
Hi iam new to this group and working with flex about one month. I want to add custom contex menu in tree component any one can help me or can send a code sample can i display popup menu when some one right clicks on my tree menu. Thanks in advance
Re: [flexcoders] Context menu and sub-menu capability...
http://code.google.com/p/custom-context-menu/ It doesn't work 100% but there's an on-going effort (last I checked). On 10/23/07, Daniel Freiman [EMAIL PROTECTED] wrote: You can't do it. You also can't override the context menu to not display so that you can create your own menu in it's place for security reasons. I've heard some theories on intercepting the right-mouse click before it gets to the flash player but I've never actually seen someone do that. - Dan Freiman On 10/23/07, mrvinedit [EMAIL PROTECTED] wrote: Is it possible for a Flex (Flash) context menu to have one of more sub-menus? Thanks, Mike G -- Derek Vadneau
[flexcoders] Context menu and sub-menu capability...
Is it possible for a Flex (Flash) context menu to have one of more sub-menus? Thanks, Mike G
Re: [flexcoders] Context menu and sub-menu capability...
You can't do it. You also can't override the context menu to not display so that you can create your own menu in it's place for security reasons. I've heard some theories on intercepting the right-mouse click before it gets to the flash player but I've never actually seen someone do that. - Dan Freiman On 10/23/07, mrvinedit [EMAIL PROTECTED] wrote: Is it possible for a Flex (Flash) context menu to have one of more sub-menus? Thanks, Mike G
[flexcoders] Context menu mouseTarget vs. itemRenderer with Image control
I'm hoping someone's had experience with this one... I have a TileList control with a custom itemRenderer. The renderer consists of an Image control and a few Label controls. I've also attached a custom context menu to the TileList. In the MENU_SELECT event, I want to set the TileList's selectedItem to the item that the mouse is over before popping up the context menu. So I examine the event.mouseTarget property... this might be one of the embedded Label controls, so I crawl up the parent property till I get to the top. Works great - I eventually get to the itemRenderer level, where I can check if the renderer.data value is already selected, and if not, select it. It *doesn't* work if I right-click on the Image control. In that case, mouseTarget comes back as a MovieClip object with its parent property set to null - there doesn't seem to be any way to determine which itemRenderer it belongs to! Any ideas? All help appreciated, as always!!! --Tracey
RE: [flexcoders] Context menu mouseTarget vs. itemRenderer with Image control
Images are not mouse targets. Try setting mouseChildren=true and/or mouseEnabled=true in the renderer. You may also need to cover the image with a Sprite with alpha=0 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tsiesser Sent: Friday, June 01, 2007 4:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Context menu mouseTarget vs. itemRenderer with Image control I'm hoping someone's had experience with this one... I have a TileList control with a custom itemRenderer. The renderer consists of an Image control and a few Label controls. I've also attached a custom context menu to the TileList. In the MENU_SELECT event, I want to set the TileList's selectedItem to the item that the mouse is over before popping up the context menu. So I examine the event.mouseTarget property... this might be one of the embedded Label controls, so I crawl up the parent property till I get to the top. Works great - I eventually get to the itemRenderer level, where I can check if the renderer.data value is already selected, and if not, select it. It *doesn't* work if I right-click on the Image control. In that case, mouseTarget comes back as a MovieClip object with its parent property set to null - there doesn't seem to be any way to determine which itemRenderer it belongs to! Any ideas? All help appreciated, as always!!! --Tracey
[flexcoders] Context menu Submenu
Is it possible to have a context menu item which has a child sub-menu. Currently I have a COntext menu item and when i click it I open another regular Flex Menu where it is possible to create a sub-menu. But when you right click and the Adobe COntext menu pops up there i am unable to add a menuitem which can contain a submenu. Any help here will be appreciated.
Re: [flexcoders] Context menu Submenu
Nope Isn't possible. Best On 1/18/07, alok512522 [EMAIL PROTECTED] wrote: Is it possible to have a context menu item which has a child sub-menu. Currently I have a COntext menu item and when i click it I open another regular Flex Menu where it is possible to create a sub-menu. But when you right click and the Adobe COntext menu pops up there i am unable to add a menuitem which can contain a submenu. Any help here will be appreciated. -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
[flexcoders] Context menu with custom cursor
Hi, In my Flex 2 application I have a custom context menu, and I occasionally set a custom cursor. When the user right-clicks when the custom cursor is set, the default context menu is shown, not the custom context menu. This seems to only happen when the custom cursor exists under the mouse coordinates. The problem can be seen on this page: http://www.adobe.com/devnet/flex/quickstart/controlling_the_cursor/ On examples on that page, if you set the busy cursor, notice you get the default context menu. When you set the custom hourglass cursor, you don't, presumably because it is offset away from the mouse coordinates. In my app, the custom cursor exists under mouse coordinates, and like I said, the default menu is shown. The cursor I am using is embedded from a Flash 9 SWF, and in the class definition for the symbol, I have tried changing the contextMenu and disabling mouseEnabled, to no avail. Since my custom cursor is a magnifying glass, I really don't want Zoom In/Zoom Out on the context menu. Am I missing something? Has anyone overcome this? Thanks, David -- 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/
[flexcoders] Context Menu and Cross Domains
I was reading an article on Adobe's site (mostly about flash) that said it was possible to get rid of some of the right click options like settings option. Is this true or did I miss read the article? -- 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/
Re: [flexcoders] context-menu in flex...
Hi everyone,OK, I really need to have a right click context menu coming up in a tree - either my own or the Flash one.It seems the Flash one cannot be done without some other stuff in it that we do not want. Has anyone found a way to maybe fake it so that the built in one does not come up? All the reading I have found on the subject involved previous versions of the player or involved bringing up other Alerts and stuff, but not a context menu. I have considered maybe bringing up a context menu upon double clicking on a line in the tree - but that is just not the way these interfaces would normally work. I am trying to simulate sort of an explorer type action on files in a tree. Hightlight an item, then right click to do copy, paste, delete etc. Any ideas?ThanksJonathanOn 4/24/06, Matt Chotin [EMAIL PROTECTED] wrote: Look for the ContextMenu class in the ASDoc (and reference). You can't disable the right-click menu completely, the most you can do is remove some of the settings. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Rajni Sent: Monday, April 24, 2006 8:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] context-menu in flex... Hi, Can anybody tell me that how to customize the context-menu in flex? or how to disable right-click menu in flex? Thanks -Rajni -- 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 -- 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 Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] context-menu in flex...
I've always dealt with leaving the miniumum information in the context menu, since the items you add appear first. Also, if you use the hideBuiltInItems() method, there are only 4 built in items which appear with what you add. At 10:57 AM 6/13/2006, you wrote: Hi everyone, OK, I really need to have a right click context menu coming up in a tree - either my own or the Flash one. It seems the Flash one cannot be done without some other stuff in it that we do not want. Has anyone found a way to maybe fake it so that the built in one does not come up? All the reading I have found on the subject involved previous versions of the player or involved bringing up other Alerts and stuff, but not a context menu. I have considered maybe bringing up a context menu upon double clicking on a line in the tree - but that is just not the way these interfaces would normally work. I am trying to simulate sort of an explorer type action on files in a tree. Hightlight an item, then right click to do copy, paste, delete etc. Any ideas? Thanks Jonathan On 4/24/06, Matt Chotin mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: Look for the ContextMenu class in the ASDoc (and reference). You can't disable the right-click menu completely, the most you can do is remove some of the settings. Matt -Original Message- From: mailto:flexcoders@yahoogroups.comflexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] On Behalf Of Rajni Sent: Monday, April 24, 2006 8:03 PM To: mailto:flexcoders@yahoogroups.comflexcoders@yahoogroups.com Subject: [flexcoders] context-menu in flex... Hi, Can anybody tell me that how to customize the context-menu in flex? or how to disable right-click menu in flex? Thanks -Rajni -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS Visit your group http://groups.yahoo.com/group/flexcodersflexcoders on the web. To unsubscribe from this group, send an email to: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service . -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.1.394 / Virus Database: 268.8.3/362 - Release Date: 6/12/2006 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.394 / Virus Database: 268.8.3/362 - Release Date: 6/12/2006 Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
[flexcoders] context-menu in flex...
Hi, Can anybody tell me that how to customize the context-menu in flex? or how to disable right-click menu in flex? Thanks -Rajni -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] context-menu in flex...
Look for the ContextMenu class in the ASDoc (and reference). You can't disable the right-click menu completely, the most you can do is remove some of the settings. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rajni Sent: Monday, April 24, 2006 8:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] context-menu in flex... Hi, Can anybody tell me that how to customize the context-menu in flex? or how to disable right-click menu in flex? Thanks -Rajni -- 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 -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Context Menu - hiding everything ?
Is it possible to hide the 'Settings' and 'About' parts of the contextMenu ? I've added some menu items of my own for the application I'm developing but the 'Settings' and 'About' parts just don't look appropriate in the menu - I'd really like the menu to just contain elements pertinent to the application. Thanks, Jamie. Yahoo! Groups Sponsor ~-- Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
Re: [flexcoders] Context Menu - hiding everything ?
Nope. You cannot delete those. On 11/25/05, jamiebadman [EMAIL PROTECTED] wrote: Is it possible to hide the 'Settings' and 'About' parts of the contextMenu ? I've added some menu items of my own for the application I'm developing but the 'Settings' and 'About' parts just don't look appropriate in the menu - I'd really like the menu to just contain elements pertinent to the application. Thanks, Jamie. -- 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 -- : Aldo Bucchi : mobile (56) 8 429 8300 Yahoo! Groups Sponsor ~-- Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
Re: [flexcoders] Context menu
hi, have a look in Flash documentation.I can't send you some example cosi'm not front of my computer Eric Message du 06/05/04 16:37 De : "Steve Pruitt" <[EMAIL PROTECTED]> A : flexcoders@yahoogroups.com Copie à : Objet : [flexcoders] Context menu I recall the Beta documentation containing instructions on customizing the context menu, the right-mouse-button menu. I can't find anything in the 1.0 documentation except in the Printing chapter. Has this been removed? I need aright-mouse-button menu for items in a Tree view. Any suggestions? -S
Re: [flexcoders] Context menu
Hi Steve, I can't remember seeing anything in the Beta docs, but i did start a thread on the beta forums about the context menu. Basically, Flex doesn't give us anything over and above the MX/Flash Player 7 way of creating context menus. Also, there is a restriction in Flash Player 7 that means a movie clip nested withing another movie clip cannot have a context menu attached to it - since all Flex containers and components end up in the Flash player as movie clips this effectively means that you can only add context menus to the top level application or to components that sit within that top level application. I'm hoping that a future Flash Player will address this. However, saying that, I do know of a book coming out soon that contains and an example of a custom component that lets you easily add context menus to your Flex applications Ali -- Alistair McLeod Development Director iteration::two Joint-Author of Developing Rich Clients with Macromedia Flex Available June 2004 from Macromedia Press On Thu, 2004-05-06 at 15:36, Steve Pruitt wrote: I recall the Beta documentation containing instructions on customizing the context menu, the right-mouse-button menu. I can't find anything in the 1.0 documentation except in the Printing chapter. Has this been removed? I need a right-mouse-button menu for items in a Tree view. Any suggestions? -S __ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
RE: [flexcoders] Context menu
Ihave heard rumors about this book.Know anything about it? :)Hi Steve,I can't remember seeing anything in the Beta docs, but i did start athread on the beta forums about the context menu. Basically, Flexdoesn't give us anything over and above the MX/Flash Player 7 way ofcreating context menus.Also, there is a restriction in Flash Player 7 that means a movie clipnested withing another movie clip cannot have a context menu attached toit - since all Flex containers and components end up in the Flash playeras movie clips this effectively means that you can only add contextmenus to the top level application or to components that sit within thattop level application. I'm hoping that a future Flash Player willaddress this.However, saying that, I do know of a book coming out soon that containsand an example of a custom component that lets you easily add contextmenus to your Flex applicationsAli-- Alistair McLeodDevelopment Directoriteration::twoJoint-Author of "Developing Rich Clients with Macromedia Flex"Available June 2004 from Macromedia PressOn Thu, 2004-05-06 at 15:36, Steve Pruitt wrote: I recall the Beta documentation containing instructions on customizing the context menu, the right-mouse-button menu. I can't find anything in the 1.0 documentation except in the Printing chapter. Has this been removed? I need a right-mouse-button menu for items in a Tree view. Any suggestions? -S __ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
RE: [flexcoders] Context menu
There is also an example in the Explorer using context menus. Stephen -Original Message-From: Alistair McLeod [mailto:[EMAIL PROTECTED]Sent: Thursday, May 06, 2004 11:28 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Context menuHi Steve,I can't remember seeing anything in the Beta docs, but i did start athread onthe beta forums about the context menu. Basically, Flexdoesn't give us anything over and above the MX/Flash Player 7 way ofcreating context menus.Also, there is a restriction in Flash Player 7 that means a movie clipnested withing another movie clip cannot have a context menu attached toit - since all Flex containers and components end up in the Flash playeras movie clips this effectively means that you can only add contextmenus to the top level application or to components that sit within thattop level application. I'm hoping that a future Flash Player willaddress this.However, saying that, I do know of a book coming out soon that containsand an example of a custom component that lets you easily add contextmenus to your Flex applicationsAli-- Alistair McLeodDevelopment Directoriteration::twoJoint-Author of "Developing Rich Clients with Macromedia Flex"Available June 2004 from Macromedia PressOn Thu, 2004-05-06 at 15:36, Steve Pruitt wrote: I recall the Beta documentation containing instructions on customizing the context menu, the right-mouse-button menu. I can't find anything in the 1.0 documentation except in the Printing chapter. Has this been removed? I need a right-mouse-button menu for items in a Tree view. Any suggestions? -S __ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service