Hi Marcelo, > as I mostly return recordsets from the server (I use AMFPHP), I often > typecast the ResultEvent.result to RecordSet (as its often contains an > array) - where would be the best place to typecast the objects to its > corresponding Value Object? You shouldn't have to do any data massaging if you use the latest Amfphp. It now supports Value Objects (VOs) in a very simple manner (just specify the folder containing your VOs and it will take care of the rest.) The Arp SVN tree has an example with the pre-release version of Amfphp that demonstrates this also but the actual method has changed in the final release so make sure you read the docs on that. > I want to store these objects in the ModelLocator, until here, nice, I > just have to use setModel(), but what about the bindings - what if I > would need to bind only an Array´s (Recordset stored in the > ModelLocator) object´s property (such as UserName) to a textfield.text > property? I could not find a way... I'll let Christophe handle that one as I haven't had a chance to use his ModelLocator yet.
hth, Aral _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
