User Guide
220 Chapter 8: Working with Movie Clips
Assuming this class is assigned to a symbol with a linkage identifier of Ball, the following code
creates two new instances of the symbol on the root Timeline of the SWF file. The first instance,
named
ball50_mc, moves 50 pixels each time it is clicked; the second, named ball125_mc,
moves 125 pixels each time its clicked.
this.attachMovie("Ball", "ball50_mc", 10, {distance:50});
this.attachMovie("Ball", "ball125_mc", 20, {distance:125});