title: Date difference between two dates in Adobe Air
body: <p>How to compare the days(int) difference between two dates chosen by user, via DateChooser component in Adobe Air Desktop application using Flex builder 4.5 ?</p>
  
  <pre><code>import mx.controls.DateChooser;
  import mx.controls.Text;
  private var date1:String;
  date1 = date_from.text; //giving error 1120:Access of undefined property date_form
  </code></pre>