: [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
] 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
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
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
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
: 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
[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
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 =
8 matches
Mail list logo