all groups > macromedia flash flash remoting > march 2004 >
You're in the

macromedia flash flash remoting

group:

flashgateway API ?


flashgateway API ? alan_leung
3/24/2004 10:57:37 AM
macromedia flash flash remoting:
hi,

I would like to ask is there any API that i can know whcih method i can use in
flashgateway by using java? from the documentation for flash remoting, i only
know i can use get(), put() and getType() for ASObject class ... thx a billion.

alan.
Re: flashgateway API ? sullis
3/26/2004 9:54:51 PM
Re: flashgateway API ? Pete
4/9/2004 12:50:04 AM
ActionScript objects end up as flashgateway.io.ASObject instances on the
server, which are just an extension of java.lang.HashMap. If you typed the
object in the client using Object.registerClass, then the class name
registered will be the result of the getType() method on the server. You can
use this information to create a new instance of that class using
Class.forName etc...

FYI, in Macromedia Flex, we took this further and in "Flex" Serialization
Mode with Flash Remoting, we added the automatic creation of datatypes based
on bean logic and typing information from the client. This is similar to
ASTranslator which you may want to investigate for normal Flash Remoting MX.



[quoted text, click to view]

AddThis Social Bookmark Button