Deleting a component

To delete a component instance from the Stage while authoring, simply select it and press the Delete key. This will remove the instance from the Stage but does not remove the component from your application.

To delete a component from your Flash document after you've placed it on the Stage or in the library, you must delete it and its associated assets from the library. It isn't enough to delete the component from the Stage. If you don't remove it from the library, it will be included in your application when you compile it.

To delete a component from a document:

  1. In the Library panel, select the symbol for the component.
  2. Click the Delete button at the bottom of the Library panel, or select Delete from the Library panel menu.

    Repeat these steps to delete any assets associated with the component.

For information on how to remove a component from its container while your application is running, see Removing a component from the display list.