# Despartely Need help with small bug

**URL:** <https://forum.kirupa.com/t/despartely-need-help-with-small-bug/327560>\
**Category:** flash\
**Created:** [March 9, 2012, 2:17pm UTC](https://forum.kirupa.com/t/despartely-need-help-with-small-bug/327560 "2012-03-09T14:17:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![avaughn](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@avaughn](https://forum.kirupa.com/u/avaughn)\
**Post date:** [March 9, 2012, 2:17pm UTC](https://forum.kirupa.com/t/despartely-need-help-with-small-bug/327560/1 "2012-03-09T14:17:18Z")

</div>

If you compile and run this you will see 2 Tabs, **HEAD 1** and **HEAD 2.** The problem I am having is when you first compile and run HEAD 1 should have a beige tab, however the MC for that advances to frame 5 and I get the Blue tab which should be the MOUSE OVER state.

I think if you run it a couple times you will see what I am talking about. I am sure it has something to do with my event listener but I have been looking at this code too long and I cant see the trees for the forest.

If you click on the tabs a few times you will see it works fine at that point on, just on initial load that I get the wrong color tab.

Thanks
