PDA

View Full Version : Why attachMovie()?


Pyroclasm
04-02-2002, 02:54 AM
Hey guys, can you give me some examples of why someone would need "attachMovie"? And is it the only way to take MC's from the main movie's library and put it on the stage.

What are the advantages of it?:confused:

Jesse
04-02-2002, 04:02 AM
It is the only way. The main reason you'd use it is to avoid inheritance. The nearest thing to attachMovie is duplicateMovieClip but all duplicates made inherit any transformations performed on the original movie clip, such as dimension changes, etc. Movies which are attached are resistant to such effects on the 'seed' clip.