RE: [flexcoders] Toggling Menu Item?

2007-04-02 Thread Alex Harui
: [flexcoders] Toggling Menu Item? Alex, using E4x from there on sounds good but I still haven't figured it out complety. Here's something similar to the XML I'm using for my menu .. private var _menuXML:XMLList = menuitem label=File

RE: [flexcoders] Toggling Menu Item?

2007-04-02 Thread Sascha
] On Behalf Of Alex Harui Sent: Monday, April 02, 2007 15:25 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Toggling Menu Item? Should be something like: dataDescriptor.setToggled(_menuXML..menuItem.(@label==Foo), false); _ From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Toggling Menu Item?

2007-04-02 Thread Alex Harui
Of Sascha Sent: Monday, April 02, 2007 1:44 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Toggling Menu Item? Thanks Alex! How do you get the condition check working? If I try to use () in the E4x I always get a ReferenceError: Error #1065: Variable @label is not defined. i.e. trace

RE: [flexcoders] Toggling Menu Item?

2007-04-01 Thread Sascha
to toggle the item to false via the dataDescriptor? Thanks a lot for your help! Sascha From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Sunday, April 01, 2007 15:50 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Toggling Menu Item

RE: [flexcoders] Toggling Menu Item?

2007-03-31 Thread Alex Harui
To: flexcoders@yahoogroups.com Subject: [flexcoders] Toggling Menu Item? Hi list, Since I cannot find any information about this anywhere else ... How do you toggle a (flex 2 ) check/radio menu item from ActionScript? Say I use an XML object to populate my MenuBar with ... private var

RE: [flexcoders] Toggling Menu Item?

2007-03-31 Thread Sascha
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Sunday, April 01, 2007 02:53 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Toggling Menu Item? The dataDescriptor has an isToggled method that is passed the data item and returns true or false. By default

RE: [flexcoders] Toggling Menu Item?

2007-03-31 Thread Alex Harui
[mailto:[EMAIL PROTECTED] On Behalf Of Sascha Sent: Saturday, March 31, 2007 10:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Toggling Menu Item? Thanks for pointing me in the right direction Alex! But how do you access the specific menu item from there on? I can't figure out how

[flexcoders] Toggling Menu Item?

2007-03-30 Thread Sascha
Hi list, Since I cannot find any information about this anywhere else . How do you toggle a (flex 2 ) check/radio menu item from ActionScript? Say I use an XML object to populate my MenuBar with . private var _menuXML:XMLList =