Call setPropertyIsEnumerable in dynamic object : Dynamic object : Class Flash / Flex / ActionScript examples


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

 

Call setPropertyIsEnumerable in dynamic object


 

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


        var info:Object = new Object(  );
        info.city = "Toronto";
        info.country = "Canada";
        
        
        info.setPropertyIsEnumerable("city"false);
        
        for (var detailName:* in info) {
          trace(info[detailName]);
        }
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Class
» Dynamic object