Image overlay Adobe AIR CameraUI

I use ActionScript and other Adobe applications to develop a small game-like type of application focused on ios and Android through AIR 2.7.

My requirement is to start the camera, overlaying the image on it, so that the user can take a picture of the person within the boundaries displayed in the overlay image.

Starting the camera, while maintaining its cameraroll, everything works fine with CameraUI, but does not see any option to set the image overlay.

is only an internal extension of AIR? any alternative approaches

+3
source share
1 answer

100% , android, iOS , - .

var cam:Camera = Camera.getCamera(); 
if (cam != null) 
{ 
    var vid:Video = new Video(cam.width, cam.height); 
    vid.attachCamera(cam); 
    addChild(vid); 
}

iPhone iPad

+2

All Articles