DJ AM

Almost nine months after his death, DJ AM will appear on the big screen.

The musician, who died in August at age 36 from an accidental drug overdose, will make a cameo appearance in Iron Man 2, the Los Angeles Times reports.

Watch videos of DJ AM

In the superhero sequel, DJ AM plays himself spinning at a lavish Malibu birthday party for billionaire-superhero Tony Stark (Robert Downey Jr.). Director Jon Favreau said he hesitated whether to include DJ AM (real name: Adam Goldstein) in the film following his death. But he was strongly encouraged to include the scene by the late musician's family and friends. 

"We tried to make it respectful, and for people who know him, they'll get a kick out of it and for people who don't, it will sort of slide by without much notice," Favreau told the newspaper.

MTV to air DJ AM's reality series, Gone Too Far

Before his death, DJ AM was known for his work with artists such as Will Smith, Madonna and Jay-Z, as well as his high-profile relationships with Nicole Richie and Mandy Moore. Iron Man 2 is DJ AM's second posthumous appearance, after the MTV reality series Gone Too Far, which showed him trying to help other addicts rise above their substance abuse problems. All eight episodes were shot before his death, and the series premiered two months after his death.

"Robert took a real shine to him, as we all did. His energy was amazing, he was such an inspiring guy and there was a lot of depth to him and this positive energy," Favreau told the Times.  "He ended up staying on with us for about a week and it was just great; we set up this turntable and between takes he would give me pointers."

Iron Man, released in May of 2008, grossed more than $318 million at the box office. Besides his cameo in the film, which was shot two months before his death, Iron Man 2 will be dedicated to DJ AM.

Watch the trailer for Iron Man 2

"Our heart goes out to his family and friends," Favreau told the newspaper, "and we hope what we've done is pleasing to them and to the many, many people who held Adam in high regard."

Iron Man 2 hits theaters May 7.