Parents Sue School After Teen Killed Himself When Confronted About Sex Video

The parents of Corey Walgren claim a suburban Chicago school traumatized the 16-year-old so badly that he jumped off a building.

The parents of a Chicago-area teen who killed himself after administrators confronted him about a sex video are suing his school.

Corey Walgren was suspected in January of sharing with friends a video he allegedly took of himself having sex with a girl.

Watch: 11-Year-Old Kills Himself After Thinking Girlfriend Committed Suicide: Cops

Hours after staff at Naperville North High School spoke to the 16-year-old about the footage, he jumped to his death from a parking deck.

The honor student's parents have now filed a federal lawsuit against the school, accusing it of traumatizing their son by warning him he could be charged as a sex offender.

They are seeking more than $5 million in damages in the case, which experts are saying calls into question exactly how such cases — in which students are suspected of taking and potentially distributing videos of themselves and fellow minors — should be handled.

In Corey's case, an attorney for Maureen and Doug Walgren's attorney said the school came down too hard on the boy.

"They scared the hell out of the kid, and that's what drove Corey to kill himself," attorney Terry Ekl told The Associated Press.

Walgren reportedly admitted after questioning by the school that he'd recorded video of his encounter with the girl and played it for friends, but never transmitted it via email or text.

A campus police officer told Walgren the video "concerned child pornography, which is obviously illegal."

While officials said Corey appeared calm, he left campus while he was told to wait for his mother to arrive. Soon after, he was dead.

Meanwhile, an internal police report concluded the resource officer handled the matter correctly.

Watch: At Least 6 Dead at Florida Nursing Home Hit by Irma, Cops Conducting 'Criminal' Investigation

While the suit alleges that Corey was in custody while being questioned and not told he had the right to remain silent, police maintain it was the school dean who initiated the questioning.

The school says the officer made it clear he "had no intention of bringing criminal charges."

"We continue to be incredibly saddened by Corey's death, and our hearts go out to his family, friends and all members of the Naperville community," school district spokeswoman Michelle LaFrey Fregoso said in a statement. "Due to student confidentiality and because this is a matter of pending litigation, we are unable to comment further.

Watch: Man Marries Woman Who He Says Prevented Him From Committing Suicide