bird.mp3 is bundled with the app.
var file:File = File.applicationDirectory.resolvePath("includes/audio/bird.mp3");
trace("file",file.exists);
trace("file",file.nativePath);
trace("file",file.url);
outputs
file true
file
file app:/includes/audio/bird.mp3
In order to access a nativePath so I can play the sound (with Distriqt AudioPlayer) I have to
var file:File = File.applicationDirectory.resolvePath("includes/audio/bird.mp3");
var fileAccessible:File = File.applicationStorageDirectory.resolvePath("bird.mp3");
file.copyTo( fileAccessible );
But AssetManager.playSound("bird") can play the file?