问题
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:
- How to make flash builder pack this folder while exporting release build and running on device.
- 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