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]); } } } }