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.