audio.loadStream from a file outside app's sandbox?

Is it possible to load an audio file that is not in the application sandbox, but elsewhere (for example on the desktop etc.)? I am guessing one possible solution would be to copy that file to the sandbox, and then load it with audio.loadStream for example, but is there a way to load it directly from location different from the default ones, specified in the directory constants?

No. display.*, audio.* expect files to be in one of the sandbox folders. If you want play an audio track you would need to copy the file to a writable sandbox folder (system.temporaryDirectory) and play it from there.

Rob

Got it! Thanks!

No. display.*, audio.* expect files to be in one of the sandbox folders. If you want play an audio track you would need to copy the file to a writable sandbox folder (system.temporaryDirectory) and play it from there.

Rob

Got it! Thanks!