Adobe® Photoshop® Panel Developer's Guide
Frequently Asked Questions
- Question: How can I debug my Adobe Photoshop Panels?
Answer:
- Question: How can I add icons to my Adobe Photoshop Panels?
Answer: The Create Custom Icons section of the Color Picker Panel tutorial demonstrates this process.
- Question: How can I give the Adobe Flash Player trust permissions for the local SWF files in Adobe Photoshop?
Answer: The following instructions gives a general overview of how to create a configuration file and place within the FlashPlayerTrust folder. Please note that if such a SWF file will be reading from or writing to a user's local hard drive, it would be the developer's responsibility to provide these same instructions.
- Open a text editor.
- Make a new document and enter the path of where the Panels folder under Adobe Photoshop CS5\Plug-ins\ is located. By default:
- \Applications\Adobe Photoshop CS5\Plug-ins\Panels for Macintosh
- C:\Program Files\Adobe\Adobe Photoshop CS5\Plug-ins\Panels for Windows
- Save the file with any name of own's choosing with a cfg extension (i.e. anyName.cfg).
- Place the file (i.e. anyName.cfg) into the FlashPlayerTrust folder under:
- \Library\Application Support\Macromedia for Macintosh
- [user]\Application Data\Macromedia\Flash Player\#Security for Windows
Note: Viewing hidden folders must be enabled for the Application Data folder to show.
- Question: Why can't I add submenus to my Adobe Photoshop Panel's flyout menu?
Answer: As of this moment, submenus are not supported. Flyout menu can only have one level.
- Question: How do I prevent SWF file from loading into Adobe Photoshop?
Answer:
- Preceding Tilde: Placing a preceding tilde (~) for the SWF files (i.e. ~ColorPicker.swf)
- Delete/Remove: Deleting or removing the SWF file from the Panels folder
- Question: How do I set a size or resize my Adobe Photoshop Panels?
Answer: This was briefly discussed under Modify Panel's Properties in the Flickr Search Panel Tutorial. You can change the size with the variable type WindowGeometry.
- Question: Why can't the files that normally run in Adobe AIR run as Adobe Photoshop Panels?
Answer: The files that normally run in Adobe AIR uses the AIRPlay Dynamic Link Library while the files discussed and produced in the tutorials uses the AuthPlay Dynamic Link Library that normally runs in Adobe Flash Player. Whenever the user create a new Flex Project within the tutorials, the user selects Web application (runs in Flash Player) under Application type. Please see the Adobe AIR FAQ for more information including the comparison of Adobe AIR to Flash Player.
- Question: My Adobe Photoshop Panels are not updating in my project's folder on the desktop. What could be happening?
Answer:
- Misplaced Project Folder: Go to the Project Navigator window. Right-click on the project's folder and select Properties. Select Resource on the left column. The Location: gives the path of where the project is placed.
- Clean the Project: Go to Project > Clean..., select Clean all projects, and press OK.