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

Lesson 7. Programming with ActionScript > Attaching a Movie Clip to the Movie

Attaching a Movie Clip to the Movie

You can retrieve a copy of a movie clip from a library and play it as part of your movie by using the attachMovie method. The attached movie clip does not have to be on the stage or in the work area, but it does have to be exported with the movie. The way you retrieve the clip and play it is by modifying the linkage properties of the movie clip in the Library window.

After you use the attachMovie method to attach a movie clip to the movie, you can use the clip just as you would any other clip, so you can refer to and modify its properties dynamically. You can also remove an attached movie clip by using the removeMovieClip method, which you will learn about later in this lesson.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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