# swapDepths() and hover problem

**URL:** <https://forum.kirupa.com/t/swapdepths-and-hover-problem/40531>\
**Category:** flash\
**Created:** [January 19, 2004, 6:51pm UTC](https://forum.kirupa.com/t/swapdepths-and-hover-problem/40531 "2004-01-19T18:51:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![guitarplayer08](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@guitarplayer08](https://forum.kirupa.com/u/guitarplayer08)\
**Post date:** [January 19, 2004, 6:51pm UTC](https://forum.kirupa.com/t/swapdepths-and-hover-problem/40531/1 "2004-01-19T18:51:26Z")

</div>

I tried to make a dragabble window like in this site [http://www.theremediproject.com/indexSetHigh.html](http://www.theremediproject.com/indexSetHigh.html)

But i have a problem that when i drag the window, the hover caption is displayed BEHIND the window and it doesn’t follow the mouse anymore.

I want to make the hover caption to displayed when the mouse is over the window and when the user click on the window to drag it, the hover must dissapeared.

Im really a newbie to flash:\*( Here i attached the .fla file.

By the way, I followed the swapDepth() and the hover tutorial from kirupa on this .fla
