53
CHAPTER 3
Using the RemotingConnector component
(Flash Professional only)
The RemotingConnector component, along with the WebServiceConnector component and the
XMLConnector component, implements the Remote Procedure Call (RPC) Component API,
which is a set of methods, properties, and events that define an easy way to send parameters to,
and receive results from, an external data source.
The RemotingConnector component enables you to access any remote service and function
exposed by Flash Remoting and to interactively create data bindings that update component
properties in your application. The most common applications of data binding are to gather
input parameters from various UI components to send to a service function and to display the
results of a service function call.
You can find the RemotingConnector component under the Data Components section of the
Components panel, as shown in the following example:
Typically, a remote service function accepts parameters and returns a result. Using Flash MX
Professional 2004 and the RemotingConnector component, you can both connect to a remote
service
and
bind the result of a remote service function to the properties of a UI component.
Note:
A single instance of the RemotingConnector component allows you to make multiple calls to a
single remote method. To call a different remote method, you must create a different instance of the
RemotingConnector component.