Before the recent popularity of TV’s “Dancing With the Stars” and documentaries like “Mad Hot Ballroom,” ballroom dancing wasn’t exactly the coolest extra-curricular activity around.

In fact, it was more of a lost art that was occasionally revisited at ‘40s-themed costume parties or simply admired while watching a film like “Pride and Prejudice.”

Not anymore. 

And while the timing couldn’t be better given ballroom’s recent resurgence, “Take the Lead” was actually in the works years before when producer Diane Nabatoff (“Narc,” “Very Bad Things”) watched a segment on CBS’ “Early Show” about Pierre Dulaine, a dance instructor who taught ballroom to elementary students in the New York inner-city public schools. More intriguing to Nabatoff than even the dance itself was how Dulaine also became a mentor to the students and was able to coach them in crucial life skills like trust, respect and the importance of carrying oneself in a confident manner — through his ballroom techniques.

Determined to learn more about Dulaine’s experiences, Nabatoff eventually tracked him down in New York and arranged a meeting. Then, after her time with Dulaine she says she “knew immediately that I had to tell the story, no matter how long it took to get it on screen.”

And with the help of New Line Cinema, it didn’t take too long for that to happen. But even with the obstacle of financing out of the way, how could Dulaine’s story be told so that it not only stayed true to his work, but would also capture the attention of a wide range of moviegoers?

Ultimately, with Dulaine’s blessing, a few details of the story were changed to appeal to a wider audience. In “Take the Lead”, the students featured are in high school and dealing with far more complicated issues (a parent’s alcoholism, another parent’s questionable choice in occupation in order to make ends meet, gang activity, self-esteem issues, acceptance of other races), than the elementary set could even dream of. But instead of the usual, clichéd inner-city dialogue, writer Dianne Houston (“Knights of the South Bronx,” “Run for the Dream: The Gail Devers Story”) set out to do something unique – and authentic – with the characters.

Also crucial in the effort to not become another formulaic dance movie was director Liz Friedlander, a veteran music video director who’s worked with U2, REM, Simple Plan and many others. When Friedlander made her way into the press room during a recent junket in California, the giddy excitement from seeing months and months of hard work come to fruition was immediately apparent on the face of the first-time film director.

When asked about her first choice for Dulaine’s role, Friedlander spoke with the wide-eyed enthusiasm of the smart high-school girl who’s a little overcome with a crush. “For us, there was no one else but Antonio [Banderas],” Friedlander confesses. “And as the camera started rolling, that was confirmed again and again. Pierre is a person who can walk into a room and immediately command your attention, and Antonio has that same ability. He also is such a good person that you know he’d have the purity of heart to bring further depth to the character. And that’s exactly what I needed for this film to work.”