Webserviceconnector.status - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Description
Event; broadcast during the processing of a
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 modifies the parameter data before the call.
The parameter to the event handler is an object with the following fields:
: the string
type
"send"
: a reference to the object that emitted the event (for example, a
target
WebServiceConnector component)
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];
};
wsc.addEventListener("send", sendFunction);

WebServiceConnector.status

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.addEventListener("status", myListenerObject)
Description
Event; broadcast when a call to a web service 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
"status"
: a reference to the object that emitted the event (for example, a
target
WebServiceConnector component)
: a string giving the name of the condition that occurred
code
: an object whose contents depend on the code
data
1458
WebServiceConnector component (Flash Professional only)
operation, after the parameter data has
trigger()
sendFunction
event handler:
property.
params
for the
event and assigns the
send

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents