PSHostAdapter is the new name for PSEventAdapter. It is no longer delivered as a separate zip archive; it is integrated with Extension Builder.
Information on how to set up and use the host adapter libraries is provided with the ExtBuilder documentation. You can access it as follows:
- In ExtBuilder, go to Help -> CS Extension Builder Start Page. The start page opens.
- Under Learn more, click About Creative Suite SDK. The ExtBuilder help page opens.
- In the left navigation menu, select Programmer's Guide -> Using the host adapter libraries
- Read the "Adding the libraires to your project" and "Host Adapter plug-ins" sections for information on how to set up for development.
Thank you David!
I've found that FlashBuilder fires a warning first time I notice it):
PSHostAdapter not found in the Adobe Photoshop plugins. It may not be available for the Host Adapter libraries. .project /myProject line 1
This for an Extension Builder Project with the correct HostAdapter library selected:
I did a quick search and Finder says the file exists, buried somewhere:
/Applications/Adobe\ Flash\ Builder\ 4/plugins/com.adobe.cside.libsinstaller_18.104.22.168008301658/archive/csadapters-1.0/ps_host _adapter/mac/PSHostAdapter.plugin
Thanks in advance,
In order to use the PS or AI host adapter ActionScript library, you need to install a native host adapter plug-in (and bundle it with your extension - ExtBuilder handles this bundling automatically when you Export your extension).
The path you are finding is the path to the native plug-in within your Extension Builder installation.
To install the PS Host Adapter plug-in, you need to copy it from Extension Builder to your Photoshop plug-ins folder. For exact instructions, see the help page I reference in my previous post.
HTH, let me know if you need any clarification on these steps.