Rotate Camera Feed 90 Degrees
I'm trying to rotate a camera feed so it's the correct orientation. It's using the front facing camera on an android phone.
public function setupCamera(param1:int, param2:int) : void
{
this.camera = Camera.getCamera("1");
this.camera.addEventListener(StatusEvent.STATUS,this.camStatusHandler);
this.camera.setMode(param1,param2,stage.frameRate);
this.video = new Video(param1,param2);
this.video.rotation = 90;
this.video.scaleX = -1;
this.video.x = this.video_placement.x + this.video_placement.width;
this.video.y = this.video_placement.y;
this.video.attachCamera(this.camera);
addChildAt(this.video,0);
}
