case 'StatusChange' :
break;
default :
trace("Error: "+error.code);
break;
}
};
var wsConn:WebServiceConnector = new WebServiceConnector();
wsConn.addEventListener("result", res);
wsConn.addEventListener("status", stat);
wsConn.WSDLURL = "http://www.flash-mx.com/mm/tips/tips.cfc?wsdl";
wsConn.operation = "getTipByProduct";
// wsConn.params = ["Flash"];
wsConn.suppressInvalidCalls = true;
wsConn.trigger();
To display a tip instead of an error, uncomment the line
WebServiceConnector.timeout
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.timeout
Description
Property; a time period, in seconds, in which the web service connection fails if results do not
come back. A
status
with the code
WebServiceFault
WebServiceConnector.trigger()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.trigger();
Description
Method; initiates a call to a web service. Each web service defines exactly what this involves. If the
operation is successful, the results of the operation will appear in the
web service.
event (inherited from the WebServiceConnector component) is emitted,
, fault code
WebServiceConnector component (Flash Professional only)
wsConn.params = ["Flash"];
.
Timeout
.
property for the
results
875
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers