Comments
Patrick Collands wrote: collands (AT) gmail com I'd be very grateful for an invitation. Thank you.
Cloud Expo on Google News

SYS-CON.TV

2009 East
PLATINUM SPONSORS:
IBM
Smarter Business Solutions Through Dynamic Infrastructure
IBM
Smarter Insights: How the CIO Becomes a Hero Again
Microsoft
Windows Azure
GOLD SPONSORS:
Appsense
Why VDI?
CA
Maximizing the Business Value of Virtualization in Enterprise and Cloud Computing Environments
ExactTarget
Messaging in the Cloud - Email, SMS and Voice
Freedom OSS
Stairway to the Cloud
Sun
Sun's Incubation Platform: Helping Startups Serve the Enterprise
POWER PANELS:
Click For 2008 West
Event Webcasts
Do It with Style
Do It with Style

The value of any piece of software is in how much time and effort it can save you. What good is the software if it is not going to increase productivity and efficiency? In several of my past articles, I have examined ways of automating common or repetitive processes. To that end, I am continuing the discussion this month. One of the great new features of Fireworks MX 2004 is the Styles Panel, shown in Image I.

This feature allows you to capture the properties of an object for use, later on, in another object. As an example, suppose you were to create an object with color shading and a bevel effect. Further, let's suppose that this particular job often. We can simply create it once and capture it as a Style. Each of the buttons is referred to as a preview icon.

The wording I just used is important. Notice I didn't say that you create the attributes in the Style, but simply capture them for later use. As you will soon see, we can determine which attributes we want to keep or not keep.

Let's begin by creating a simple Style.

Creating a Style
Let me start by doing something simple in order to show how easy it is to use. I am going to set up a simple object with a fill color and stroke as shown in Image II.

Obviously, it's not very exciting. However, it will give you a good working knowledge of using Styles for more complex scenarios.

Make sure that object is selected before you do the next step. In the Styles panel, click new. This is shown in Image III.

Here you can decide what you want to name your Style, as well as the properties you want to retain for the Style. For instance, in this case, if you were to shut off the Fill type and Fill color, you would just be left with the Stroke properties.

Notice as I stated earlier, we are not creating the Style's properties here. Those come from the object itself. We are only deciding which attributes we want to keep.

Once I say OK, the style is then added to the Styles Panel, with a preview icon, and can be used at any time.

To use the Style in another object, just select the object and then click on the preview icon in the Styles panel. As you can see, applying the Style is extraordinarily easy.

You should be aware that Fireworks saves many effects, such as shadow, glow, bevel, emboss, and stroke size, with absolute values. This means that a Style you apply to a small object may look different with a large object. For that reason, I may have similar styles for different size objects.

Editing a Style
To edit a Style, it is important that you first make certain no objects are selected. What I usually like to do is select Select>Deselect from the menu. That way, you know nothing is selected. I then double-click on the preview icon in the Styles panel. This opens up the dialogue box shown in Image III.

If you needed to change the actual attributes, such as the color of the fill or the stroke size, you would need to create a new Style altogether.

One handy feature is that you can have two styles with the same name. What I sometimes like to do is apply a Style to an object, change the attributes in the object, and capture the new attributes to a Style with the same name. I then delete the original Style.

Once again, you cannot directly change the attributes in the Style.

Importing and Exporting
As a designer, many times I might need to share styles with various other members of the team. Styles can easily be shared with other Fireworks users by using the Import and Export features found in the Options menu.

You first select the Style and then select Export Styles in the panel's option menu. You can decide where you want the file saved and, after naming it, the file will have an extension of .stl.

If you need to load an exported Style, simply select Import Styles from the option menu and browse to the file's location.

As a handy feature, you can export multiple Styles at the same time. You could click on the first Style and then shift-click on the last Style if they are grouped together or, if they are not adjacent, you could ctrl-click on the Styles that you want. Once they are selected, you then export as you would an individual Style. All the Styles would be saved to the one file name. The user importing the Styles would then get all the Styles in the file.

One other advantage is that, from time to time, you can find some nice Styles in the Fireworks section of the Macromedia Exchange. It is worth taking a look from time to time at www.macromedia.com and locating the Exchange link in the navigation bar.

Resetting the Styles
There may be a time when you want to reset your Styles panel back to the default settings. This would not only mean the original settings, but also deleting any custom Styles you might have.

Simply select the Reset Styles menu item from the option menu. You will receive a warning message and, after you select OK, the panel would be reset and any custom Styles would be gone (as well as the subsequent preview icons).

Conclusion
I am always amazed when I see a software user spend a large amount of time learning a complex feature, but then completely ignore a very simple feature.

As you can easily see, Styles is relatively simple to use, but is a powerful time-saving tool. This is in keeping with my previous articles discussing reusability.

Next month, we are going to examine situations where external programs might be useful.

About Charles E. Brown
Charles E. Brown is the former editor-in-chief of MX Developer's Journal. He is the author of Fireworks MX from Zero to Hero and Beginning Dreamweaver MX. He also contributed to The Macromedia Studio MX Bible. Charles is a senior trainer for FMC on the MX product family.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Latest Cloud Developer Stories
The Enterprise Cloud Requires a real time infrastructure and a management discipline that understands and can enforce service level discipline.
CloudBench Applications, Inc. announced its financial results for the three months and nine months ending September 30, 2009. All amounts are stated in Canadian dollars unless otherwise noted. Revenues from BasicGov, the Company's cloud computing solution for local government, gr...
The new contract is an industry first, with CSC being the first Microsoft partner to lead and win a cloud computing services agreement of this scale. Under terms of the contract, CSC will provide Royal Mail Group's 30,000 employees with access to new IT services using Microsoft's...
Operates in over 170 countries and is one of the world’s leading providers of communications solutions and services. Richard Tarboton talks for MeettheBoss.TV on his role as Head of Energy & Carbon for BT and what they are doing towards reducing carbon emissions.
CA is going to put its Agile Planner software on salesforce.com’s Force.com platform in the first half to accelerate development time and give users visibility over their development initiatives to reduce time-to-market. Customers are supposed to be able to accelerate the deploym...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON Featured Whitepapers
ADS BY GOOGLE

Breaking Cloud Computing News
CloudBench Applications, Inc. announced its financial results for the three months and nine months e...