All,

I am having some difficulty getting custom value objects to be passed to Flash from Red5 and passed to Red5 to be passed back to all the current clients.

We are using the ARP framework for our application, so I am adding the value object to the ValueObjects.as file.

In the case of the User objects that I am passing from Red5 to Flash, they are all inside an Array (for Java it's a List<User>), but the mapping does not seem to hold up. I try to u.getId () and retrieve undefined, but u.id returns the user's id. Currently I am just looping over the Array from Red5 and recreating the User objects.

In a specific area of the application I am sending a Question value object to Red5 so that it may forward it on to all the connected clients. When Red5 receives the object it does not see it as the Question class and fails to invoke the method.

When we used OpenAMF on our projects I basically knew all the things necessary to make sure value objects got passed correctly.

Can someone put together a check list for both the Red5 and Flash sides of the equation so that I can do some due dilligence. I am pretty sure that I am doing something wrong, but I can't figure out what it might be.

Leif

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to