Add MovieClip with ActionScript


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:

  1. Select the Export for ActionScript checkbox
  2. rename the Class ball
  3. Click OK

You'll probably get a warning. Don't worry about it, just click OK again: