Screen Capture/Webcam Capture

Is it possible to create a flash file that can automatically, say every 60 seconds, capture a print screen or caputre an image from a webcam on the local machine?

Thanks

jeff