Webservice.onload - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

WebService.onLoad

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
myService.onLoad = function(wsdlDocument)
{
// Your code here.
}
Parameters
The WSDL XML document.
wsdlDocument
Returns
Nothing.
Description
Callback function; called by Flash Player when the WebService object has successfully loaded
and parsed its WSDL file. If operations are invoked in an application before this callback
function is called, they are queued internally and not actually transmitted until the WSDL
has loaded.
Example
The following example specifies the WSDL URL, creates a new web service object, and
receives the WSDL document after loading.
// Specify the WSDL URL.
var wsdlURI = "http://www.flash-db.com/services/ws/companyInfo.wsdl";
// Creates a new web service object.
stockService = new WebService(wsdlURI);
// Receives the WSDL document after loading.
stockService.onLoad = function(wsdlDocument);
{
// Code to execute when the WSDL loading is complete and the
// object has been created.
}
WebService.onLoad
1447

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents