Create an associative array by adding properties to object : Array Dimension : Array Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Array » Array Dimension »

 

Create an associative array by adding properties to object


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var members:Object = new Object(  );
        members.s = "F";
        members.c = "G";
        members.t = "S";
        
        trace(members.t);
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Array
» Array Dimension