Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8009713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:31:32+00:00 2026-06-04T18:31:32+00:00

I have developed video chat application for android device using Flex 4 and action

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T18:31:34+00:00Added an answer on June 4, 2026 at 6:31 pm

    There’s no direct way I’m aware of to have tight control over the camera focus, however if you call setMode on the Camera object it does re-do the auto focus, I’m not entirely clear if this is what you’re looking for but it’s the only thing I’m aware of with regard to controlling the camera focus via AS3:

                camera.setMode(VID_SIZE, VID_SIZE, 24);
    

    Also be sure you have this in your -app.xml file for the AIR project

    <uses-feature android:name="android.hardware.camera.autofocus"/>
    

    should be near the bottom of the file within these nodes:

    <android>
        <manifestAdditions>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed simple camera application for Android mobile using flex 4. The problem
I have developed one application in android and now I wish to add one
I have developed a Mac software (using DiscRecordingFramework and IOKit) that creates hybrid Video-DVD.
I have developed a window application in VS2005 using C#. I need to integrate
I have developed one application in iPhone which contains videos. Now I want to
I developed an application. My application includes video recording and playing. I have to
I have learned basics of ExtJS and developed some web apps using ExtJS. Now
I have developed code on a m-file script in Matlab that communicates with a
I have developed a few Delphi Win32 (currently using D2007) applications, which revolve around
I need to make a video as a demo for one application I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.