I've created a panel for Photoshop which reads an XML file to populate some controls. When run from Flash Builder 4 through the web browser it works just fine, but when run from within Photoshop the XML file is not being read. Uploading the XML file to a web site and referencing it via URL in the panel works sucessfully in both the web browser and from within Photoshop, suggesting some type of security issue.
The Panel Developer's Guide FAQ talks about giving the Adobe Flash Player trust permissions by creating .cfg files that reference the folder the panel is running from.
I have created these .cfg files and placed them in both:
/Library/Application Support/Macromedia/FlashPlayerTrust
and also in:
USER/Library/Preferences/Macromedia/Flash Player/#Security/FlashPlayerTrust
but the problem remains.
Environment:
Mac OSX 10.6
Photoshop CS5
Flex Builder 4
Flex SDK 3.5
Any help/suggestions appreciated.