MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 901

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

You can retrieve or modify the actual parameter values by using the
Example
The following example defines a function
function to the
addEventListener
var sendFunction = function (sendEnv) {
sendEnv.target.params = [newParam_txt.text];
};
xcon.addEventListener("send", sendFunction);
XMLConnector.status
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.addEventListener("status", myListenerObject)
Description
Event; broadcast when a remote procedure call is initiated, to inform the user of the status of the
operation.
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)
: a string giving the name of the specific condition that occurred
code
: an object whose contents depend on the code
data
The code field for the status event is set to Fault if problems occur with the call, as follows:
Code
Fault
event handler:
"status"
Data
{faultcode: code,
faultstring: string,
detail: detail,
element: element,
faultactor: actor}
for the
sendFunction
Description
This event is emitted if other
problems occur during the
processing of the call. The data is a
SOAPFault object. After this event
occurs, the attempted call is
considered complete, and there is no
result
XMLConnector component (Flash Professional only)
property.
params
event and assigns the
send
or
event.
send
901

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents