title: How can I access selected items in Adobe Air using the Spinner List?
body: <p>I am learning Adobe Air and want to get the current selected item in the spinner list I have created, however every time I use <em>selectedItem</em> I keep getting the same value over and over, no matter what option I select. I am trying to make an application for the Playbook and this this my SpinnerList code:</p>
  
  <pre><code>&lt;s:SpinnerListContainer x="10" y="279" width="325" height="266"&gt;
      &lt;s:SpinnerList width="69" height="100%" enabled="true" labelField="data" selectedIndex="1" id="From"&gt;
          &lt;s:ArrayList&gt;
              &lt;fx:Object data="Time"&gt;&lt;/fx:Object&gt;
              &lt;fx:Object data="KM"&gt;&lt;/fx:Object&gt;
              &lt;fx:Object data="Miles"&gt;&lt;/fx:Object&gt;
          &lt;/s:ArrayList&gt;
      &lt;/s:SpinnerList&gt;
  &lt;/s:SpinnerListContainer&gt;
  </code></pre>
  
  <p>No matter what, 'KM' is always shows as the selected item when it is not. This is what I have in the script tags:</p>
  
  <pre><code>var selected = From.selectedItem;
  </code></pre>
  
  <p>How can I fix this? 
  Thank you</p>