Brown knocked in four three-pointers and fellow guard Blake slotted three, the last of them with just 18.8 seconds left on the clock, as the Lakers came from 15 points behind.

The lead changed hands four times in the last minute of a gripping contest at the Staples Center before Blake's final shot effectively sealed the win.

"We just didn't seem to find traction until Shannon and Steve got in the ballgame and changed the context," Lakers coach Phil Jackson told reporters. "It was a great effort by those two. They gave us a big rally."

Kobe Bryant, though not at his best after having off-season surgery on his right knee, scored 27 points for the Lakers while Spanish forward Pau Gasol added a game-high 29 along with 11 rebounds. Brown ended up with 16 points and Blake with 10.

"We still have to get a feel for being back in the competition," said Gasol. "By the third quarter, we finally settled down and understood what we needed to do to make things happen." Kevin Martin top-scored with 26 points and fellow guard Aaron Brooks contributed 24, including four three-pointers, for the Rockets who led throughout the second and third quarters.

Yao Ming, who missed all of last season because of a fractured bone in his left foot, contributed 11 rebounds and nine points for Houston after playing only 23 minutes.

The evening began on a high note for the Lakers when last season's team and coaching staff were presented with diamond-encrusted gold championship rings.

Veteran forward Ron Artest, who joined the team before last season, then urged the sellout crowd to look upwards as the 2009-10 NBA championship banner was unveiled in the Staples Center rafters, sparking frenzied applause.

With the ceremony over, both teams displayed early-season rust but the Rockets, helped by three three-pointers from Brooks, took advantage of poor Lakers defense to race to a 33-26 lead after the first quarter.

Los Angeles, initially struggling with their outside game, trailed by 15 when Brooks knocked in another three-pointer late in the second period before a Bryant jumper and two free throws trimmed the deficit to 62-51 by half-time.

Gasol and Bryant, finally gelling superbly on offense, sparked a rousing Lakers fightback in the third quarter which ended with guard Blake scoring two three-pointers for Houston's lead to be cut to 82-77.

Two free throws by Matt Barnes levelled the score early in the fourth period before a Barnes drive for a layup put the Lakers ahead for the first time since the opening quarter.

Brown coolly knocked in a three-pointer to give the home team a 91-86 cushion before adding two more in a dizzying 21-second sequence to send the partisan crowd into a frenzy.

Leading 99-91, the Lakers inexplicably lost control at both ends of the court as the Rockets began to claw their way back to set up a thrilling finale.

"They're the world champs and we knew it was going to be tough," Houston coach Rick Adelman said. "I thought we responded pretty well. For about seven minutes, we just didn't play the way we're capable of and they got back in the game."

Houston will visit the Golden State Warriors Wednesday while the Lakers are next in action against the Suns in Phoenix Friday.

Celtics 88 Heat 80: In Boston, LeBron James scored 31 points, but the other members of Miami’s new All-Star trio struggled in an 88-80 loss to the Boston Celtics on Tuesday night in the NBA season opener.

Dwyane Wade was limited to 13 points on 4-of-16 shooting and Chris Bosh added eight points and eight rebounds. They combined for 15 of the Heat’s 17 turnovers — eight by James, six by Wade and one by Bosh.

Ray Allen led Boston with 20 points, Paul Pierce scored 19 and Kevin Garnett had 10 points and 10 rebounds. Those three joined together in 2007 and led the Celtics to the NBA title that season.

Boston led 16-9 after one quarter, the first time since March 15, 2009, at the Philadelphia 76ers that the Heat scored nine points or fewer in a period.

Trail Blazers 106 Suns 92: In Portland, Oregon, Nicolas Batum scored 19 points, making three 3-pointers down the stretch, and had 11 rebounds to lead Portland to a season-opening victory over Phoenix.

Brandon Roy scored 24 points for the Blazers, who fell to the Suns in the first round of the playoffs last season.

Steve Nash had 26 points for the Suns, who trailed most of the first half before going ahead in the third quarter. Nash’s turnaround jumper pushed the lead to 76-71.

Portland tied it at 86 on rookie Armon Johnson’s jumper with 8:15 to go. After Andre Miller’s jumper, Batum hit a 3-pointer and a jumper to make it 97-91 with 3:14 left.

Batum added two more 3-pointers, including his final one with 22.9 seconds left.