Have you ever designed a scroll panel or data list and wanted to make it scroll with just buttons? For example, the scroll panel below scrolls its content with just an up, down, left, and right button.


Get Adobe Flash player

Normally, when you create a scrollbar, Catalyst prompts you to assign the thumb and track for each scrollbar. In fact, they are both marked, rather ominously, as “required”. One way of getting around this is to create the thumb and track parts, and then hide them, either offscreen, or setting their opacity to zero. But this can leave weird mouse interaction areas in your swf, and it’s less than ideal.

As it turns out, “required” parts for the horizontal and vertical scrollbars are really only suggested. They’re part of a typical scrollbar, but in this case, we don’t want a typical scrollbar. So guess what? You don’t have to assign them. Just assign the button parts (left, right, up, down) and you’re good to go.