ssDebug.trace

Displays a message in the SWF Studio Trace tab.


Availability:

First available in version 3.0 build 2039.


Parameters:

text - String - Text that should appear in SWF Studio's Trace tab.

color - String - [Optional] - A color in #rrggbb format that will be applied to the text sent to the Trace tab. This makes is easier to differentiate between difference ssDebug.trace messages. Values set in the Trace tab override this value.


Notes:

None.


Examples:

ssDebug.trace("This is a debug message.");

// make this message red
ssDebug.trace("This is an important debug message.", "#ff0000");