Android : URLRequest sounds won't play in app

on Friday, March 20, 2015


So I made a Flash based game that has sounds imported via URLRequests and some which are direct on frame which works fine in 'Test Movie'.


However, when an apk or ipa file is created none of the URLRequest sounds play, only the frame ones do. Is there a way to get URLRequest functions to work and somehow embed the audio? I've tried changing the Local Playback Security to no avail.


Sample code: var reloadsound:Sound = new Sound(new URLRequest("reloadsound.mp3")); reloadsound.play();


0 comments:

Post a Comment