# Swaping Depths with MC's

**URL:** <https://forum.kirupa.com/t/swaping-depths-with-mcs/224245>\
**Category:** flash\
**Created:** [April 30, 2007, 3:53pm UTC](https://forum.kirupa.com/t/swaping-depths-with-mcs/224245 "2007-04-30T15:53:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dannyboygogo](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@Dannyboygogo](https://forum.kirupa.com/u/Dannyboygogo)\
**Post date:** [April 30, 2007, 3:53pm UTC](https://forum.kirupa.com/t/swaping-depths-with-mcs/224245/1 "2007-04-30T15:53:34Z")

</div>

Im working on my portfolio and i got 7 MC’s, containing their own button with the transition MC’s within…

The issue is that i cant get the mc’s to swap depth as you roll over each button, as the transitions for each MC covers the same space its kind of crucial that i get them to swap depths. have read, tried and most of all failed every tutorial i have found on this matter.

I managed to get them to swap randomly at one point, but forgot to save it to rework it, this is the script im stuck on;  
on (rollOver) {  
start(\_root.about\_mc);  
}  
on (rollOut) {  
stop();  
}  
on (rollOver, rollOut) {  
\_root.x +=6;  
\_root.about\_mc.swapDepths(\_root.x);  
}

If anyone got an idea of what im trying to do please give me a hand.

Cheers in advance
