title: How can add element to array in AS3?
body: <p>How can add element to array in ActionScript3</p>
  
  <p>If i have an array:</p>
  
  <pre><code>var myArray:Array;
  </code></pre>
  
  <p>How can add element to this array "myArray", something like this: </p>
  
  <pre><code>myArray[] = value;
  </code></pre>
  
  <p><strong>My second question is: How can compare if variable value exist in array element value?</strong></p>
  
  <p>Something like <code>in_array</code> function in php</p>