Skip to main content
Known Participant
April 7, 2013
Question

IOS Front Facing Camera Possible?

  • April 7, 2013
  • 3 replies
  • 604 views

Hi,

Can anyone confirm if it is actually possible to use the front facing camera on an I Phone from a Flash created App?

I am using:

var cam:Camera = Camera.getCamera();

And it wil display the camera on the screen, but rotated 90 degrees and only the main camera.

Many thanks for your time.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

sinious
Legend
April 8, 2013

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Camera.html#getCamera()

It's asking for a "name" of the camera, which can be an index. It defaults to index 0 which is the main (back) camera. Set it to "1" and it will use the front camera.

Vendita3Author
Known Participant
April 13, 2013

Thanks for the link and the tip. Worked perfectly.

And if anyone else want to use the fromt facing camera you may need to rotate the video.

video.rotation = 90;

sinious
Legend
April 16, 2013

You're welcome and if you're all set please mark helpful/correct so we can attend unanswered questions. Good luck!