Example
The following code could be applied to a button that, when clicked, would toggle anti-
aliasing on and off:
on(release) {
toggleHighQuality();
}
See also
_quality property
trace function
trace(expression:Object)
You can use Flash Debug Player to capture output from the
output to the log file.
Statement; evaluates the expression and displays the result in the Output panel in test mode.
Use this statement to record programming notes or to display messages in the Output panel
while testing a SWF file. Use the
or to display values in the Output panel. The
function in JavaScript.
You can use the Omit Trace Actions command in the Publish Settings dialog box to remove
actions from the exported SWF file.
trace()
Availability: ActionScript 1.0; Flash Lite 1.0
Parameters
expression:Object
authoring tool (using the Test Movie command), the value of the
displayed in the Output panel.
expression
- An expression to evaluate. When a SWF file is opened in the Flash
trace()
parameter to check whether a condition exists,
statement is similar to the
trace()
expression
function and write that
alert
parameter is
Global Functions
89
Need help?
Do you have a question about the FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?