# Playing mp3 files on rtmp server in AS3.0

**URL:** <https://forum.kirupa.com/t/playing-mp3-files-on-rtmp-server-in-as3-0/281041>\
**Category:** Uncategorized\
**Created:** [February 4, 2009, 9:52am UTC](https://forum.kirupa.com/t/playing-mp3-files-on-rtmp-server-in-as3-0/281041 "2009-02-04T09:52:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![venucog](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@venucog](https://forum.kirupa.com/u/venucog)\
**Post date:** [February 4, 2009, 9:52am UTC](https://forum.kirupa.com/t/playing-mp3-files-on-rtmp-server-in-as3-0/281041/1 "2009-02-04T09:52:59Z")

</div>

private var audio:Sound;  
audio = new Sound();  
.  
.  
.  
.  
audio.load(new URLRequest(FILENAME));  
audio.play();

while executing this code, i’m getting the following error.

1. type was not found or was not a compile time constant.Sound
2. call to a possibly undefined method Sound.
3. call to a possibly undefined method URLRequest.
