Hi,
I am trying to use a for in loop to access instance properties in AS3
but it isn't finding any.... so I have a value object
public class VO {
public var foo : String ;
}
then if I pass an instance of this and try and access it's
properties....
for ( var prop : String in myVO ) {
trace ( prop + " = " + myVO[ prop ] ) ;
}
... it finds nothing. but if i do this...
trace ( myVO.foo ) ;
... it will output the value no problem.
Is there some way of marking instance properties as enumerable?
Thanks in advance for any help.... it is driving me nuts :(
cheers, Al
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/