Brilliant. Thanks Joseph. Will give it a try.
_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joseph wamicha Sent: 26 March 2007 18:11 To: [email protected] Subject: Re: [Red5] Return types from a server side application Hi, You can return a Map of a map of objects (so it becomes 2 dimensional like a database table). This is very powerful. There's a very good example in the oflaDemo DemoService.java file for getListOfAvailableFLVs function. On 3/26/07, nik goile <[EMAIL PROTECTED]> wrote: Hi guys, I'm new to Red5, so please excuse me if this is a really dull question! I'm also a newbie to Java. Are there restrictions on what types of data you can return to a call to the server? I've been playing about and have got my application working fine when a function is called on it by a flash movie and the return is an "int" or String. But when I tried returning an ArrayList I just don't get back anything. Not even an error. I was hoping it would just come back to Flash as an object. Is there another data type I can use to pass back more sophisticated data than just strings and numbers? At the moment I'm having to write out my array into a delimited string to return which is a pain considering I can just pass arrays and objects etc fine in FMS. Thanks in advance. Cheers, nik _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org -- C is forever.
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
