Table of Contents

Introduction
Who Should Read This?
How Does It Work?
Download(s)
System and Software Requirements
Adobe Photoshop Reserved Words

Tutorials
Overview
  1. Starting a Flex Project
  2. Hello World Panel
  3. Placing the CSXS Library

  4. Shortcut Buttons Panel
    1. JavaScript
    2. Design the Panel
    3. ActionScript
    4. Photoshop Persistent
    5. CSXS Logger AIR Debugger (Optional)

  5. Setting Up Script Listener

  6. Color Picker Panel
    1. JavaScript
    2. Design the Panel
    3. Find Character ID Code to Register Events
    4. ActionScript
    5. Create Custom Icons

  7. Flickr Search Panel
    1. Design the Panel
    2. Create a Flickr Service
    3. Design a Custom Module
    4. Modify Panel's Properties
    5. Connect on Preferences

  8. Per Layer Metadata Panel
    1. View Metadata
    2. JavaScript
    3. Find Character ID Code to Register Events
    4. Designing the Panel
    5. ActionScript
    6. Using Photomerge
Other Samples
Best Practices
Frequently Asked Questions
Acronyms and Definitions
Links
Adobe® Photoshop® Panel Developer's Guide

Frequently Asked Questions

  1. Question: How can I debug my Adobe Photoshop Panels?
    Answer:

  2. 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.

  3. 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.
    1. Open a text editor.
    2. 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
    3. Save the file with any name of own's choosing with a cfg extension (i.e. anyName.cfg).
    4. 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.

  4. 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.

  5. 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

  6. 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.

  7. 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.

  8. Question: My Adobe Photoshop Panels are not updating in my project's folder on the desktop. What could be happening?
    Answer:
    1. 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.
    2. Clean the Project: Go to Project > Clean..., select Clean all projects, and press OK.