File.nativePathだとMacのOSXで読み込めない現象が


発生するらしいです。


これは忘れないうちに今後のためにメモっておきます。


Macだとfile:/// ○○の形じゃないとダメらしいです。


File.nativePathの罠?

以下一部引用です。
var _path:File = File.documentsDirectory.resolvePath("hoge.mp3")

trace(_path.nativePath);// C:\Users\murai\Documents\hoge.mp3

trace(_path.url);// file:///C:/Users/murai/Documents/hoge.mp3