// ATTACHING A ARBITRARY MOVIE
// TO A BLANK MOVIE
on (press) {
blank1.attachMovie( mc,mcname);
}
on (release) {
tellTarget (“blank1”) {
blank1.gotoAndPlay(1);
}
“mc” is my desire movie clip
“mcname” is the special name to the movieclip
check the propertie panel on flash, once you click in a button or a movie clip, the properties of that object will apear. there is a instace name box that you should choose.
YOu have to right click on your movie clip you want attached in the library and go into its linkage properties. Click the checkbox that says “Export For Actionscript”, then in the name field, give it the name “mc” (no quotes).
As long as you don’t have a stop action on Frame 1 of that movie clip it will play, so no need for a gotoAndPlay(1) action.