The trick is to use a slow shutter speed and multiple flashes set at the lowest/shortest duration. The flash freezes the motion.