Using Dynamic Instance Variables to Create Lookup Tables : Dynamic object : Class Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Class » Dynamic object »

 

Using Dynamic Instance Variables to Create Lookup Tables


 


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

        var meal:Object = new Object(  );
        meal.t  = "t";
        meal.b = "b";
        meal.c    = "c";
        
        trace(meal)//[object Object]

    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Class
» Dynamic object