mApplication.trace()

Availability

Windows: Flash 8 or 9 AS2.0 SWF + mProjector 3.0; Windows 98/ME/NT Support: Flash 7 SWF + mProjector 2.0;

Macintosh: Flash 8 or 9 AS2.0 SWF + mProjector 1.0;

Usage

mApplication.trace(text:String) : Void

Parameters

text - Text string.

Returns

Nothing.

Description

Method; Displays the specified text string in the trace viewer. This method can be used to assist with debugging complex applications.

Example

The following example displays the application folder in the trace viewer.

mApplication.trace("Projector Folder = "+mApplication.getFolder());

See Also

mApplication.enableAutoTrace(), mWindow.setTraceColor()

Code Examples

Application Basics, mProjector Class Basics