View Full Version : Problem with invisible button

07-06-2009, 04:53 PM
Hi guys,

I have a small problem that I think might have an easy solution. I just can't seem to figure it out.

I'm making a navigation menu for a website. It's rather simple, but modern and pretty.


Around the whole menu I'm made an invisible button that, when working properly, moves the green background box back to "Forside" and then changes the font color of "Forside" to white.
My problem is that if you mouse-over any of the other items and then move the cursor out of the menu-area before the green background box reaches the menu-item you moused-over, then for some reason the green background box moves to the menu-item and colors the "Forside" white.

The AS3-code is quite long so to not make this post miles long, it can be found here:

I know it isn't all that efficiently written, but I'm new to this, bear with me :)

I hope you guys have an answer for me. Thanks in advance,