Amber Riley, 26, also known as Mercedes from the hit FOX musical, Glee, gave Gleeks everywhere quite a scare when she passed out on the red carpet on Tuesday night before a Glee screening event at the TV Academy of Arts and Sciences in North Hollywood.

Riley fainted while doing red carpet interviews, before she was scheduled join Glee costars for a panel presentation, according to E! Online. Luckily, Riley recovered quickly and was still able to participate in the panel.

"Hey guys, I'm okay," Riley tweeted after the event. "I got a little dizzy from all the photog flashes! You'd think I'd be used to it by now, still a red carpet amateur I guess. Gonna get checked out but I feel fine. Thank you for all the concern and well wishes."

Riley also acknowledged the sensitivity of the press that was present. "I'd also like to thank the photographers for being so professional and not taking photos of me on the ground. I truly truly appreciate it. Could have been super embarrassing."

You can catch Riley in Glee Tuesday night at 8 p.m. on FOX.

For more on Amber Riley and Glee:

VIDEO: Amber Riley's Show-Stopping Whitney Tribute on 'Glee'

REVIEW: Glee — Season Three

Darren Criss Mistaken For Costar's Stalker

Will Chord Overstreet Return To 'Glee'?

Read more about: