I have a question...(sorry my bad english)

First there was the medieval nobles, in the golden age for feudalism, who fought on horses with full plate armors and frontal charges against the unlucky enemies. Being a footman at that time was being a dead man walking. With the fall of feudalism as a political-economical system, a great number of mercenary professional infantrymen appeared and made the armoured noble knights of Europe lose their power. The tactics for infantry evolved at the point that they learned how to face those charges and the super-heavy knights eventually lost their efficiency. With the new tactics for the infantrymen, the firearms were created, speeding up the obsolescence of noble medieval knights.

So there comes the Polish Winged Hussars, at XVII century, and are known as the motherfuckers-big-balls. If the firearm is the great weapon that made heavy melee knights outdated at the transition from Medieval Age to Modern Age, why the XVII century infantry (having a lot of firearms) didn't win against the Winged Hussars?
Why the Winged Hussars, being a full melee cavalry (AFAIK using the same equipment of medieval knights), were not considered outdated against the firearms of XVII century?