User Guide
1414 Web service classes (Flash Professional only)
Making web service classes available at
runtime (Flash Professional only)
In order to make the web service classes available at runtime, the WebServiceConnector
component must be in your FLA file’s library. This component contains the runtime classes
that let you work with web services. For details on adding these classes to your FLA file, see
Chapter 16, “Data Integration (Flash Professional Only),” in Using Flash.
Log class (Flash Professional only)
ActionScript Class Name mx.services.Log
The Log class is part of the mx.services package and is used with the WebService class (see
“WebService class (Flash Professional only)” on page 1437). For an overview of the classes in
the mx.data.services package, see “Web service classes (Flash Professional only)”
on page 1413.
You can create a new Log object to record activity related to a WebService object. To execute
code when messages are sent to a Log object, use the
Log.onLog() callback function. There is
no log file; the logging mechanism is whatever you have used in the
onLog() callback
function, such as sending the log messages to a
trace() statement.
The constructor for this class creates a Log object that can be passed as an optional parameter
to the WebService constructor (see “WebService class (Flash Professional only)”
on page 1437).
NOTE
These classes are automatically made available to your Flash document when you add a
WebServiceConnector component to your FLA file.