I have developed video chat application for android device using Flex 4 and action script 3. all working fine. now the problem is camera focus. when I using my android device for video chat , the camera focusing the face widely , means the face shows very large. it's just focus only the part of the face. how can i change the camera focus using action script 3.
var camera : Camera=getFrontCamera();
if (camera)
{
var ui : UIComponent = new UIComponent();
var localVideoDisplay : Video = new Video(322, 196);
localVideoDisplay.attachCamera(camera);
ui.addChild(localVideoDisplay);
cameraGroup.addChild(ui);
this is the code I have used for camera. now I need to change to focus of my camera and it should be shown the face little small in the videoDisplay. the actual problem is both the two persons can't see the others face clearly. it shows only large part of the face.kindly suggest me some ideas to solve this problme.