The display list updates automatically as the SWF file plays. If a movie clip is removed from
the SWF file at a specific frame, that movie clip, along with its variable and variable name, is
also removed from the display list in the Debugger. However, if you mark a variable for the
Watch list (see
"Using the Watch list" on page
Variables tab, but can still be viewed in the Watch tab.
To modify a variable value:
Double-click the value, and enter a new value.
The value cannot be an expression. For example, you can use
www.macromedia.com"
a string (any value surrounded by quotation marks [""]), a number, or a Boolean value (
or
).
false
To write the value of an expression to the Output panel in test mode, use the
statement. See
Using the Watch list
To monitor a set of critical variables in a manageable way, you can mark variables to appear in
the Watch list. The Watch list shows the absolute path to the variable and the value. You can
also enter a new variable value in the Watch list the same way as in the Variables tab. The
Watch list can show only variables and properties that you can access by using an absolute
target path, such as
_global
, and you cannot use
"Using the trace statement" on page
or
.
_root
717), the variable is removed from the
"Hello"
or
x + 2
eval("name:" +i)
728.
,
, or
3523
"http://
. The value can be
trace
Debugging your scripts
true
717
Need help?
Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?