Adding Values to an Array : Array Index : Array Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Array » Array Index »

 

Adding Values to an Array


 

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


        var aEmployees:Array = new Array(4);
        aEmployees[0"A";
        aEmployees[1"P";
        aEmployees[2"C";
        aEmployees[3"H";
        trace(aEmployees.toString());
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Array
» Array Index