0 Replies Latest reply on Dec 20, 2007 12:30 AM by robthain

    Bigger Image size using Camera.get()

    robthain
      Hi,

      I've had a quick look through the forums and can't seem to find anything that relates to this, apologies if it has already been covered.

      I am trying to build an app using flash that will allow a visitor to a self contained kiosk to use the camera to take a pic of themselves and then print it out. All seems to work apart from the image size is pitifully small at 160px. I have tried using Camera.setmode() but have either got the wrong code or my syntax is completely wrong.

      Has anyone else tried to do this and if so can they point me in the right direction

      var my_cam:Camera = Camera.get();
      if (my_cam != null)
      {
      var my_video:Video = new Video();//my_cam.width, my_cam.height
      my_cam.setMode(1024, 800, 30);
      output_vid.attachVideo(my_cam);
      }


      Thanks, Rob.