Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In the earlier section "Section 29.6," we learned that instances of a symbol can be created manually in the Flash authoring tool by dragging the symbol's name from the Library to the Stage of a timeline. Instances of symbols that are exported for ActionScript can also be created directly through code, using the standard new operator.
For example, earlier, we linked the star symbol to the Star class. To create an instance of the star symbol through code, we use the following expression: