ActionScript 2.0 Components Language Reference |
|
|
|
| XMLConnector component > XMLConnector.result | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
componentInstance.addEventListener("result",myListenerObject)
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.
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);
|
|
|
|