User Guide

1498 XMLConnector component (Flash Professional only)
Description
Event; broadcast when the trigger() operation is in process, after the parameter data has
been gathered but before the data is validated and the remote procedure call is initiated. This
is a good place to put code that modifies the parameter data before the call.
The parameter to the event handler is an object with the following fields:
type: the string "send"
target: a reference to the object that emitted the event (for example, a
WebServiceConnector component)
You can retrieve or modify the actual parameter values by using the
params property.
Example
The following example defines a function sendFunction for the send event and assigns the
function to the
addEventListener event handler:
var sendFunction = function (sendEnv) {
sendEnv.target.params = [newParam_txt.text];
};
xcon.addEventListener("send", sendFunction);
XMLConnector.status
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.addEventListener("status", myListenerObject)
Description
Event; broadcast when a remote procedure call is initiated, to inform the user of the status of
the operation.
The parameter to the event handler is an object with the following fields:
type: the string "status"
target: a reference to the object that emitted the event (for example, a
WebServiceConnector component)
code: a string giving the name of the specific condition that occurred
data: an object whose contents depend on the code