Graphics Tutorial: A Glassy Green Button in Fireworks CS4

Charles Johnsonfollow me on twitter
Technology • Sat Jul 11, 2009 at 8:03 pm PDT • Views: 2,626

Believe it or not, several people emailed because they noticed our new Web 2.0-style buttons for Paypal donations and subscriptions and our Amazon store, and wanted to know where the heck I got those nice glassy gray buttons. Well, I made them myself with Adobe Fireworks CS4. There are many ways to create these kinds of buttons, and since it’s a hideously slow news night, here’s mine.

In this tutorial we’ll create a glassy green button that will end up looking like this:

We’ll start with a new 300x300 document with a white background, and use the rectangle tool to draw a rectangle measuring 160x80 pixels, then set the roundness to 15 pixels:

Then we’ll set the fill style to Linear Gradient, fading from the original medium green to a slightly darker green, and give the fill a slight diagonal angle:

Now we’re going to make a copy of this rounded rectangle, by using the Copy and Paste commands (on a Mac, Command-C followed by Command-V). The image won’t change, because the copy is placed directly on top of the original.

Next, switch to the Ellipse tool, and draw an ellipse starting above the left edge of our rectangle, resulting in a shape like this:

Select the copy of the rounded rectangle by holding Shift and clicking, so that both the ellipse and the copy of the rectangle are selected, then use the Combine Paths -> Intersection option:

This gives us a slice that matches the top edge of the rounded rectangle, with a smooth curve on the bottom. This is going to be the “reflection” at the top of our button. Adjust the gradient fill so that both colors are white, fading to transparent:

Now drag the bottom of the gradient fill marker (the square end) up to the bottom of the curved slice (we’ve switched to 400% magnification in this image):

In the next step we’ll use Fireworks’ live effects to add a pure white inner glow to the main rounded rectangle, with a width of 3 pixels, an opacity of 65%, and a softness of 7:

Then we’ll add a drop shadow with a width of 1 pixel, an opacity of 50%, and a softness of 5, to give it some more depth. For the color of the shadow, we’ll use the dark green at the bottom right of the main rectangle:

Next, we add a single-pixel soft medium green outline to the main rectangle. When we zoom in to check this, though, something doesn’t look right; that slice we created earlier is covering up the main rectangle’s outline:

So let’s adjust the size of that slice using Fireworks’ “Free Transform” tool. We’ll pull the top, right, and left sides in by one pixel:

Et voila! A very nice pseudo-glassy button, suitable for many Internet uses:

Advertisement

500 comments

^ back to top ^

Name:

Pass:

Register Forgot Your Password? Account Settings Re-send Confirmation (To log in, cookies must be enabled in your browser!)

Turn off ads by subscribing!
For about 33 cents a day, our subscription option turns off all advertisements at LGF!
Read more...


► LGF Headlines

  • Loading...

► Tweeted Articles

  • Loading...

► Tweeted Pages

  • Loading...

► Top 10 Comments

  • Loading...

► Bottom Comments

  • Loading...

► Recent Comments

  • Loading...

► Tools/Info

► LGF Hits

► Resources

► Never Forget

► Statistics

► Tag Cloud

► Contact

You must have Javascript enabled to use the contact form.
Your email:

Subject:

Message:


Messages may be published in our weblog, unless you request otherwise.
Tech Note:
Using the Contact Form

More Partners

Compare Electricity Prices in your area. Texas Electricity is deregulated; you have the right to choose Texas Electric Rates from among many Texas Electric Companies.

Contains petroleum distillates.

TwitterFacebook
LGF Pages
Recent Pages

Channeling Confucius
Gambling With Gay Marriage by David Cole
23 minutes ago
Views: 12 • Comments: 0
Tweets: 0 • Rating: 0

bella kat
quit smoking get rich quick!
30 minutes ago
Views: 19 • Comments: 0
Tweets: 0 • Rating: 0

bella kat
Who Is Foster Friess? Seven Facts You Need To Know
35 minutes ago
Views: 15 • Comments: 0
Tweets: 0 • Rating: 0

Ooh, look, shiny...
Time for a grammar debate
50 minutes ago
Views: 20 • Comments: 0
Tweets: 0 • Rating: 0

bella kat
design - the nexus of aesthetic and function
58 minutes ago
Views: 29 • Comments: 0
Tweets: 0 • Rating: 0

bella kat
yoko ono at 79
1 hour, 14 minutes ago
Views: 49 • Comments: 0
Tweets: 0 • Rating: 0

bella kat
Komen backlash leaves Race for the Cure scrambling to limit damage - The Guardian
1 hour, 22 minutes ago
Views: 50 • Comments: 0
Tweets: 0 • Rating: 1

Randall Gross
Sen. Grisanti and Wife Punched at Casino Friday Night - City & Region - the Buffalo News
1 hour, 26 minutes ago
Views: 56 • Comments: 0
Tweets: 0 • Rating: 0

MichaelJ
The Knicks' Jeremy Lin Keeps His Cool as Heads Spin Around Him
2 hours, 45 minutes ago
Views: 80 • Comments: 0
Tweets: 1 • Rating: 1

researchok
Dickinson State - Alleged Diploma Mill for Chinese
2 hours, 48 minutes ago
Views: 65 • Comments: 0
Tweets: 0 • Rating: 0

 Frank says:

Here I stand hoping against hope that it's a chick with a low voice. -- At a concert in Beloit, Wisconsin 1968 or 69, when a guy in the audience yelled out, "Eat me Zappa".