attachMovie() problem

Out of context: Reply #6

  • Started
  • Last post
  • 12 Responses
  • bufo0

    Right click your movie in your Library. Then click the checkbox that says "Export for ActionScript". Then you fill in the "Identifier" text field. Say that your Identifier field name is "myMC", then you would attach your movie like this:

    this.attachMovie("myMC", "myMC1", 0);

    it might not be a good idea to use your onClipEvent(enterFrame) to attach the movie. That means that, the movie will be attached everytime a frame goes by. Hope this helps.

View thread