0

I was just wondering if it was possible to retain files copied into the File.applicationStorageDirectory across multiple debugging sessions in Flash Builder?

I'm using it to store the application's database, after copying it over from the actual application directory (File.applicationDirectory) if it doesn't already exist in the user storage folder, and it'd be useful to not have to start with the base database every time.

I've had a look through the Debug configuration in Flash Builder, but couldn't find anything that seemed related. If anyone has any ideas, or workaround tips, it'd be much appreciated.

Thanks in advance.

4

1 回答 1

1

默认情况下,数据在实例之间保存。在窗口底部的调试配置中,有一个标记为“每次启动时清除应用程序数据”的选项,每次启动新的调试实例时都会自动擦除该目录。

于 2013-10-09T17:11:54.397 回答