Pavelski and Roenick both beat Martin Biron to the glove side to help the Sharks salvage the victory after they blow a 6-4 lead in the third period.
Pavelski had a goal and assist in regulation, Patrick Marleau added two goals and two assists, and Ryane Clowe and Devin Setoguchi each had a goal and an assist. The Sharks have won six of their first seven games.
Joffrey Lupul scored twice and Jeff Carter, Mike Richards, Scottie Upshall and Danny Briere added goals for the winless Flyers. Briere tied it with 1:05 left in the third period when he punched the puck past goalie Evgeni Nabokov during a wild power-play scramble in front of the net.