« Return to Thread: Sending objects from .net to flex

Re: Sending objects from .net to flex

by Support-179 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View in Thread

Hi,
 
Check that you have correct class mapping (use RemoteClass(alias=" ") tag if necessary )
Any public property and field will be transferred (in both directions)
 
Check out one of the samples in the FluorineFx installation (for example [FluorineFx InstallDir]\Samples\Flex\Remoting\ArrayCollection) to see how class mapping works.

Zoli
 

From: fluorine-bounces@... [mailto:fluorine-bounces@...] On Behalf Of Arsenico Neckebroeck
Sent: Thursday, April 16, 2009 5:05 PM
To: fluorine@...
Subject: [Fluorine] Sending objects from .net to flex

Hi there,

I'm a student from Belgium and as thesis i am writing a browser game in Flex with underlaying .net technology. I discoverd the Fluorine Fx tool and i like the possibilities of it.
I am new to flex but have some experience with .net.
Now i started programming, I encountered some problems and I hope some of you can help me.

I think this problem has a rather simple answer. I have an existing project in wich i am transferring user data from flex tio .net.
Everything works great in this project. Now i am having a problem when i try to send a User object from .net to flex.
I am getting the result object with the data inside it, like the username etc.
Now how do I cast this to a User? I have tried different things but my user is always null.

I also have some additional questions:

- What are the specific things i need to pay attention to, when transferring objects?
- Is it normal that when i try to transfer a password string, it doesn't get transferred?
- Does anyone know more about when we may expect the 1.1 version?

Greetings from Belgium,

Arsenico

_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

 « Return to Thread: Sending objects from .net to flex