# Loading an .mp3 file using the FileReference Class

**URL:** https://forum.kirupa.com/t/loading-an-mp3-file-using-the-filereference-class/311049
**Category:** flash
**Created:** [June 26, 2010, 2:46am UTC](https://forum.kirupa.com/t/loading-an-mp3-file-using-the-filereference-class/311049 "2010-06-26T02:46:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![FlexAddict](https://avatars.discourse-cdn.com/v4/letter/f/71c47a/32.png) [@FlexAddict](https://forum.kirupa.com/u/FlexAddict)
#### Post date: [June 26, 2010, 2:46am UTC](https://forum.kirupa.com/t/loading-an-mp3-file-using-the-filereference-class/311049/1 "2010-06-26T02:46:48Z")

</div>

I’m trying to load an .mp3 file into a Sound object in my project. I want to do this by using the FileReference.browse() method. I already have a system, but due to security issues, FileReference can’t return the full file path and the Loader object can’t load anything besides .swf and images. I’m stuck here. I found a decent library here: [http://www.flexiblefactory.co.uk/flexible/?p=46](http://www.flexiblefactory.co.uk/flexible/?p=46), but I have no clue how to incorporate it into flash.

This is a pretty simple problem (being able to use the library), but I need a detailed explanation on it.

Much Appreciated.
