just

public var PRODUCT_SHEET: ArrayCollection;

There are no 'typed' arrays in AS.  Also note, you can make your class
bindable thereby making all members bindable like this

[Bindable]
public class ProductBeanVO implements IValueObject, Comparable {

}


DK
On 3/12/07, ajudah987 <[EMAIL PROTECTED]> wrote:

I am defining a ValueObject that contains strings, numbers and an
ArrayCollection of another Value Object. That VO contains 3 strings.

How do I do this in actionscript?

Here is my attempt. Appreciate if anyone can point me in the right
direction. When i do the below it states that my ProductSheet is not
an array


package com.red.store.vo
{
        import com.adobe.cairngorm.vo.IValueObject;
        import com.red.store.util.Comparable;
        import com.red.store.vo.ProductSheetVO;
        import mx.collections.ArrayCollection;

        public class ProductBeanVO implements IValueObject,
Comparable
        {
                [Bindable]
                public var PRODUCT_DESCRIPTIONS_ID: Number;
                [Bindable]
                public var PRODUCT_OWNER_ID: Number;
                [Bindable]
                public var STYLE_NUMBER: String;
                [Bindable]
                public var DESCRIPTIONS: String;
                [Bindable]
                public var PRODUCT_SHEET: ArrayCollection = new
ArrayCollection(ProductSheetVO);
        }
}
Thanks for any assistance.




--
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






--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?

Reply via email to