Flex Skinning: Too easy with CS3 and FB3!
From about 2001 to 2003, I spent a good deal of my time writing ColdFusion applications that backed Flash movies, first with loadVars() and then the blessing of Flash remoting. Flash is really the only "design" package I've ever felt comfortable with, and since I stopped working with it, I've really lost touch with skinning or designing just about anything.
Until now.
With Flex Builder 3 (Beta 3) and Flash CS3 (or just about any CS3 design product), I can skin my Flex apps pixel-perfectly with almost no sweat.
If you've got FB3 and Flash CS3 installed, here's a quick tutorial (works almost the same for Photoshop or Fireworks, too!):
- Install extensions.
The Flex Skin Design Extensions for Flash CS3 are available on the Adobe Labs site. They install like any other extension pack.
- Open template.
Start Flash and create a new project based on any template from the Flex Skins category. Let's use a button for our example:

- Redraw the Button to your liking.
Seriously. World's your oyster (with some limits). Redraw that thing and do a basic Save / Publish to create a .SWC.
- Import into Flex
Open up your Flex project, right click it, and do Import -> Flex -> Skin Artwork:

Choose the .SWC you just exported from Flash. Select (if necessary - for this simply example, it isn't!) which parts of the skin to import and click Finish:

It'll ask you if you want to to generate and include the necessary CSS automatically - say yes as you can just clean up the new .css file later:
You're done. Seriously. It'll 9-slice nicely (did you see the dashed guides in Flash), import your new css, and compile your new skin right into you application.
How slick is that? I think I'm going to move beyond my basic "white" CSS file that I use in all my Flex projects!
1 comments - Posted by Joe Rinehart at 9:03 AM - Categories: Flex
Yesterday afternoon I received the official word that I'm now a member of the Adobe Community Experts. I'm excited to be in this network, as it gives me a new pool of resources from which to draw upon for continued community support.