I'm a bit stumped and hope someone here can offer me a little
more guidance. I need to display the camera in my Flash program and
can't seem to get it working. I'm working within Flex Builder2. I
have a mx:Video Display object on my form called "myVideoDisplay"
and I am attempting to attach the default camera to it.
In a CDATA block, I have the following code:
var myCamera:Camera = Camera.get();
According to everything I've read this should attach to the
camera and display the security dialog. But, instead, I get the
"Access to undefined property myCamera"
"Access to undefined property myVideoDisplay"
One thing I've noticed is that when I am typing the
Camera.get line the automatic help does not display the get()
method as a choice at all but rather the getCamera() method. Has
the get() method been deprecated in favor of getCamera()?