Caption and scroll slider problem

i have mouseover captions as in the Kirupa tutorial and i also have a scroller in that page.

the up/down arrows works fine, but when i click on the slider and drag it for more scrolling, the caption appears on the scroller if i mouseover any button, after dragging the slider.

i searched for other threads but nothing seems to work.

anyone can help ???

this is the code for the slider:

if (_parent.SliderYScale<100) {
if (_parent.ScrollType == “UpPress”) {
_parent.CurrentHeight = _parent.ScrollSlider._y;
if (_parent.CurrentHeight>(_parent.HighestPoint+_parent.ButtonClickSpeed)) {
_parent.NewHeight = _parent.CurrentHeight-_parent.ButtonClickSpeed;
play ();
setProperty ("_parent.ScrollSlider", _y, _parent.NewHeight);
} else {
stop ();
setProperty ("_parent.ScrollSlider", _y, _parent.HighestPoint);
}
} else if (_parent.ScrollType == “DownPress”) {
_parent.CurrentHeight = _parent.ScrollSlider._y;
_parent.NewHeight = _parent.CurrentHeight+_parent.ButtonClickSpeed;
if (_parent.CurrentHeight<(_parent.LowestPoint-_parent.ButtonClickSpeed)) {
play ();
setProperty ("_parent.ScrollSlider", _y, _parent.NewHeight);
} else {
stop ();
setProperty ("_parent.ScrollSlider", _y, _parent.LowestPoint);
}
} else if (_parent.ScrollType == “UpHover”) {
_parent.CurrentHeight = _parent.ScrollSlider._y;
if (_parent.CurrentHeight>(_parent.HighestPoint+_parent.ButtonHoverSpeed)) {
_parent.NewHeight = _parent.CurrentHeight-_parent.ButtonHoverSpeed;
play ();
setProperty ("_parent.ScrollSlider", _y, _parent.NewHeight);
} else {
stop ();
setProperty ("_parent.ScrollSlider", _y, _parent.HighestPoint);
}
} else if (_parent.ScrollType == “DownHover”) {
_parent.CurrentHeight = _parent.ScrollSlider._y;
_parent.NewHeight = _parent.CurrentHeight+_parent.ButtonHoverSpeed;
if (_parent.CurrentHeight<(_parent.LowestPoint-_parent.ButtonHoverSpeed)) {
play ();
setProperty ("_parent.ScrollSlider", _y, _parent.NewHeight);
} else {
stop ();
setProperty ("_parent.ScrollSlider", _y, _parent.LowestPoint);
}
} else if (_parent.ScrollType == “ScrollBarClick”) {
_parent.ClickHeight = _parent._ymouse;
_parent.CurrentHeight = _parent.ScrollSlider._y;
if (_parent.ClickHeight<_parent.CurrentHeight) {
if (_parent.CurrentHeight>(_parent.HighestPoint+_parent.ScrollBarClickSpeed)) {
_parent.NewHeight = _parent.CurrentHeight-_parent.ScrollBarClickSpeed;
play ();
setProperty ("_parent.ScrollSlider", _y, _parent.NewHeight);
} else {
stop ();
setProperty ("_parent.ScrollSlider", _y, _parent.HighestPoint);
}
} else if (_parent.ClickHeight>_parent.CurrentHeight+_parent.SliderHeight) {
if (_parent.CurrentHeight<(_parent.LowestPoint-_parent.ScrollBarClickSpeed)) {
_parent.NewHeight = _parent.CurrentHeight+_parent.ScrollBarClickSpeed;
play ();
setProperty ("_parent.ScrollSlider", _y, _parent.NewHeight);
} else {
stop ();
setProperty ("_parent.ScrollSlider", _y, _parent.LowestPoint);
}
}
}
} else {
stop ();
}


and this is for the hover captions:

on (rollOver) {
_root.x = 1;
_root.caption.words = “About”;
}
on (rollOut) {
_root.x = 0;
_root.caption.words = " ";
}

and here is the caption mc code:

onClipEvent (enterFrame) {
if (_root.x==1) {
this._alpha = 87;
} else {
this._alpha = 0;
}
}

so h88 got any idea ??

please help !!!

hmmm…have you got the fla we could view? If that’s not possible, I usually take out the button (or one of the objects) and get it to load on a different level and see if that helps. I really don’t see a problem with the code so that’s the best I can do for now…hmmm…if I get a minute I’ll try to use your code and create a file to fix the bug…

:love: ~ Seretha

i would appreciate if u can help me out man …