[flexcoders] Exchanging custom objects between Flex & .NET

2005-08-03 Thread priya s
Hi all,  I m trying to return a custom object from .NET to Flex. It s returning Nothing. But I m able to send the same custom object from Flex to .NET.   1) The addTitle method, in which I am passing a custom object from Flex to .NET is working fine. 2) In GetTitle method, where I am returning a

Re: [flexcoders] Exchanging custom objects between Flex & .NET

2005-08-03 Thread superabe superabe
Hmm AFAIK, you cannot return a custom class from .Net back to Flex like that (yet)..I could be wrong here so if somebody knows otherwise...please do tell :-) Try this instead : //= public ASObject getEmployee(string au_id) { conn = new SqlConnection("data source=dt1305-priyanka\\net

Re: [flexcoders] Exchanging custom objects between Flex & .NET

2005-08-03 Thread superabe superabe
sorry typo (or cut'n'pasto) === ASObject title = title.ASType = "RemoteTest.Title" new ASObject(); === SHOULD BE ASObject title = new ASObject(); title.ASType = "RemoteTest.Title" - superabe On 8/3/05, superabe superabe <[EMAIL PROTECTED]> wrote: > Hmm AFAIK, you cannot return a custom cl

Re: [flexcoders] Exchanging custom objects between Flex & .NET

2005-08-04 Thread priya s
Hi,  Using ASObject I m able to exchange data from .NET to Flex. But I have 2 questions :   1) Will there be any changes required, when migrating to future versions of Flex, as in Flex 2.0, which is going to support .NET? Can we still retain ASObject or should we change them to Custom classes. 2