# Buttons on tabs bleed through

**URL:** <https://forum.kirupa.com/t/buttons-on-tabs-bleed-through/151167>\
**Category:** Uncategorized\
**Created:** [June 13, 2005, 8:59pm UTC](https://forum.kirupa.com/t/buttons-on-tabs-bleed-through/151167 "2005-06-13T20:59:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lariat1997](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@lariat1997](https://forum.kirupa.com/u/lariat1997)\
**Post date:** [June 13, 2005, 8:59pm UTC](https://forum.kirupa.com/t/buttons-on-tabs-bleed-through/151167/1 "2005-06-13T20:59:44Z")

</div>

Hey All,

I have two mc’s. One on top of another acting as tab. The code is as follows:

[color=red]mcSkeleton.mcSkeletonTabBackground.onPress = function():Void {  
mcSkeleton.swapDepths(1);  
};  
mcSkinned.mcSkinnedTabBackground.onPress = function():Void {  
mcSkinned.swapDepths(1);  
};[/color]

Notice the tabs are named: mcSkeleton and mcSkinned.

I’ve opened the mcSketelon movieclip and placed buttons on it. When I test my .fla the buttons work with the movieclip that has the buttons, but when I tab to the other movieclip, my mouse icon (turns to a hand)seems to show the buttons bleeding through onto the other movieclip.

Is there a way to make the buttons for each tabbed movieclip independent of the other tabbed movieclip?

**GOAL:**  
2 tabbed mc’s with respected buttons.

**PROBLEM:**  
Currently mc’s buttons are accessible through to the next mc.

Hope I explained myself good enough.

Thanks.
