How do you retrieve object property names?

for example, i create an object
var obj:Object = new Object();
obj["id"]=000;
obj["phone"] = 0202020;
obj["name"] = "john smith";
.... and so on.

How would i retrieve the property name of obj so that i would get an 
array holding these properties.
i.e [id,phone,name,....]

Reply via email to