# Control the depth of buttons by actionscript

**URL:** <https://forum.kirupa.com/t/control-the-depth-of-buttons-by-actionscript/167874>\
**Category:** flash\
**Created:** [November 1, 2005, 11:12pm UTC](https://forum.kirupa.com/t/control-the-depth-of-buttons-by-actionscript/167874 "2005-11-01T23:12:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![musher5\_erra\_es](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@musher5\_erra\_es](https://forum.kirupa.com/u/musher5_erra_es)\
**Post date:** [November 1, 2005, 11:12pm UTC](https://forum.kirupa.com/t/control-the-depth-of-buttons-by-actionscript/167874/1 "2005-11-01T23:12:01Z")

</div>

hello, that’s my first post!! 🙂

i’m trying to control the depth of some buttons which are all pretty close, and on mouse over, each buttons gets bigger (150% more or less), the problem comes when i want to control the depth in order to place the rollovered button above it’s neighbours… guess it could be done by actionscript…

here is a link i found that explains how to do that, i’m quite beginner in flash and it is too much level for me, eventhought i’ve reatten it carefully…

[http://www.kirupa.com/developer/actionscript/depths.htm](http://www.kirupa.com/developer/actionscript/depths.htm)

any help will be really apreciated

thanx in advance
