# Webcam is really active?

**URL:** <https://forum.kirupa.com/t/webcam-is-really-active/264857>\
**Category:** Uncategorized\
**Created:** [July 1, 2008, 9:49am UTC](https://forum.kirupa.com/t/webcam-is-really-active/264857 "2008-07-01T09:49:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LukaMilani](https://avatars.discourse-cdn.com/v4/letter/l/6bbea6/32.png) [@LukaMilani](https://forum.kirupa.com/u/LukaMilani)\
**Post date:** [July 1, 2008, 9:49am UTC](https://forum.kirupa.com/t/webcam-is-really-active/264857/1 "2008-07-01T09:49:58Z")

</div>

Hi Folks,  
first of all sorry for my bad english 🙂

I made a project with Flash CS3 and AS3 about taking live snapshot from webcam, encoding JPG snapshot and send to server. Everything work fine and the result is good.

Now my problem is:  
In some user cases, after they click ALLOW in the security panel, the CAM area is full white until they will not select from the same panel a one valid webcam driver installed.  
This because they can have multiple drivers or sometime in the MAC safari need to specified as well.  
In real i know how to show that panel to let them to select, but this means for the rest of 90% users they must select as well, when in real is not necessary because after hit ALLOW (unmuted=true) in most of the case is working correctly.

So if the cam is no displayed but only a white screen, a user can take the snapshot as well and send to the server a white photos.

How i can be sure, before take a snapshot, that the cam is really displayed and working ?  
I tried a lot, consult many webpages and tutorials, but still not clear about the concept.

I must check the ActivityEvent.ACTIVITY ?  
I must check the motionDetect ? I must check what ?

About my source code is pretty similar (for CAM instance) to:

> **[Live Screen Capture? Webcam Snapshot (bitmap API)](https://www.kirupa.com/forum/showthread.php?t=294520)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

Can i have a tip with a sample code ?

Really thanks in advance, it will save me a lot of time.
