ActionScript Mobile Project でテキスト ファイルから単語を読み込もうとしています。次に、各 Word が配列に格納されます。これは AIR IOS シミュレーターでは正常に動作しますが、現在 Ipad でデバッグしていて動作しません...
エラー #2044: 未処理の ioError:。text=エラー #2032: ストリーム エラー。URL: app:/var/mobile/Applications/13FB44C5-E2EB-421F-9EF8-CB1290B75DD8/Library/Application%20Support/com.mcmami3.word/Local%20Store/media/words5.txt
private function slangLoadedThree(event:Object):void {
slangContentThree = event.target.data;
slangArrayThree= slangContentThree.split("\n");
}
//five letter load
var xmlFileFive:File=new File(File.applicationStorageDirectory.nativePath).resolvePath("media/words5.txt");
myLoaderThree.load(new URLRequest(xmlFileFive.nativePath));
myLoader.addEventListener(AsyncErrorEvent.ASYNC_ERROR, errorHandlerAsyncErrorEvent);
myLoader.addEventListener(IOErrorEvent.IO_ERROR, errorHandlerIOErrorEvent);
myLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandlerSecurityErrorEvent);
myLoaderThree.addEventListener(Event.COMPLETE, slangLoadedThree);