Sound load error

is there a way to load sound file without embed

code here
var sound:Sound = new Sound(new URLRequest(“”));;

neko and windows error message: Sound.hx:100: Error: Could not load “

There’s no webserver running, so the url “” points to nothing.

For desktop target you can do

var sound = Sound.fromAudioBuffer("3.ogg"));

thanks for reply
i test you code and output error message:
src/Main.hx:32: characters 20-41 : Class<> has no field fromAudioBuffer
src/Main.hx:32: characters 42-73 : Unknown identifier : lime
Build halted with errors.

Sorry that was for the wrong version,

did you try var sound:Sound = new Sound(new URLRequest("3.ogg"));? (or "Assets/3.ogg" if you have your assets in the standard folder)

finally i use sound.loadCompressedDataFromByteArray() on cpp and neko
html5 i use sound.load()