# Attachmovie issue - ovrelap

**URL:** <https://forum.kirupa.com/t/attachmovie-issue-ovrelap/242030>\
**Category:** Uncategorized\
**Created:** [October 21, 2007, 11:36am UTC](https://forum.kirupa.com/t/attachmovie-issue-ovrelap/242030 "2007-10-21T11:36:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![evoke07](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@evoke07](https://forum.kirupa.com/u/evoke07)\
**Post date:** [October 21, 2007, 11:36am UTC](https://forum.kirupa.com/t/attachmovie-issue-ovrelap/242030/1 "2007-10-21T11:36:03Z")

</div>

Hey All,

Im a new member and this is my first post. I have a question regarding the attachmovie function and depths issues. I have five main movieclip buttons across the bottom (home, services, testimonials, yadayada, and each button is on a different layer. When i click on home… the attached movie opens… same goes for all of the buttons when i click them in order from the first to the last (because they are all on different layers, home being on the bottom andservices above and so forth. Everthing is fine…until i click on home after clicking on services… and it loads but underneath everything else. I was lookingh for some code i could put in my butn that says something like if you click on home - remove the attached movie clip of services which is above it… and so forth that i would be able to use for all the butns… Maybe im going about it wrong…Not sure if i need to do a getdepth thing or unload movie clip… or remove clip… nothing seems to be doing anythingi’ve tried to solve this myself but i have very little scripting knowledge so i’m not even quite sure what to look for. Appreciate some help…thanks
