Yeah, I tried that - it returns "Object".
--- In [email protected], "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> See: flash.utils.getQualifiedClassName()
>
> http://livedocs.adobe.com/flex/2/langref/flash/utils/package.html#getQua
> lifiedClassName()
>
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Libby
> Sent: Monday, August 27, 2007 8:50 AM
> To: [email protected]
> Subject: [flexcoders] Remote Objects - a reflective way to determine
> class?
>
> Does anyone know of a technique to determine the true class of an object
> returned via remoting when Flex only knows it as an Object? I have tried
> if(Object is ClassName) and if(Object instanceOf
> ClassName) and also tried various casting combinations but so far I
> cannot determine what my returned Object is without parsing it to look
> for a specific field - not very object-oriented : (
>
> Thanks,
> Libby
>
>
>
> --
> 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
>