Cs6 publishing and files not found

Hi Guys an Gals
I have a small test app that simple lists the contents of a folder into a listbox.
When I publish the project as Air or IOS etc the listbox is empty. Yes I am adding the folder in settings.
Could anyone help with how fix the path problem?
Regards
Frederick