# Attaching a movie clip to stage

**URL:** <https://forum.kirupa.com/t/attaching-a-movie-clip-to-stage/40453>\
**Category:** Uncategorized\
**Created:** [January 18, 2004, 10:37pm UTC](https://forum.kirupa.com/t/attaching-a-movie-clip-to-stage/40453 "2004-01-18T22:37:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sigfa](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@Sigfa](https://forum.kirupa.com/u/Sigfa)\
**Post date:** [January 18, 2004, 10:37pm UTC](https://forum.kirupa.com/t/attaching-a-movie-clip-to-stage/40453/1 "2004-01-18T22:37:56Z")

</div>

Ok. i have this foolish problem. I need to attach a movie clip to the center of stage.  
i have this code on a button:

on(release){  
\_root.attachMovie(“error”,“error1”, 10);  
}

error is the name of a movie clip in library. this doesnt seem to work and ive tried putting this and \_parent in place of \_root but that still doesnt seem to work.  
after i have attached it there should be no problem centering it, but i cant get rid of this problem. please help!

Thx.
