--- In [email protected], Sceneshift <j...@...> wrote: > > > Hey guys, > > I'm a little confused over how to get myself from WebOrb PHP into a VO in my > Flex application. I am getting my result sent to me from my php script which > is returned as an object, and I'm trying to set this result as a value > object like so: > > var testVO:TestVO = e.result as TestVO; > > This isn't working, which confuses me. Do I have to run through each result > in order to type it accordingly? I thought one of the benefits of remoting > was that we didn't need to type our results?
You shouldn't have to cast it--it should come back already as that type. If it isn't already that type, check out these links: http://flexdiary.blogspot.com/2008/11/thoughts-on-remoting.html http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file- posted.html The latter link includes both the php and Flex side of a working remote class. HTH; Amy

