Re: [flexcoders] Looping Properties on User-Defined Classes | for..in Does Not Work

2009-01-07 Thread Josh McDonald
ObjectUtil.getClassInfo(myObj).properties -Josh On Thu, Jan 8, 2009 at 4:31 PM, Nate Beck wrote: > As far as I know... which is pretty much the quote from the documentation > you posted there. You cannot unless you're dynamically adding properties to > the object. > I do know, however, that i

Re: [flexcoders] Looping Properties on User-Defined Classes | for..in Does Not Work

2009-01-07 Thread Nate Beck
As far as I know... which is pretty much the quote from the documentation you posted there. You cannot unless you're dynamically adding properties to the object. I do know, however, that if your class extends flash.utils.Proxy, you can setup an iterator by overriding the nextName, nextNameIndex,

[flexcoders] Looping Properties on User-Defined Classes | for..in Does Not Work

2009-01-07 Thread p smith
Does ActionScript have any statements/operators that support looping the properties of user-defined classes? for..in works on looping basic objects. However, in the docs, the Looping page for "Programming ActionScript 3.0" says: What you cannot do is iterate through the properties of an objec