we are capturing user photo through webcam using flex application. our requirement is to verify any already running webcam instance and if instance is already in running mode then to stop this instance and start new webcam instance, when user clicks on "Allow" button in Adobe dialog box.
var cam:Camera=Camera.getCamera(); videodisplaycontent_id.attachCamera(cam); cam.addEventListener(StatusEvent.STATUS, handleCameraStatus, false, 0, true); -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/How-to-stop-already-running-webcam-instance-using-adobe-flex-programming-tp15767p15771.html Sent from the Apache Flex Users mailing list archive at Nabble.com.