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: 3,047

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? 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

► 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.

The on going rethoric of Darwinst Rage Boy.

TwitterFacebook
LGF Pages
Recent Pages

Channeling Confucius
The 7 Most Terrifying Archaeological Discoveries
1 minute ago
Views: 5 • Comments: 0
Tweets: 0 • Rating: 0

Aigle
Ha'aretz, Lost in Translation
57 minutes ago
Views: 48 • Comments: 3
Tweets: 0 • Rating: 0

Randall Gross
Government Employment Drops Under Obama, but Media Run With Romney Myth Anyway
2 hours, 47 minutes ago
Views: 102 • Comments: 0
Tweets: 1 • Rating: 0

researchok
French Philosopher Alain Badiou on the Real Expression of Love: 'If You Limit Yourself to Sexual Pleasure It's Narcissistic'
6 hours, 51 minutes ago
Views: 81 • Comments: 0
Tweets: 0 • Rating: 0

Haywood Jabloeme
Closing the Racial and Generational Divides
10 hours, 41 minutes ago
Views: 89 • Comments: 0
Tweets: 0 • Rating: 1

Aziz Poonawalla
I Speak for Myself: All-American
14 hours, 37 minutes ago
Views: 135 • Comments: 0
Tweets: 0 • Rating: 5

Mostly sane, most of the time.
So wake up and notice already
2 days, 10 hours ago
Views: 294 • Comments: 0
Tweets: 2 • Rating: 7

Daniel Ballard
Late Afternoon Light-Kalanchoe
3 days, 14 hours ago
Views: 268 • Comments: 0
Tweets: 0 • Rating: 5

Eclectic Infidel
City College of San Francisco Budget Update
3 days, 15 hours ago
Views: 317 • Comments: 0
Tweets: 0 • Rating: 1

MichaelJ
Apple TV Slated to Debut in December?
4 days, 21 hours ago
Views: 370 • Comments: 0
Tweets: 0 • Rating: 1

 Frank says:

The crux of the biscuit is: If it entertains you, fine. Enjoy it. If it doesn't, then blow it out your ass. I do it to amuse myself. If I like it, I release it. If somebody else likes it, that's a bonus. -- What he's talking about is obvious. He said this in an interview with Playboy magazine on May 2, 1993.