Attachmovieclip question

When you attach a movie clip does it have the same code in it as the original? I only ask because when i tried to the code in it didn’t run.