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
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
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
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