Navigate to errors in code, Debugging text field objects – Adobe Flash Professional CC 2014 v.13.0 User Manual
Page 650
img_mcl.addListener(mclListener);
img_mcl.loadClip("http://www.helpexamples.com/flash/images/404.jpg", img_mc);
2. Select Control > Test to test the SWF file.
The Output panel displays the results of the trace() statement. For example, the panel might display the following message:
Output panel
Navigate to errors in code
When Flash encounters an error in ActionScript code, either during compiling or execution, it reports the error in the Compiler Errors panel. From
the Compiler Errors panel, you can navigate to the line of code that caused the error.
Double click the error in the Compiler Errors panel.
Debugging text field objects
To obtain debugging information about TextField objects, you can use the Debug > List Variables command or the Debug > List Objects command
in the test environment. When you use Debug > List Variables, the Output panel uses the following conventions to show TextField properties:
No more than four properties appear on a line.
A property with a string value appears on a separate line.
Color properties appear as hexadecimal numbers (0x00FF00).
The properties appear in the following order: variable, text, htmlText, html, textWidth, textHeight, maxChars, borderColor, backgroundColor,
textColor, border, background, wordWrap, password, multiline, selectable, scroll, hscroll, maxscroll, maxhscroll, bottomScroll, type,
embedFonts, restrict, length, tabIndex, autoSize.
The Debug > List Objects command lists TextField objects. If an instance name is specified for a text field, the Output panel shows the full
target path including the instance name in the following form:
Target = "target path"
643