Flash builder include files in Release build

喜你入骨 提交于 2019-12-11 11:14:44

问题


My setup: Flash Builder 4.7

I have text file "1.txt" in folder "folder1" I added to project tree in Flash Builder. I want to read this file in runtime using file stream on iOS device. Question:

  1. How to make flash builder pack this folder while exporting release build and running on device.
  2. How to access this directory to to read this file.

(I can succesfully open "1.txt" runtime when running/debugging on device/air simulator if I place "folder1" in <path to my app>\bin-debug\ but it still doesn't work after "Export release build" action). Update: When i run Export Release Buid dialog i don't get folder1 on Package Contents tab, why????


回答1:


I finally figured it out. I've put my folder in src node in project tree. I don't think it is correct way to do this but it works...



来源:https://stackoverflow.com/questions/15752680/flash-builder-include-files-in-release-build

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!