Cameron Diaz will be bringing sexy to the big screen once again!

The 40-year-old actress showed off her assets on the set of The Counselor in Alicante, Spain on Tuesday.

PHOTOS: Cameron's sexy leg-baring style

In one shot from set, Diaz styled a tight, little black dress and flaunted her behind while chatting with her costar Javier Bardem and director Ridley Scott. In another scene, the blonde beauty wore a high-slit printed dress, heavy gold jewelry and tall black bumps.

PHOTOS: Funniest women in Hollywood

Bardem looked almost unrecognizable on set with his dark hair spiked straight up on his head. The 43-year-old actor's wife Penelope Cruz is also set to star in the film along with Michael Fassbender and Brad Pitt. Angelina Jolie, Pitt's fiancee, was initially being considered to play Diaz's role as Malkina in the film. 

PHOTOS: Stars' big breaks

The Counselor, due to hit theaters Nov. 15, 2013, is about a lawyer (Fassbender) who gets involved in drug trafficking, and was written by Pulitzer Prize-winning author Cormac McCarthy. Filming was delayed in August after Scott's brother, Tony Scott, committed suicide on Aug. 19.

This article originally appeared on Cameron Diaz Shows Off Legs, Booty in Tight, Sexy Dress on The Counselor Set