# Attach movie being strange... help

**URL:** <https://forum.kirupa.com/t/attach-movie-being-strange-help/189943>\
**Category:** Uncategorized\
**Created:** [June 7, 2006, 12:38pm UTC](https://forum.kirupa.com/t/attach-movie-being-strange-help/189943 "2006-06-07T12:38:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul\_ferrie](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@paul\_ferrie](https://forum.kirupa.com/u/paul_ferrie)\
**Post date:** [June 7, 2006, 12:38pm UTC](https://forum.kirupa.com/t/attach-movie-being-strange-help/189943/1 "2006-06-07T12:38:48Z")

</div>

These has me stumped!  
Here’s what i got.  
1 movie loaded onto main timeline into mc name “win1”  
1 mc on the main stage called “adm”  
Now from win1 i want to attach an item from it’s libary onto “adm” but i just cant get it to work. Been tinkering with this a few hours now. The strange thing is if i move the item from the loaded movie libary and place it in the main timeline libary then it works.  
Below is the code used to attach the mc

```auto

edbt.onPress = function () {
 trace ("pressed and editer=" + _root.adm.editer);
 _global.editMode = true;
 var depth = _root.getNextHighestDepth ();
 if (_root.adm.editer == undefined) {
  _root.adm.attachMovie ("newsediter", "editer", depth);
  _root.adm['editer']._x = 351;
  _root.adm['editer']._y = 0;
  _root.adm['editer'].mmTitle.text = _parent.newsTitle;
  _root.adm['editer'].mmStory.htmlText = _parent.newsStory;
  _root.adm['editer'].newsID = newsID;
 } else {
  _root.adm['editer'].dd._visible = 1;
  _root.adm['editer'].tt.text = "Edit news...";
  _root.adm['editer'].subut.text = "Update";
  _global.ed = newsID;
  _root.adm['editer'].mmTitle.text = _parent.newsTitle;
  _root.adm['editer'].mmStory.htmlText = _parent.newsStory;
  _root.adm['editer'].newsID = newsID;
 }
};

```

Can anyone see were i am going wrong?
