XMLConnector.params
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.params
Description
Property; specifies data that will be sent to the server when the next
executed. Each RPC component defines how this data is used, and what the valid types are.
Example
The following example defines
myXMLConnector.params = new XML("<mydoc><name>Bob</name><city>Oakland</city></
mydoc>");
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:
•
: the string
type
•
: a reference to the object that emitted the event (for example, a
target
WebServiceConnector component)
You can retrieve the actual result value using the
Example
The following example defines a function
the
addEventListener
var res = function (ev) {
trace(ev.target.results);
};
xcon.addEventListener("result", res);
and
name
"result"
event handler:
parameters for
city
myXMLConnector
property.
results
for the
event and assigns the function to
res
result
XMLConnector component (Flash Professional only)
operation is
trigger()
:
899
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?