Adobe FLASH CS3 PRO User Manual page 418

Hide thumbs Also See for FLASH CS3 PRO:
Table of Contents

Advertisement

• Show Additional Hexadecimal Display adds hexadecimal values wherever decimal values are displayed. This is
mainly useful for color values. Hexadecimal values are not displayed for decimal values from 0 through 9.
• Show Qualified Names displays variables types with both the package name and the class name.
Expand the tree view of the object structure of the FLA until you see the variable to view.
2
Edit the value of a variable
In the Variables panel, double click on the value of the variable.
1
2
Enter the new value for the variable and press Enter. The new value is used during subsequent code execution.
Control compiler warnings
Control the types of compiler warnings that the ActionScript compiler generates in the Compiler Errors panel. When
the compiler reports an error, double click the error to navigate to the line of code that caused the error.
Select File > Publish Settings.
1
2
Click Flash.
Click the ActionScript Settings button.
3
Select among the Errors options:
4
• Strict Mode reports warnings as errors, which means that compilation will not succeed if those errors exist.
• Warnings Mode reports extra warnings that are useful for discovering incompatibilities when updating Action-
Script 2.0 code to ActionScript 3.0.
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. Navigate to the line of code that caused the error from the Compiler Errors panel.
Double click the error in the Compiler Errors panel.
Debug a remote ActionScript 3.0 SWF file
With ActionScript 3.0, you can debug a remote SWF file by using the stand-alone, ActiveX, or plug-in version of the
Debug Flash Player, which you can find in the Flash install directory/Players/Debug/ directory. However, in the
ActionScript 3.0 Debugger, remote debugging is limited to files located on the same localhost as the Flash authoring
application, being played in the stand alone debug player, ActiveX control, or plugin.
To permit remote debugging of the file, enable debugging in the Publish settings. You can also publish your file with
a debugging password to ensure that only trusted users can debug it.
As in JavaScript or HTML, users can view client-side variables in ActionScript. To store variables securely, send them
to a server-side application instead of storing them in your file. However, as a developer, you may have other trade
secrets, such as movie clip structures, that you do not want to reveal. You can use a debugging password to protect
your work.
Enable remote debugging of a SWF file and set a debugging password
In ActionScript 3.0 FLA files, code in frame scripts cannot be debugged. Only code in external AS files can be
debugged with the ActionScript 3.0 Debugger.
Open the FLA file.
1
FLASH CS3
412
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash cs3 professional

Table of Contents