I’ve been making a large set of new UI components and trying to get some nice skins going for them. Although I am a PC guy, I’ve always admired the style of the Mac interface.
There are about a million tutorials out there on how to make Mac style aqua buttons in Photoshop and Fireworks, and it’s relatively easy to do, but I didn’t want to be importing bitmaps. So I took one of the Fireworks tutorials and duplicated the actions as much as I could in Flash. The result was surprisingly nice. I also realized that everything I was doing could be done in JSFL. So I sat down and made a JSFL command to do just that.
Here is is: https://www.bit-101.com/jsflstuff/aquabutton.zip.
Just unzip that into your commands directory and you’re good to go. Choose the command from the commands menu and you get a dialog where you can choose the color button, size and a unique library name. The new button is created in a movie clip and placed on stage for you.
Realize that this is more of a button skin than an actual button with different states. You’ll have to make three different buttons with slightly different colors and assemble them into a real button if that’s what you want.
Update: Just fixed it up so it appears stable on a Mac now. Thanks to Sam Robbins for letting me crash his computer multiple times while I sorted it out.