# Coding Layers

**URL:** https://forum.kirupa.com/t/coding-layers/283396
**Category:** flash
**Created:** [March 5, 2009, 4:43pm UTC](https://forum.kirupa.com/t/coding-layers/283396 "2009-03-05T16:43:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![thesprucegoose](https://avatars.discourse-cdn.com/v4/letter/t/779978/32.png) [@thesprucegoose](https://forum.kirupa.com/u/thesprucegoose)
#### Post date: [March 5, 2009, 4:43pm UTC](https://forum.kirupa.com/t/coding-layers/283396/1 "2009-03-05T16:43:20Z")

</div>

All,

Is there a piece of code that will make always make an object the top layer? I have a three types of buttons on two layers (about 15 in one, 4 in the other) and a banner comes up when you roll over them. The banner will cover some of the buttons, but be overlapped by others. I want the banner to completely cover all buttons during the roll over.

This is my .swf:  
[http://www.etcusa.com/teametcEdit/vendor\_map5.html](http://www.etcusa.com/teametcEdit/vendor_map5.html)

Thanks,  
–thesprucegoose
