Browser Scrollbar talking to Flash

Out of curiosity, has anyone played with using the regular default browser scrollbar to communicate with a Flash object? If you don’t understand what I’m talking about, check out this example:

I think it’s a pretty neat trick, and I’m thinking it has to use some javascript and somehow pass it through to the Flash.