Ive been trying to access my webcam on my macbook pro using flash cs4 in an attempt to try and use the live feed to detect levels of motion and from there use that information to alter / animate an image on the screen (idea being more movement = more change in image), however I cant seem to get my webcam to even stream out and play on a flash file.
the code i am using is:
camera = Camera.getCamera();
video = new Video(camera.width * 2, camera.height * 20);
and when I run the file it asks for me to grant access to webcam / microphones (which is what it should do) but it doesnt stream to the file.
Any help regarding this problem would be awesome, I hope I am being clear in what I'm doing, I'm generally pretty bad at explaining myself.
Thanks in advance,
sorry i realised i should post this on the actionscript area, so thats what i will do.