How to play audio in Documents folder in iphone.

Hi,
I want to try to play ogg file in iphone Documents folder.
this is what i did but it doesn’t work.
im using unity3.1 pro.

....................................
    www = new WWW("file:///var/mobile/Applications/6832F66D-DC62-40A1-A026-2436F6479CE1/Documents/song.ogg");
    if (www == null)
        return null;



    return www.oggVorbis;
...................................

You need to wait for the file to load - the easiest way to do this is to yield the WWW object:-

www = new WWW("file:///var/mobile/Applications/6832F66D-DC62-40A1-A026-2436F6479CE1/Documents/song.ogg");
yield www;

Alternatively, you might find it easier to place the audio asset in a folder called Resources in your project and access it with Resources.Load.

thank you. it works!!!