title: Programmatically change Flex MenuBar item toggled property
body: <p>I have this MenuBar control in Flex 3. How can I programmatically change the toggled property to <code>false</code>?</p>
  
  <pre><code>&lt;mx:MenuBar labelField="@label" itemClick="itemClickHandler(event);" left="0" right="0" top="0" id="menuBar"&gt;
      &lt;mx:XMLList&gt;
          &lt;menuitem label="File" data="top"&gt;
              &lt;menuitem label="New" data="file-new"/&gt;
          &lt;/menuitem&gt;
          &lt;menuitem label="View" &gt;
              &lt;menuitem label="Grid" type="check" toggled="true" data="view-grid"/&gt;
          &lt;/menuitem&gt;   
      &lt;/mx:XMLList&gt;
  &lt;/mx:MenuBar&gt;
  </code></pre>