PDA

View Full Version : determining maxscroll



siliconbauhaus
November 26th, 2004, 05:42 PM
I'm using this to control my scrolling

onClipEvent (enterFrame) {
if (scrolling) {
_root.awards.press.awards.scroll--;
}
}

and I'm trying to use something like this to control the up/down arrows to appear only if needed

if(_root.awards.press.awards.maxscroll > 1){
up2._visible = true;
down2._visible = true;
}else{
up2._visible = false;
do2._visible = false;
}

but it's not working so far.

Any ideas?