# Problems with streaming video

**URL:** https://forum.kirupa.com/t/problems-with-streaming-video/199893
**Category:** Uncategorized
**Created:** [September 7, 2006, 2:50am UTC](https://forum.kirupa.com/t/problems-with-streaming-video/199893 "2006-09-07T02:50:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Lomadrian](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@Lomadrian](https://forum.kirupa.com/u/Lomadrian)
#### Post date: [September 7, 2006, 2:50am UTC](https://forum.kirupa.com/t/problems-with-streaming-video/199893/1 "2006-09-07T02:50:28Z")

</div>

For the heck of it, I felt like creating a Flash file that would be able to stream episodes of Red vs. Blue from our computer. I can get the visuals to display, but the audio remains absent. All I have are two layers: one, with the video component (named “vid”), and an Actions layer, with the following code:

```auto
var my_nc:NetConnection = new NetConnection();
my_nc.connect(null);
var my_ns:NetStream = new NetStream(my_nc);
vid.attachVideo(my_ns);
my_ns.play("episode2.flv");
this.createEmptyMovieClip("flv_mc", this.getNextHighestDepth());
flv_mc.attachAudio(my_ns);
var audio_sound:Sound = new Sound(flv_mc);

```

Even though the “episode2.flv” file is in the same folder and the images are loading up, the audio doesn’t show up no matter what I do. I imported the .mov file into Flash (I have MX 2004 educational), exported it as a .flv, and deleted the .mov from the library.

What’s going on? I essentially copied the code from an online tutorial at another website (I had my own code, but since that didn’t work, I tried copying, and it still didn’t work), but I know exactly what it should be doing, and it’s not.

Can anyone help me?
