Displaying movie clip properties and changing editable properties
The Debugger's Properties tab displays all the property values of any movie clip on the Stage. You
can change a value and see its effect in the SWF file while it runs. Some movie clip properties are
read-only and cannot be changed.
To display a movie clip's properties in the Debugger:
Select a movie clip from the display list.
1
Click the Properties tab in the Debugger.
2
To modify a property value:
•
Double-click the value, and enter a new value.
The value cannot be an expression. For example, you can enter
cannot enter
x + 50
number, or a Boolean value (
{id: "rogue"}
For more information, see
values in expressions" on page
Note: To write the value of an expression to the Output panel in test mode, use the
See
"Using the trace statement" on page
Setting and removing breakpoints
A breakpoint lets you stop a SWF file running in Flash Player at a specific line of ActionScript.
You can use breakpoints to test possible trouble spots in your code. For example, if you've written
a set of
if..else if
breakpoint before the statements and step through them one by one in the Debugger.
74
Chapter 3: Writing and Debugging Scripts
. The value can be a string (any value surrounded by quotation marks), a
or
true
false
or
) in the Debugger.
[1, 2, 3]
"String operators" on page 46
45.
statements and can't determine which one is executing, you can add a
). You can't enter object or array values (for example,
and
"Using operators to manipulate
79.
or
, but you
50
"clearwater"
trace
statement.
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers