title: moving multiple symbols across stage as3
body: <p>I am working on a simple video game in which I need to move 50+ symbols across the stage with the same speed. I would like to use a single as3 command with which I can target all symbols at the same time. Currently I have added the symbols one by one:</p>
  
  <p>Code snippets for moving symbols to the right:</p>
  
  <pre><code>stage.addEventListener(KeyboardEvent.KEY_DOWN, fl_SetKeyPressed_3);
  stage.addEventListener(KeyboardEvent.KEY_UP, fl_UnsetKeyPressed_3);
  
   function fl_MoveInDirectionOfKey_3(event:Event)
  {
      if  (rightPressed) {
          mc1.x = 5;
          mc2.x = 5;
          mc3.x = 5;
          mc4.x = 5; 
          and so on....,
  }
  </code></pre>
  
  <p>What can I do to apply the function to all mc symbols in one go?</p>
  
  <p>Thank you!</p>