User Guide

900 Chapter 6: Components Dictionary
XMLConnector.results
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.results
Description
Property; identifies data that was received from the server as a result of a trigger() operation.
Each RPC component defines how this data is fetched, and what the valid types are. This data
appears when the RPC operation has successfully completed, as signaled by the
result event. It is
available until the component is unloaded, or until the next RPC operation.
It is possible for the returned data to be very large. You can manage this in two ways:
Select an appropriate movie clip, Timeline, or screen as the parent for the RPC component.
The components memory will become available for garbage collection when the parent is
destroyed.
In ActionScript, you can assign null to this property at any time.
Example
The following example traces the results property for myXMLConnector:
trace(myXMLConnector.results);
XMLConnector.send
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.addEventListener("send", myListenerObject)
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 will modify 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)