User Guide
WebServiceConnector component (Flash Professional only) 871
WebServiceConnector.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 WebServiceConnector 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
WebServiceConnector component. The component’s storage memory will become available
for garbage collection when the parent is destroyed.
• In ActionScript, you can assign null to this property at any time.
WebServiceConnector.send
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.addEventListener("send", myListenerObject)
Description
Event; broadcast during the processing of a trigger() operation, after the parameter data has
been gathered but before the data is validated and the call to the web service 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)
You can retrieve or modify the actual parameter values by using the
params property.