I want to have an ActionScript file defining all my RPC services, and
this will be included by everybody would need to perform RPC calls..

How can I fully define an AbstractService just using ActionScript? For
example, say for RemoteObject, I want to define its methods and their
own result/fault handlers, purely by using ActionScript.

I know this is possible in MXML, via <mx:method> but I wonder if there's
an equivalent for this in ActionScript.

The reason for this is I want to separate the service layer from the
presentation layer at the Flex client level, so I do not want to have
MXML tags for my RPC services spread all over the code (I want to have
some sort of an AS service factory class having all of these)

Thanks.


Reply via email to