Saturday, February 26, 2011

How to display a message to the console:

To display a message to the console or flash log file, we pass a string to the method trace.

Example:

trace("hello world!");
trace("my name is thong.");

the code above will display to the console:
hello world!
my name is thong.


No comments:

Post a Comment