flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Flex complains about data type
Date Fri, 05 Dec 2014 22:17:40 GMT


On 12/5/14, 12:48 PM, "mark goldin" <markzolotoy@gmail.com> wrote:

>I am receiving some data from the server.
>Charles shows that Response's body is as of type .........ReportResults
>but in code I see that result is as of type ObjectProxy and I cannot cast
>it into ReportResults.
>That code worked before, what exactly went wrong?

The package names have to match exactly, otherwise you’ll get ObjectProxy.

Also, if your app has modules, if the module holds the data class and the
main app holds the RemoteObject instance, the underlying NetConnection may
not know about the data class as it is in a child ApplicationDomain.


-Alex

Mime
View raw message