2 Replies Latest reply on Sep 18, 2007 6:18 AM by Robert_Csiki

    How to fully configure an AbstractService in ActionScript?

      How can I define fully define an AbstractService just using ActionScript? For example, say for RemoteObject, I want to define its operations and their result/fault handlers, purely by using ActionScript.
      I do not want to use the <mx:RemoteObject> tag which allows me to use <mx:method> children with their "result' and "fault' attributes for defining the methods. Is it possible to do all of these just by using 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)