In the following ActionScript example, calling the useRemoteObject() method declares the service, sets the destination, sets up result and fault event listeners, and calls the service's getList() method.
In the following ActionScript example, calling the useRemoteObject() method declares the service, sets the destination, sets up result and fault event listeners, and calls the service's getList() method.