title: Flex + CheckBox + Dataprovider... quite possibly the easiest question you will answer today
body: <p>Maybe I didn't get enough sleep last night but I am encountering a bizarre Flex 3.4 issue. </p>
  
  <p>Scenario:</p>
  
  <p>I have a class that acts a dataprovider to my entire application named "DataProvider.as":</p>
  
  <pre><code>package
  {   
  public class DataProvider
  {
  
      [Bindable]
      public static var email_enable:Boolean = true;
  
  }
  }
  </code></pre>
  
  <p>In an mxml form, "Settings.mxml" I have a checkbox control which is bound to the email_enable variable of my dataprovider class:</p>
  
  <pre><code>&lt;mx:CheckBox x="452" y="170" label="{Language.loadLanguageResource('lblEmail')}"
               id="chkEmail" 
               selected="{DataProvider.email_enable}" 
               change="onChange()"/&gt;
  </code></pre>
  
  <p>All is well as far as getting the value, if I set the variable in my dataprovider to either true or false, the checkbox reflects this change; however, if I click on the checkbox and change it's value, the dataprovider variable <strong>never reflects the change</strong>!</p>
  
  <p>I have been banging my head against the wall and cannot work this out. I have googled my heart out to no avail. Please save me.</p>