| By Tom Green | Article Rating: |
|
| September 8, 2004 12:00 AM EDT | Reads: |
19,741 |
It ever ceases to amaze me, whenever I am speaking at a conference or hanging out with the "Flashies" at various user groups, to hear them tell me how they create their really "cool" buttons in that behemoth from a company named after a building material. When I ask them if they have the Studio, the answer is an inevitable: "Well 'duh,' of course I do!" Somehow, it seems, the message still hasn't gotten out that Fireworks MX 2004 is one serious "button creating behemoth" when it comes to Flash.
Here's how to create a button in Fireworks MX 2004 that also functions as a button in Flash MX 2004.
A Simple 3-State Button
- Open a new Fireworks MX 2004 document.
- Select the rounded rectangle tool from the Fireworks Tool bar and draw a rectangle that is 100 pixels wide by 40 pixels high. You can also enter these dimensions in the Fireworks Property inspector.
- Select the object and, using the Property inspector, change the Fill color of the button. I used #CCCC99.
- Select the text tool and add some text to the button. Group the text and the button object (see Figure 1).
- Select the object on the canvas and press the F8 key which opens the Symbol Properties box (see Figure 2). Coincidentally, this is the same key you would press in Flash to convert a selected object to a Symbol.
- Name the symbol and select the "Button" property. Click OK.
The button will now appear behind a green Slice Guide (see Figure 3). Don't worry about it, but it is critical to this technique so don't remove it.
- Double-click the target on the Slice Guide to open the Button Symbol Editor.
- Click the "Up" tab, select both objects, and select Effects>Bevel and Emboss> Inner Bevel on the Property inspector.
- Change the flatness setting from 10 to 5 as shown in Figure 4.
- Click the Over tab and when the blank screen appears, click the "Copy Up Graphic" button. Select the object in this window, and click the "i" symbol beside the Live Effect in the Property inspector. Select Inset from the button presets at the bottom of the Inner Bevel dialog box that will open (see Figure 5).
- Repeat the previous step for the "Down" button, but select "Inverted" from the button presets. Click "Done" when you are finished. You will return to the Fireworks canvas.
Fireworks-to-Flash in a Flash
Importing Fireworks images into Flash MX 2004 can be somewhat complicated and requires a number of decisions. It doesn't have to be, though. You can "end run" the entire process and still have the same results. Here's how:
- Leave Fireworks open but open a new Flash document.
- Return to Fireworks.
- Click and drag the green Slice Guide from Fireworks onto the Flash stage. When you see a dotted outline of the button beside your mouse on the Flash stage, release the mouse.
- The "button" will appear on the Flash stage. In actual fact it isn't the "button". It is a flattened bitmap of the button.
- Open the Flash Library and you will see:
- Six bitmaps - Three for the button shape and three for the text, and
- One folder named Fireworks Objects containing a Movie Clip and a Button Symbol - Delete the bitmap on the Flash stage and feel free to delete the Movie Clip in the Fireworks Objects Folder. You don't need either one (see Figure 6).
- Drag the Button symbol onto the Flash stage and, if you select Control> Enable Simple buttons, you will discover your Fireworks button functions exactly like a Flash button.
The movie clip arrives because Flash automatically creates one for .png images - the native Fireworks file format- brought into Flash.
Summary
There you have it. Create the button, drag the Fireworks Slice Guide into Flash and the button is automatically added to the Flash Library. That's how you build Flash buttons in Fireworks.
You don't have to be conservative. Figure 7 is a Fireworks button that squashes the image when the cursor rolls over it.
Published September 8, 2004 Reads 19,741
Copyright © 2004 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Tom Green
Tom Green describes himself as 'teacher, author, chief cook and bottle washer.' He is an instructor at Humber College's School of Media Studies in Toronto, and is also the author of 'Building Web Sites with Macromedia Studio MX' and 'Building Dynamic Web Sites with Macromedia Studio MX 2004,' both published by New Riders.
- Ulitzer.com Named Exclusive "New Media" Sponsor of Cloud Computing Conference & Expo
- Adobe’s Aiming ColdFusion at Multiple Clouds
- Cloud Computing Journal: Adobe to Deliver ColdFusion in the Cloud
- Adobe Unveils LiveCycle Enterprise Suite 2 for Deployment in the Cloud
- Adobe Flex Developer Earns $100K in New York City
- Adobe May Cooperate with Apple to Transplant Flash Player to iPhone
- Ph.D. in Twitter Anyone?
- Eolas Sues the Internet
- Adobe LiveCycle Enterprise Suite 2 for Cloud Computing
- Adobe Betas Target RIAs and Cloud Computing
- Special Report on the Emerging Cloud Computing Trend
- Adobe Cans Another 9% of its Workforce
- My Thoughts on Ulitzer
- Ulitzer.com Named Exclusive "New Media" Sponsor of Cloud Computing Conference & Expo
- Ulitzer Live! New Media Conference & Expo
- Adobe’s Aiming ColdFusion at Multiple Clouds
- Eval JavaScript in a Global Context
- Fig Leaf Software to Exhibit at Government IT Conference & Expo
- Cloud Executives Feature on Cloud Computing Expo Power Panel
- Software Flexibility in the Cloud - Part 4 of 5
- Cloud Computing Journal: Adobe to Deliver ColdFusion in the Cloud
- Is Microsoft as Free as Open Source?
- Adobe Reader Sued
- Adobe Unveils LiveCycle Enterprise Suite 2 for Deployment in the Cloud
- Where Are RIA Technologies Headed in 2008?
- Cover Story: How to Increase the Frame Rates of Your Flash Movies
- AJAX World RIA Conference & Expo Kicks Off in New York City
- Your First Adobe Flex Application with a ColdFusion Backend
- Adobe Flex 2: Advanced DataGrid
- i-Technology Blog: Death-Knell For "Rich Media? Hardly!
- Adobe/Macromedia - Microsoft, Look Out!
- How To Create a Photo Slide Show ...
- Adobe Flex Interface Customization - Themes, Styles, Skins
- Personal Branding Checklist
- Has the Technology Bounceback Begun?
- "Real-World Flex" by Adobe's Christophe Coenraets



































