Austin Czarnik and Johnny Gaudreau scored 29 seconds apart in the third period to lead the Calgary Flames to a 4-2 win over the New York Islanders on Wednesday night.

Mikael Backlund and Travis Hamonic also scored as Calgary won its third straight after a four-game skid. Mike Smith stopped 17 shots.

More Images
New York Islanders' Valtteri Filppula, left, of Finland, steals the puck from Calgary Flames goalie Mike Smith during the second period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

Austin Czarnik and Johnny Gaudreau scored 29 seconds apart in the third period to lead the Calgary Flames to a 4-2 win over the New York Islanders on Wednesday night.

New York Islanders' Adam Pelech, left, is knocked to the ice by Calgary Flames' Matthew Tkachuk during the first period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

Lee tied it 1:19 into the third when he was left all alone in the slot and one-timed a pass by Jordan Eberle into the net before Smith could get across. It was Lee's 20th of the season,

New York Islanders' Scott Mayfield, right, checks Calgary Flames' Sam Bennett during the second period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

Backlund opened the scoring just 5 minutes into the game on a 2-on-1. Michael Frolik sent a perfect saucer pass to Backlund's tape as he cut to the net and neatly tucked the puck past Greiss for his 15th.

New York Islanders' Nick Leddy, right, checks Calgary Flames' Garnet Hathaway, centre, into goalie Thomas Greiss, of Germany, during the first period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

Calgary were outshooting the Islanders 21-6 after 40 minutes.

New York Islanders' Casey Cizikas, right, celebrates his goal against the Calgary Flames with teammates Matt Martin, left, and Josh Bailey during the second period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

Islanders: At Edmonton on Thursday night.

New York Islanders' Johnny Boychuk, left, checks Calgary Flames' Garnet Hathaway during the third period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

New York Islanders' Johnny Boychuk, left, checks Calgary Flames' Garnet Hathaway during the third period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

New York Islanders' Johnny Boychuk, left, checks Calgary Flames' Garnet Hathaway during the third period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

New York Islanders' Johnny Boychuk, left, checks Calgary Flames' Garnet Hathaway during the third period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

Casey Cizikas and Anders Lee scored for the Islanders, who had tied it earlier in the third after trailing 2-0 following one period. Thomas Greiss finished with 28 saves in New York's third regulation loss in 16 games.

New York Islanders' Valtteri Filppula, left, of Finland, steals the puck from Calgary Flames goalie Mike Smith during the second period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

New York Islanders' Valtteri Filppula, left, of Finland, steals the puck from Calgary Flames goalie Mike Smith during the second period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

Lee tied it 1:19 into the third when he was left all alone in the slot and one-timed a pass by Jordan Eberle into the net before Smith could get across. It was Lee's 20th of the season,

Czarnik put the Flames back ahead at 6:10 with his fifth of the season — and third in three games.

Just 8 seconds after New York's Nick Leddy was whistled for interference, Gaudreau made it 4-2 with his career high-tying 30th — snapping a nine-game goal-scoring drought.

New York Islanders' Adam Pelech, left, is knocked to the ice by Calgary Flames' Matthew Tkachuk during the first period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

New York Islanders' Adam Pelech, left, is knocked to the ice by Calgary Flames' Matthew Tkachuk during the first period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

Backlund opened the scoring just 5 minutes into the game on a 2-on-1. Michael Frolik sent a perfect saucer pass to Backlund's tape as he cut to the net and neatly tucked the puck past Greiss for his 15th.

Hamonic then doubled the lead against his former team with just over 4 minutes left in the first. Bacjkynd sent the puck back back to the blue line after a faceoff win by Elias Lindholm and Hamonic sent a high shot past Greiss for his fifth.

The Islanders pulled to 2-1 at 9:51 of the second with Cizikas squirting the puck under Smith's pads for his 16th. The sequence began with a TJ Brodie giveaway in front of the Calgary net.

New York Islanders' Scott Mayfield, right, checks Calgary Flames' Sam Bennett during the second period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

New York Islanders' Scott Mayfield, right, checks Calgary Flames' Sam Bennett during the second period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

Calgary were outshooting the Islanders 21-6 after 40 minutes.

NOTES: Lindholm's assist on Hamonic's goal extended his point streak to six games (two goals, seven assists). ... Flames coach Bill Peters switched around his top two lines with Matthew Tkachuk moving onto the top line with Gaudreau and Sean Monahan. Lindholm played right wing with Backlund and Frolik. ... Brodie returned after missing the last game due to injury.

UP NEXT

New York Islanders' Nick Leddy, right, checks Calgary Flames' Garnet Hathaway, centre, into goalie Thomas Greiss, of Germany, during the first period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

New York Islanders' Nick Leddy, right, checks Calgary Flames' Garnet Hathaway, centre, into goalie Thomas Greiss, of Germany, during the first period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

Islanders: At Edmonton on Thursday night.

Flames: Host Anaheim on Friday night.

More AP NHL: www.apnews.com/NHL and www.twitter.com/AP_Sports

New York Islanders' Casey Cizikas, right, celebrates his goal against the Calgary Flames with teammates Matt Martin, left, and Josh Bailey during the second period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

New York Islanders' Casey Cizikas, right, celebrates his goal against the Calgary Flames with teammates Matt Martin, left, and Josh Bailey during the second period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

New York Islanders' Johnny Boychuk, left, checks Calgary Flames' Garnet Hathaway during the third period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

New York Islanders' Johnny Boychuk, left, checks Calgary Flames' Garnet Hathaway during the third period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

New York Islanders' Johnny Boychuk, left, checks Calgary Flames' Garnet Hathaway during the third period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)

New York Islanders' Johnny Boychuk, left, checks Calgary Flames' Garnet Hathaway during the third period of an NHL hockey game Wednesday, Feb. 20, 2019, in Calgary, Alberta. (Jeff McIntoshThe Canadian Press via AP)