[flexcoders] Value Object inside Value Object?

2006-10-19 Thread Dan
Hi, does anyone know besides primitive type, is it possible to have a value object as an element of another value object? Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] Value Object inside Value Object?

2006-10-19 Thread Thomas Rühl
Hi, yeah, sure... why not...? In your first VO: public var aString : String; public var anotherVO : anotherVO; In your second VO: public var anotherString : String; To use it: var localVO = new VO(); localVO.aString = 'foo 1'; var localOtherVO = new anotherVO(); localAnotherVO.anotherString