Detecting webcam

Hello

I´ve made a augmented reality flash aplication, but there´s one last thing to finish the project:

  • To detect if the user has a webcam installed/on or not, so avoiding a crash in the site.

Does anybody knows how to do it?:cons: