Vladislav Namestnikov and Jason Garrison scored the other Lightning goals. Tampa Bay has beaten the Flyers seven straight times at home, dating to February 2011.

Wayne Simmonds, Jakub Voracek and Michael Raffl netted goals for the Flyers, who had won three in a row.

After Stamkos gave Tampa Bay a 3-1 lead with his eighth goal this season from the left circle at 5:30 of the third, Voracek's in-close shot made it a one-goal game again 68 seconds later.

Garrison made it 4-2, snapping his 28-game goal drought, on the powerplay with 3:12 to play. Raffl cut the Flyers' deficit back to one in the final minute.

Stamkos put the Lightning ahead 2-1 during a power play with 45.7 seconds remaining in the second period.

Namestnikov redirected Anton Stralman's blue line shot past goalie Ray Emery for a 1-0 lead 3:29 into the game. Stralman has eight assists and nine points in 11 games this season after getting 13 points over 81 games last season with the New York Rangers.

The Flyers went almost 10 minutes before Claude Giroux got their initial shot on goal. Simmonds tied it 1-1 and stopped his five-game point drought when he beat Ben Bishop on a rebound goal with 7:17 left in the first.

Tampa Bay's Tyler Johnson had his seven-game assist streak end. The center had 11 assists over the stretch.

(Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)