User Guide

1496 XMLConnector component (Flash Professional only)
Description
Property; specifies data that will be sent to the server when the next trigger() operation is
executed. Each RPC component defines how this data is used, and what the valid types are.
Example
The following example defines name and city parameters for myXMLConnector:
myXMLConnector.params = new XML("<mydoc><name>Bob</name><city>Oakland</
city></mydoc>");
XMLConnector.result
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.addEventListener("result", myListenerObject)
Description
Event; broadcast when a remote procedure call completes successfully.
The parameter to the event handler is an object with the following fields:
type: the string "result"
target: a reference to the object that emitted the event (for example, a
WebServiceConnector component)
You can retrieve the actual result value using the
results property.
Example
The following example defines a function res for the result event and assigns the function
to the
addEventListener event handler:
var res = function (ev) {
trace(ev.target.results);
};
xcon.addEventListener("result", res);