User Guide

1502 XMLConnector component (Flash Professional only)
XMLConnector.trigger()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.trigger()
Description
Method; initiates a remote procedure call by the XMLConnector component. This can be
either getting or posting to the specified XML file. If the operation is successful, the results of
the operation appear in the RPC component’s
results property.
The
trigger() method performs the following steps:
1. If any data is bound to the params property, the method executes all the bindings to ensure
that up-to-date data is available. This also causes data validation to occur.
2. If the data is not valid and suppressInvalidCalls is set to true, the operation
is discontinued.
3. If the operation continues, the send event is emitted.
4. The actual remote call is initiated using the connection method indicated (for example,
HTTP).