LOS ANGELES (AP) If Matt Moore's performance in Hollywood was an audition, the Tampa Bay left-hander definitely helped his chances to get the part with the Los Angeles Dodgers.
And if it wasn't, he's more than happy to keep starring for the Rays.
Moore pitched four-hit ball into the seventh inning, Evan Longoria hit a two-run homer and Tampa Bay won at Dodger Stadium for the first time, 3-1 over Los Angeles on Wednesday.
Moore (7-7) performed admirably against the Dodgers, who are thought to be interested in several Tampa Bay starters with the trade deadline looming. He looked ready for a pennant race, striking out five and only allowing an unearned run.
''I'm here (with the Rays), and it doesn't feel like I'm going anywhere,'' said Moore, who also walked four.
''This season hasn't quite gone the way that a lot of us in clubhouse expected it to go, but we're still here. We're going to keep putting one foot in front of the other and see where we're at in September. If (we're) not (in the playoffs), I'm pretty sure we've got another season next year, so hopefully I can be a part of that as well.''
Luke Maile had an RBI double in a three-run fourth inning as Tampa Bay wrapped up a nine-game West Coast road swing by snapping a four-game skid.
The Rays (39-61) still have the majors' third-worst record and the team's worst mark after 100 games since 2007.
''Since the All-Star break, we've played a lot closer to the true colors of our team,'' Moore said.
The Rays were swept in a three-game series at Chavez Ravine in 2013, the only other time they've visited the Dodgers' hallowed home turf.
The Dodgers' three-game winning streak ended with a meager offensive effort. Howie Kendrick had two of Los Angeles' five hits, all singles.
Brandon McCarthy (2-1) lasted just four innings in his first loss since Sept. 23, 2014 and his first in a Dodgers uniform. He allowed four hits and three runs with seven strikeouts in the shortest start of his otherwise strong comeback from Tommy John surgery.
The Dodgers pulled McCarthy after 83 pitches, but the right-hander said his repaired arm wasn't the reason.
''It was actually kind of a body letdown,'' McCarthy said. ''You can fool yourself for a while. `I can keep going, I can keep going.' But eventually (the heat) sucks it out of you.''
After managing just one single in the first three innings, the Rays jumped on McCarthy in the fourth. Brad Miller chipped a leadoff double down the right-field line and scored on Longoria's 23rd homer of the season, his first at Dodger Stadium, on a full-count breaking ball down the middle.
''I don't want to say I was sitting on it ... but I'm sure he didn't want to do that,'' Longoria said.
Alex Colome pitched a perfect ninth for his 22nd save in 23 chances, rebounding nicely from his first blown save of the season last Saturday at Oakland.
Logan Morrison ended the seventh inning in spectacular fashion, tumbling into the stands to grab a foul pop by Kendrick. Morrison dislodged a large protective pad from the railing down the first-base line, but hung on to the ball while falling backward onto the concrete.
''With the high sky and the sun, I was just trying to keep my eye on the ball,'' Morrison said. ''I didn't know where the wall was. I knew it hit my glove, so I was just hoping it stayed in.''
QUITE A STEAL
The Dodgers had an early lead thanks to the first stolen base in the 537-game big-league career of catcher A.J. Ellis.
Joc Pederson walked in the second inning and advanced to third on Ellis' single. When Ellis unexpectedly broke for second moments later, Maile tried to throw him out - but the ball got away for an error, allowing Pederson to score.
Clayton Kershaw apparently made sure the Dodgers grabbed second base as a souvenir for Ellis, who has spent his entire nine-year career with Los Angeles.
Last winter, Dodgers manager Dave Roberts promised an expensive dinner to Ellis if he stole a base.
''I think he was pretty pleased,'' Roberts said. ''Big steak dinner.''
Rays: Morrison was pulled from the lineup shortly after his catch, but manager Kevin Cash said it was strictly a tactical decision.
Dodgers: OF Yasiel Puig sat out again with an injured right hamstring. He hasn't played since last Friday, but isn't on the disabled list.
Rays: Jake Odorizzi (4-5, 4.10 ERA) is coming off the longest scoreless start of his career when Tampa Bay hosts the New York Yankees on Friday.
Dodgers: After a day off, Kenta Maeda (9-7, 3.25 ERA) takes the mound Friday for the opener of a weekend home series against Arizona.