• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 7. Programming with ActionScript > Removing a Movie Clip from the Movie

Removing a Movie Clip from the Movie

You can use the removeMovieClip method to remove a movie clip that has been attached. This method removes any movie clip that was created with the attachMovieClip or duplicateMovieClip method. The removeMovieClip method does not require any arguments, because it simply gets rid of an instance of a movie clip.

What happens if you decide to use only four tacks, but you've already dragged out five? In this exercise, you use the removeMovieClip method to remove copies of the attached Tack Clip movie clip.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint