Add MovieClip with ActionScript
Properties
Bring up the Library window (CTRL+L is your keyboard shortcut). Right-Click your ball_mc MovieClip and select Properties:
The Symbol Properties window pops up... and you'll need to select Advanced:
- Select the Export for ActionScript checkbox
- rename the Class ball
- Click OK
You'll probably get a warning. Don't worry about it, just click OK again: