title: How to programatically select an item in a Flex List after dataProvider is updated?
body: <p>As I am somewhat new to Flex I may be missing something fundamental here.  I have a Spark List container whose dataProvider is bound to a result set coming back from a RemoteObject call.  Pretty standard stuff.  </p>
  
  <pre><code>&lt;s:List id="list" dataProvider="{model.stuff}" width="100%" height="100%"
          selectedIndex="@{selectedSlider.value}"
          itemRenderer="{stuffRenderer}"&gt;
  
  &lt;/s:List&gt;
  </code></pre>
  
  <p>The selectedIndex is associated with an HSlider, but that is not the problem.  My issue is that I would like to automatically select a certain "preferred" element from the list (only initially...to guide the user).</p>
  
  <p>I tried to do that in a creationComplete event but my data hadn't shown up yet...setting <code>selectedIndex</code> didn't work...it was too early.  </p>
  
  <p>What's the right way to do this?</p>