Lily James and Josh Dylan perform for Mamma Mia 2 filming

She was pictured frolicking with onscreen love interest Jeremy Irvine while filming scenes for Mamma Mia: Here We Go Again! on Tuesday.

But Lily James, 28, turned her amorous attentions to another man a day later, throwing some shapes as she cosied up to co-star Josh Dylan on a boat in Croatia.

The British , who plays a younger version of Meryl Streep’s central character Donna Sheridan, put on a playful display with Josh, who plays lover Bill Anderson - a role originally filled by Stellan Skarsgard. 

Scroll down for video 

Loving life: Lily James, 28, turned her attentions to another man a day later, throwing some shapes as she danced away with co-star Josh Dylan on a boat in Vis, Croatia

Loving life: Lily James, 28, turned her attentions to another man a day later, throwing some shapes as she danced away with co-star Josh Dylan on a boat in Vis, Croatia

The brunette got into the bohemian spirit of the hotly-tipped prequel - which is set in the Seventies - with her whimsical outfit.

She flashed her toned legs in frayed denim shorts and added a billowing peasant blouse to the ensemble, which featured an embroidered bodice.

Shielding her eyes from the sun with some tortoiseshell shades, the Downtown Abbey star wore her dark hair in loose waves a la Meryl.

She appeared to be having a whale of a time as she frolicked on the yacht on the Croatian island of Vis, while Josh watched on lovingly.

The pair later cosied up during a dance routine, leaning in to each other during a playful moment during filming. 

Mamma mia! The British beauty, who plays a younger version of Meryl Streep¿s central character Donna Sheridan, put on a playful display with Josh, who plays lover Bill Anderson - a role originally filled by Stellan Skarsgard

Mamma mia! The British , who plays a younger version of Meryl Streep’s central character Donna Sheridan, put on a playful display with Josh, who plays lover Bill Anderson - a role originally filled by Stellan Skarsgard

Looking good: The brunette beauty got into the bohemian spirit of the hotly-tipped prequel - which is set in the Seventies - with her whimsical outfit

Looking good: The brunette beauty got into the bohemian spirit of the hotly-tipped prequel - which is set in the Seventies - with her whimsical outfit

Looking good: The brunette got into the bohemian spirit of the hotly-tipped prequel - which is set in the Seventies - with her whimsical outfit

Legs for days: She flashed her toned legs in frayed denim shorts and added a billowing peasant blouse to the ensemble, which featured an embroidered bodice

Legs for days: She flashed her toned legs in frayed denim shorts and added a billowing peasant blouse to the ensemble, which featured an embroidered bodice

Josh plays a younger

read more from dailymail.....

Get the latest news delivered to your inbox

Follow us on social media networks

PREV Mandy Moore engaged to Taylor Goldsmith after two years
NEXT Naked Dating's Yasmin Scott on the cover of People mag