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:

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);