0 Replies Latest reply on Feb 17, 2011 12:51 PM by Gregory Lafrance

    How to test if a camera has been added to MX VideoDisplay?

    Gregory Lafrance Level 6

      I'm writing some FlexUnit tests and I need to detect if an MX VideoDisplay has a camera attached.

       

      var cam:Camera = new Camera();

      myVideoDisplay.attachCamera(cam);

       

      Now I need to check to see if myVideoDisplay has a camera attached.