# Audio stream in AS3

**URL:** <https://forum.kirupa.com/t/audio-stream-in-as3/314470>\
**Category:** flash\
**Created:** [September 29, 2010, 3:17pm UTC](https://forum.kirupa.com/t/audio-stream-in-as3/314470 "2010-09-29T15:17:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sickgrin](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@Sickgrin](https://forum.kirupa.com/u/Sickgrin)\
**Post date:** [September 29, 2010, 3:17pm UTC](https://forum.kirupa.com/t/audio-stream-in-as3/314470/1 "2010-09-29T15:17:36Z")

</div>

In AS3 what’s the proper way to play a live audio-only stream?

I know in AS2 you could bind the stream to a movieclip:

someMovieClip.attachAudio(someNetStream);  
var sound:Sound = new Sound(someMovieClip);

And for video streams in AS3 I can do:

var video:Video = new Video();  
video.attachNetStream(stream);  
stream.play(“myvideostream”);  
addChild(video);

But I can’t seem to find anything specific to audio streams. Do I just bind it to a video clip? Because that does play the stream… but seems excessive to use a video object for an audio stream.

I’m probably just missing something obvious here.

Thanks in advance.
