title: Flex' VideoDisplay control does not open stream
body: <p>I'm trying to make <code>VideoDisplay</code> playing media with <em>FlashDevelop</em>. Here's the source of my application:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"&gt;
      &lt;mx:Script&gt;
      &lt;![CDATA[
          import mx.events.VideoEvent;
  
          private function pause():void 
          {
              if (moo_player.state == VideoEvent.PLAYING)
                  moo_player.pause(); else
              if (moo_player.state == VideoEvent.PAUSED)
                  moo_player.play();
          }
      ]]&gt;
      &lt;/mx:Script&gt;
  
      &lt;mx:Panel&gt;
          &lt;mx:VideoDisplay 
              source="bar.flv"
              width="640"
              height="480"
              maintainAspectRatio="true"
              id="moo_player"
              autoPlay="true"
              doubleClick="pause();" 
              doubleClickEnabled="true"
          /&gt;
      &lt;/mx:Panel&gt;
  &lt;/mx:Application&gt;
  </code></pre>
  
  <p>The problem is when i build application and run it (unfortunately, got no idea how to run it without KMPlayer or Mozilla - Flash Player is a plugin afaik) i got no video. The movie file is in the same directory as application's "Application.flv" one. But if i reload application (within player or browser) a few times, video starts.</p>
  
  <p><strong>So, here are my questions:</strong></p>
  
  <ul>
  <li><p>what's wrong with <code>VideoDisplay</code>
  component and how to fix this
  'non-playing'? </p></li>
  <li><p>what's the better way
  to execute application than running
  it within movie player or browser?</p></li>
  </ul>
  
  <p>P.S.: please, do not get mad of my knowledge lacks - i began to use Flex nearly 30 minutes ago.</p>