Hello,
I can't figure out whats wrong with my scroll bar :@.
www.zulubravo.org/guestbook.html
here is the script for up button
here is the script in the drag baron (press, keyPress "<Up>") {
GuestBook.scroll--;
if (myscroll3._y>myscroll3.top) {
myscroll3._y = myscroll3._y-((400-myscro113._height)/20);
}
}
here is the script for the down buttononClipEvent (load) {
_height = 124;
top = _y;
left = _x;
right = _x;
bottom = _y+(307-_height);
}
onClipEvent (enterFrame) {
if (dragging == true) {
_root.GuestBook.scroll = 1+int((_y-top)*200/(900-_height));
}
}
Text window:on (press, keyPress "<Down>") {
GuestBook.scroll++;
if (myscroll3._y<(305-myscroll3._height+myscroll3.top)) {
myscroll3._y = myscroll3._y+((400-myscroll3._height)/20);
}
}
Wide:380.0 X:302.3
Hight:332.9 Y:80.7
Please help
Cheers Desmond