MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 843

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

Advertisement

Callback summary for the Log object
The following table lists the callback of the Log object.
Callback
Log.onLog()
Constructor for the Log class
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myWebSrvcLog = new Log([logLevel] [, logName]);
Parameters
A level to indicate the category of information you want to record in the log. Three
logLevel
log levels are available:
Log.BRIEF
default value.
Log.VERBOSE
Log.DEBUG
Optional name that is included with each log message. If you are using multiple Log
logName
objects, you can use the log name to determine which log recorded a given message.
Returns
Nothing.
Description
Constructor; creates a Log object. After you create the Log object, you can pass it to a web service
to get messages.
Example
You can call the
// creates a new log object
myWebSrvcLog = new Log();
myWebSrvcLog.onLog = function(txt)
{
myTrace(txt)
}
You then pass this Log object as a parameter to the WebService constructor:
myWebSrvc = new WebService("http://www.myco.com/info.wsdl", myWebSrvcLog);
Description
Called by Flash Player when a log message is sent to a log file.
The log records primary life-cycle event and error notifications. This is the
The log records all life-cycle event and error notifications.
The log records metrics and fine-grained events and errors.
constructor to return a Log object to pass to your web service:
new Log
Web service classes (Flash Professional only)
843

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?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents