title: Checkbox/RadioButton to select and deselect all checkboxes within a popup
body: <p>I have a list of check boxes that I want to be able to select and deselect them all at once, how would |I do this using a check box? </p>
  
  <p>The mxml of the check boxes I have are below:</p>
  
  <pre><code>&lt;mx:VBox&gt;
      &lt;mx:CheckBox id="newCB" label="NEW" selected="true" change="onCheckboxChange(event)" /&gt;
      &lt;mx:CheckBox id="tradeCB" label="TRADE" selected="true" change="onCheckboxChange(event)"/&gt;
      &lt;mx:CheckBox id="amendCB" label="AMEND" selected="true" change="onCheckboxChange(event)" /&gt;
      &lt;mx:CheckBox id="cancelCB" label="CANCEL" selected="true" change="onCheckboxChange(event)" /&gt;
  &lt;/mx:VBox&gt;
  </code></pre>