> So the personVO.as should look like this:
> package
> {
>        class PersonVO
>        {
>                public var firstName:String;
>                public var lastName:String;
>                public var phoneNumber:Number;
>                public var indicatorColor:uint;
>        }
> }
>
> Now I think I understand what you are doing, but I lost to see the benefit
> of the VO over doing it with a generic Object.

Well, from the Flex side, the reason you'd use a custom value object
instead of a generic object is for strongly typed values, compile-time
checking, and code-completion in Flash Builder. I imagine some of
those carry over to regular Flash development.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to