Adobe Flex Authors: Matthew Lobas, PR.com Newswire, Shelly Palmer, Kevin Benedict

Related Topics: Adobe Flex

Adobe Flex: Article

Fireworks Flash Buttons in a Flash

Fireworks Flash Buttons in a Flash

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

  1. Open a new Fireworks MX 2004 document.
  2. 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.
  3. Select the object and, using the Property inspector, change the Fill color of the button. I used #CCCC99.
  4. Select the text tool and add some text to the button. Group the text and the button object (see Figure 1).
  5. 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.
  6. 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.

  7. Double-click the target on the Slice Guide to open the Button Symbol Editor.
  8. Click the "Up" tab, select both objects, and select Effects>Bevel and Emboss> Inner Bevel on the Property inspector.
  9. Change the flatness setting from 10 to 5 as shown in Figure 4.
  10. 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).
  11. 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.
Though I am showing a basic button here, don't forget you can apply textures and other effects to the button. If you have Alien Skin's "Eye Candy 4000" or "Splat" you can create some amazing effects, such as a button that looks like a "squashed bottle cap." Apply a texture to a circle, apply an Inner bevel, and then apply Splat's Edges filter and Eye Candy's Shadowlab. The techniques are the same, but the creativity I'll leave to you.

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:

  1. Leave Fireworks open but open a new Flash document.
  2. Return to Fireworks.
  3. 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.
  4. The "button" will appear on the Flash stage. In actual fact it isn't the "button". It is a flattened bitmap of the button.
  5. 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
  6. 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).
  7. 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.
For those of you wondering if six bitmaps is a lot of baggage to be bringing into Flash, you can cut it back. Simply create the three-buttons states in Fireworks and then, before leaving the Fireworks Button editor, click the state tab, select the button, and "Flatten" it by selecting "Flatten Selection" from the Fireworks Layer Options pop-down menu. When you drop the Layer slice into Flash, you will get three bitmaps - one for each state - instead of six.

The movie clip arrives because Flash automatically creates one for .png images - the native Fireworks file format- brought into Flash.

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.

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.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

IoT & Smart Cities Stories
We are seeing a major migration of enterprises applications to the cloud. As cloud and business use of real time applications accelerate, legacy networks are no longer able to architecturally support cloud adoption and deliver the performance and security required by highly distributed enterprises. These outdated solutions have become more costly and complicated to implement, install, manage, and maintain.SD-WAN offers unlimited capabilities for accessing the benefits of the cloud and Internet. ...
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
DXWorldEXPO LLC announced today that "IoT Now" was named media sponsor of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. IoT Now explores the evolving opportunities and challenges facing CSPs, and it passes on some lessons learned from those who have taken the first steps in next-gen IoT services.
SYS-CON Events announced today that Silicon India has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Published in Silicon Valley, Silicon India magazine is the premiere platform for CIOs to discuss their innovative enterprise solutions and allows IT vendors to learn about new solutions that can help grow their business.
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT staff augmentation services for software technology providers. By providing clients with unparalleled niche technology expertise and industry experience, Chetu has become the premiere long-term, back-end software development partner for start-ups, SMBs, and Fortune 500 companies. Chetu is headquartered in Plantation, Florida, with thirteen offices throughout the U.S. and abroad.
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY. DatacenterDynamics is a brand of DCD Group, a global B2B media and publishing company that develops products to help senior professionals in the world's most ICT dependent organizations make risk-based infrastructure and capacity decisions.
Nicolas Fierro is CEO of MIMIR Blockchain Solutions. He is a programmer, technologist, and operations dev who has worked with Ethereum and blockchain since 2014. His knowledge in blockchain dates to when he performed dev ops services to the Ethereum Foundation as one the privileged few developers to work with the original core team in Switzerland.