title: Pass arguments from an array to an Actionscript method with ...(rest) argument
body: <p>my question is the Flex transposition of this question : </p>
  
  <p><a href="https://stackoverflow.com/questions/2925153/can-i-pass-an-array-as-arguments-to-a-method-with-variable-arguments-in-java">Can I pass an array as arguments to a method with variable arguments in Java?</a></p>
  
  <p>That is, I have an Array in some Actionscript code and i need to pass every object indexed in the array into a method <code>method(...arguments)</code>.</p>
  
  <p>Some code to make it clear:</p>
  
  <pre><code>private function mainMethod():void{
      var myArray:Array = new Array("1", "2", "3");
      // Call calledMethod and give it "1", "2" and "3" as arguments
  }
  
  private function calledMethod(...arguments):void{
      for each (argument:Object in arguments)
          trace(argument);
  }
  </code></pre>
  
  <p>Is there some way to do what the comment suggests?</p>