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

Chapter 11. Working with Movie Clips > Adding parameters to dynamically created...

Adding parameters to dynamically created movie clips

When you use MovieClip.attachMovie() and MovieClip.duplicateMovie() to create or duplicate a movie clip dynamically, you can populate the movie clip with parameters from another object. The initObject parameter of attachMovie() and duplicateMovie() allows dynamically created movie clips to receive clip parameters.

For more information, see %{attachMovie (MovieClip.attachMovie method)}% and %{duplicateMovieClip (MovieClip.duplicateMovieClip method)}% in the ActionScript 2.0 Language Reference in Flash Help.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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