0 Replies Latest reply on Nov 8, 2010 3:09 PM by kyzn

    Solved: Using two different Cameras

    kyzn

      I have a question about using cameras in Flash.

      I have 3 cameras connected to my computer and I want to say flash put this camera's image to this movie clip and that one's to that movie clip.

      I was using following method,

       

      activeCamera.setQuality(0,100);

      myMovieClip.output_vid.attachVideo(Camera.get());

       

      But when I tried to use it for double cameras by

       

      myMovieClip.output_vid.attachVideo(Camera.get());

      mySecondMovieClip.output_vid.attachVideo(Camera.get());

       

      Flash brought me the same image of default camera.

       

      Is there a way to deal with such problem?


      Thanks in advance.

       

      Edit: Ok, I have found out I can solve this by giving some parameter to Camera.get().

      eg. Camera.get(0) brings first camera while Camera.get(1) brings second.