0 Replies Latest reply on Feb 3, 2014 12:23 AM by Ahmet Burak

    Android Front Camera Rotation Problem

    Ahmet Burak

      hi all.i wanna make video chat.i put camera object spark videodisplay.but camera object rotation=-90 image = flat

      i try this example tablet image = reverse,

      Example image;

      last.png

       

       

       

       

      private function initCamera():void {
      if (Camera.names.length > 0) { 
           cam = getCamera(CameraPosition.FRONT);
           cam.setMode(320, 240, 15);
           cam.setQuality(0, 90);
           var myCam:Video = new Video(camera.height,camera.width); 
           myCam.attachCamera(cam);
           myCam.rotation=-90;
           vd.addChild(myCam);
           }
      }
      
      

       

      please help me?