# Hover caption is sticky

**URL:** <https://forum.kirupa.com/t/hover-caption-is-sticky/63933>\
**Category:** Uncategorized\
**Created:** [September 11, 2004, 2:53pm UTC](https://forum.kirupa.com/t/hover-caption-is-sticky/63933 "2004-09-11T14:53:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zerosignal0](https://avatars.discourse-cdn.com/v4/letter/z/8edcca/32.png) [@zerosignal0](https://forum.kirupa.com/u/zerosignal0)\
**Post date:** [September 11, 2004, 2:53pm UTC](https://forum.kirupa.com/t/hover-caption-is-sticky/63933/1 "2004-09-11T14:53:04Z")

</div>

```auto

```

hello,  
I am using hover captions for my content boxes inside my site and for some reason Im having difficulties with rollOver and rollOut on a dragable button and its driving me nuts. basically whats happening is I have 3 buttons on each menu 1)Drag \<which is causing a problem 2)maximize/minimize \<which the caption is sticking on after drag has been clicked 3)close \<which the caption is also sticking on drag after drag has been clicked

heres the AS that I have on the 3 buttons and the caption code is the standard kirupa caption code with a couple small tweaks

drag

```auto
 on (rollOver) {
_root.pointer.gotoAndStop (3);
_root.x = 1;
_root.news.caption.words = "Drag Me!";
}
on (rollOut) {
_root.pointer.gotoAndStop (1);
_root.x = 0;
_root.news.caption.words = " ";
}
on (press) {
startDrag("_root.news");
_root.pointer.gotoAndStop (4);
_root.news._alpha = 50;
_root.x = 1;
_root.news.caption.words = "Drag Me!";
}
on (release) { 
_root.pointer.gotoAndStop (3);
stopDrag();
_root.news._alpha = 100;
_root.x = 0;
_root.news.caption.words = " ";
}

```

maximize/minimize

```auto
 on (rollOver) {
_root.pointer.gotoAndStop (2);
}
on (rollOut) {
_root.pointer.gotoAndStop (1);
}
on (press) {
_root.news.gotoAndStop ("min");
}
on (rollOver) {
_root.x = 1;
_root.news.caption.words = "Minimize";
}
on (rollOut) {
_root.x = 0;
_root.news.caption.words = " ";
} 

```

close

```auto
 on (rollOver) {
_root.pointer.gotoAndStop (2);
}
on (rollOut) {
_root.pointer.gotoAndStop (1);
}
on (press) {
_root.news.caption.gotoAndStop ("off");
_root.news.gotoAndStop ("closemax");
}
on (rollOver) {
_root.x = 1;
_root.news.caption.words = "Close";
}
on (rollOut) {
_root.x = 0;
_root.news.caption.words = " ";
}

```

so does someone feel like checkin it out for me? Ive been messing with it for a couple of days but really cant figure it out and because Im almost done with my site Ive been working on my client login script so this thing is just a big thorn in my side.

thanks ahead of time
