Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-23-2012, 03:28 PM   #1
samHTFC
Registered User
 
Join Date: Mar 2011
Posts: 20
Default get front facing camera

hey guys

i know when you are developing for desktop when you use get camera you can pick which camera you want to use in the flash file, im developing for ios and wondered how i would get camera the front camera working on an app.

thanks, sam
samHTFC is offline   Reply With Quote
Old 02-09-2012, 05:21 PM   #2
henke37
Senior Member
 
henke37's Avatar
 
Join Date: Mar 2009
Location: Sweden
Posts: 10,821
Send a message via Skype™ to henke37
Default

There is no special way of obtaining that camera. There is no magic id for the camera either, sorry.
__________________
Signature: I wrote a pair of articles about the timeline.
henke37 is offline   Reply With Quote
Old 02-09-2012, 06:45 PM   #3
PBFrO
Senior Member
 
Join Date: Jan 2007
Location: Orange County, CA
Posts: 573
Default

You can put the available cameras into an array. Hopefully this helps you somehow.

ActionScript Code:
var camArray:Array = Camera.names;
__________________
My Portfolio
PBFrO is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:20 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.