title: Auto-Complete TextInput - Match Beginning of String Only
body: <p>My question concerns the following tutorial I've been working through:</p>
  
  <p><a href="http://www.packtpub.com/article/building-a-flex-type-ahead-text-input" rel="nofollow">Building a Flex Type-Ahead Text Input</a></p>
  
  <p>I was successful in enabling a search of available terms using the characters entered in the input, but only irrespective of the location of the characters in the terms.  However, I am wondering how one might have the characters match only the beginning of the terms.</p>
  
  <p>For example, suppose I enter the string "<em>app</em>" into the text input.  How can I get only "<em>apple</em>" and not, for instance, "<em>pineapple</em>" to appear as an option?</p>