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

Lesson 15. Controlling Movie Clips Dynam... > Creating Movie Clip Instances Dynami...

Creating Movie Clip Instances Dynamically

You can create a movie clip instance dynamically by using one of the following methods of the Movie Clip class:

  • duplicateMovieClip(): This method duplicates an existing movie clip instance on the stage to create a new instance of that movie clip.

  • attachMovie(): This method creates a new instance of a movie clip directly from the library.

  • createEmptyMovieClip(): This method creates an empty movie clip instance—that is, one that contains no data or graphical content.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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