Using a USB Dance Mat as input for Flash 8

I am trying to use a dance mat as input for a university project. Does anyone have any idea how to do this?

Thanks :ponder: