December 30, 2008

Extending Photoshop via SWF Panels: Tutorials

If you’ve got some JavaScript/Flash/Flex chops and are looking for a mental exercise over the little holiday, heads up: Our friend Dr. Woohoo has been busily creating a large series of tutorials on how to develop AIR applications and Flash panels that can communicate with and drive Photoshop and Illustrator CS4.  The first two tutorials are online now.  Drew (the doc) writes:

 

Enhanced Hello World
Follow along with this tutorial to create a Hello World Flash panel for Photoshop. In this exercise, you will create a Flash plug-in within a Flex Builder MXML project. When you run the Flash panel within Photoshop, it will send code to Photoshop that, when executed, will display an alert dialog box with a message.

Integrating your ExtendScripts
In order to communicate to the host application (Photoshop or Illustrator CS4) using the CSXSLibrary SWC, our code is sent as a string message via BridgeTalk, which will then be evaluated once it reaches the host application. Not a big deal if we’re only sending a few lines of code at max, but when our ExtendScript code is lengthy, we would either have to manually wrap each line of code up as a string or use the work-around process we will use in this tutorial to simplify our life.

 

On a related note, Drew recently appeared on Inside Digital Design Radio & TV, talking about how he uses programming to do things like design custom kimonos:

 

Drew Trujillo, Designer–better known as Dr. Woohoo!–joins hosts Scott Sheppard and Gene Gable this week to share his background and an inside look at his amazing design work. Fusing the best of art, technology, and design Dr. Woohoo’s technical and programming background help him to bring his visions to life.

Posted by John Nack at 2:56 PM on December 30, 2008
Copyright © 2014 Adobe Systems Incorporated. All rights reserved.
Terms of Use | Privacy Policy and Cookies (Updated)