User Guide
1500 XMLConnector component (Flash Professional only)
Example
The following example defines a function statusFunction for the status event and assigns
the function to the
addEventListener event handler:
var statusFunction = function (stat) {
trace(stat.code);
trace(stat.data.faultcode);
trace(stat.data.faultstring);
};
xcon.addEventListener("status", statusFunction);
XMLConnector.suppressInvalidCalls
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.suppressInvalidCalls
Description
Property; indicates whether to suppress a call if parameters are invalid. If this property is true,
the
trigger() method does not perform a call if the bound parameters fail the validation. A
status event is emitted, with the code InvalidParams. If this property is false, the call
takes place, using the invalid data as required.
XMLConnector.Results.Parse.Error
received data had an
XML parsing error
NN
The received XML was not valid,
as determined by the Flash
Player built-in XML parser. To
see the possible errors NN, see
XML.status in ActionScript 2.0
Language Reference.
XMLConnector.Params.Missing
Direction is 'send' or
'send/receive', but
params are null.
FaultCode FaultString Notes