title: Actionscript 3: Check an array for a match
body: <p>If you have an array with six numbers, say:</p>
  
  <pre><code>public var check:Array = new Array[10,12,5,11,9,4];
  </code></pre>
  
  <p>or </p>
  
  <pre><code>public var check:Array = new Array[10,10,5,11,9,4];
  </code></pre>
  
  <p>How do you check for a match (of a pair?)</p>