A list of parameters, each of which is a new value to insert into a new element in the array : Array Declaration : Array Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Array » Array Declaration »

 

A list of parameters, each of which is a new value to insert into a new element in the array


 


package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){

        // Create a new array with zero elements.
        var aEmployees:Array = new Array("A""P""C","H");
        
        trace(aEmployees);
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Array
» Array Declaration