Two ways to add properties to dynamic object : Array Dimension : Array Flash / Flex / ActionScript examples


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

 

Two ways to add properties to dynamic object


 

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

        var members:Object = new Object(  );
        members["c""R";
        trace(members.c);
        members.c = "a";
        trace(members["c"]);
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Array
» Array Dimension