Trace

Although Flash Builder provides powerful debugging controls, it is often useful to print something to the console. Flash provides a simple method called trace that will help you do just that.

The following prints Hello World to the console:

trace("Hello World");

The following prints numbers from 0 to 99:

for ( var i:int=0; i<100; i++ )
trace("Value of i: " + i);
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.227.194