User Guide
868 Chapter 2: ActionScript Language Reference
This displays the following information in the Output panel:
emphasized
fontWeight: bold
color: #000000
Note: The line of code
delete styleObj deletes the original style object passed to setStyle(). While
not necessary, this step reduces memory usage, because Flash Player creates a copy of the style
object you pass to
setStyle().
See also
{} (object initializer), “Formatting text with Cascading Style Sheets” in Using ActionScript in Flash