# Problem with attachMovie Method HEEEELP!

**URL:** <https://forum.kirupa.com/t/problem-with-attachmovie-method-heeeelp/210528>\
**Category:** flash\
**Created:** [December 19, 2006, 7:03pm UTC](https://forum.kirupa.com/t/problem-with-attachmovie-method-heeeelp/210528 "2006-12-19T19:03:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanzellini](https://avatars.discourse-cdn.com/v4/letter/v/f08c70/32.png) [@vanzellini](https://forum.kirupa.com/u/vanzellini)\
**Post date:** [December 19, 2006, 7:03pm UTC](https://forum.kirupa.com/t/problem-with-attachmovie-method-heeeelp/210528/1 "2006-12-19T19:03:40Z")

</div>

Im having problems with the attachMovie Method, I created a function like the following:

```auto

 
function AdpoFunc() {
 _root.sceneHolder_mc.contHolder_mc.cont_mc.adpoHolder_mc.attachMovie(adpo1,adpoSF,this.getNextHighestDepth());
}

```

Basicly I created a holder within a couple of movies and Im trying to attach a symbol who has a linkageID of “adpo1”, then I call the function in a “on release” action in a button:

```auto

 
on (release) {
 if (_root._currentframe !== (2)) {
  _root.gotoAndStop(2);
  _root.logo_mc.gotoAndPlay(1);
  _root.sceneHolder_mc.gotoAndPlay("s2");
  _root.sceneHolder_mc.contHolder_mc.cont_mc.gotoAndStop(2);
  _root.sceneHolder_mc.contHolder_mc.cont_mc.Bene_txt.gotoAndStop("FFM");
  **_root.AdpoFunc();**
 

```

for some reason is not working, can anyone send me a tip, or tell me what am I doing wrong???

Thanks
