![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
When you use the trace
statement in a script, you can send information to the Output panel. For example, while testing a movie or scene, you can send specific programming notes to the panel or have specific results appear when a button is pressed or a frame is played. The trace
statement is similar to the JavaScript alert
statement.
When you use the trace
statement in a script, you can use expressions as parameters. The value of an expression is displayed in the Output panel in test mode, as shown here:
The trace
statement returns values that appear in the Output panel.
onClipEvent(enterFrame){ trace("onClipEvent enterFrame " + enterFrame++) }
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |