title: How do I attach camera to Spark.components.VideoDisplay
body: <p>I'm using Flash Builder and created a spark-application Flex project that will stream video from the local camera. If I use <code>mx.controls.VideoDisplay</code>; there is no problem since it has <code>attachCamera(camera)</code> method. But Spark's <code>VideoDisplay</code> component does not have that method. I know I can use mx controls inside a Spark app but I want to know:</p>
  
  <ul>
  <li>What is the real difference between <code>spark.components.VideoDisplay</code> and <code>mx.controls.VideoDisplay</code>?</li>
  <li>How do I attach camera to <code>spark.components.VideoDisplay</code>?</li>
  <li>Is there any advantages if I go with spark (since it's newer to mx library)?</li>
  </ul>
  
  <p>thanks.</p>
  
  <p><strong>EDIT</strong>: In the documentation this is mentioned: "<em>Starting with Flex 4.0, Adobe recommends that you use the spark.components.VideoPlayer  class as an alternative to this class. (mx.controls.VideoDisplay)</em>"</p>