Introduction
Adobe® Photoshop® CS4 and CS5 software has added a new feature to allow SWF files to run as a panel inside the digital imaging program. This document describes the process of creating such a panel. The Adobe Photoshop interface can be overwhelming for both new and seasoned users of the digital imaging program. The Adobe Photoshop Panel Developer's Guide will teach developers how to develop custom panels to run within Adobe Photoshop CS4 and Adobe Photoshop CS5. The developer community can develop panels to allow other users to use for their own custom needs. Some ideas of this concept include:
- Workflow Panels: Developers can create custom panels meeting the workflow of any work environment.
- Video Training: Developers can create video feeds that would teach others how to use Adobe Photoshop.
- Browsing Exchange: Developers can create a custom browser to exchange files and data from web sites, photo galleries, databases and load them directly into Adobe Photoshop.
- Peer-to-Peer Exchange: Developers can interact with other developers to communicate and exchange ideas and data.
Adobe® Photoshop® CS5
Brief notes for differences beetween CS4 and CS5. This guide is still referencing the CS4 documentation. It may or may not be up to date. More to come...
- If you are using a JSX file for Photoshop DOM operations you must recompile with the CSXSLibrary-2.0.swc
- LocalConnectionTarget and SocketTarget are no longer available. See Flex notes on using a logger and debugging your panel.
- Panel's compiled with the 2.0 swc will continue to work in CS4.
- All panels are now running in the AIR player engine, only one engine. This will impact any globals in the ActionScript code.
- All panels using scripts are now running in one single ExtendScript engine. This will impact any globals in the ExtendScript code.
- Alert.show("My string") will not work. Use Alert.show("My string", "My Title", Alert.OK, Sprite(mx.core.Application.application)) instead.
- ArrayCollection is not getting stored correctly. Use Array instead.