title: programmatically stream audio with NetStream
body: <p>In Flex you can stream microphone audio to an FMS/Red5 server using <a href="http://livedocs.adobe.com/flex/3/langref/flash/net/NetStream.html#attachAudio%28%29" rel="nofollow noreferrer">NetStream.attachAudio</a>, which requires a Microphone object.  Is it possible to stream audio through the NetStream from somewhere other than a Microphone?  For example, from a file/embedded resource?</p>
  
  <p>The reason I'm asking is that I'd like to be able to run automated tests that don't require using an actual microphone.</p>