<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IDUX &#187; Dave</title>
	<atom:link href="http://www.idux.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.idux.com</link>
	<description>Information, Interaction, and Experience Design</description>
	<lastBuildDate>Wed, 17 Aug 2011 22:24:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Instant Hipster Photo Styles for Adobe Fireworks</title>
		<link>http://www.idux.com/2011/08/17/instant-hipster-photo-styles/</link>
		<comments>http://www.idux.com/2011/08/17/instant-hipster-photo-styles/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 22:24:08 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Fireworks]]></category>
		<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://www.idux.com/?p=455</guid>
		<description><![CDATA[Sending modified photos from mobile devices has become big business for apps like Instamatic and Hipstamatic, but what if you want to create similar effects for photos not on your mobile device? Adobe Fireworks, Live Filters, and Styles to the rescue!

Live Filters are non-destructive, which means you can edit the settings and tweak the results [...]]]></description>
			<content:encoded><![CDATA[<p>Sending modified photos from mobile devices has become big business for apps like Instamatic and Hipstamatic, but what if you want to create similar effects for photos not on your mobile device? Adobe Fireworks, Live Filters, and Styles to the rescue!</p>
<p><span id="more-455"></span></p>
<p>Live Filters are non-destructive, which means you can edit the settings and tweak the results as much as you want without worrying about destroying or altering the original image. These photo styles were optimized for images from 300 x 300 to 750 x 750 pixels, which makes them perfect for use on web sites and sharing pictures by email.</p>
<p>Here are the 17 styles included in this set (with an original photo shown for reference):</p>
<p><a href="http://www.idux.com/wp-content/uploads/2011/08/Photo_Styles.png"><img class="aligncenter size-full wp-image-456" title="InstaHip Photo Styles" src="http://www.idux.com/wp-content/uploads/2011/08/Photo_Styles.png" alt="InstaHip Photo Styles" /></a></p>
<p>To use these photo styles:</p>
<ol>
<li>Download <a title="InstaHip Photo Styles (ZIP)" href="http://www.idux.com/downloads/InstaHip_Photo_Styles.zip">InstaHip Photo Styles</a> (ZIP file)</li>
<li>Unzip the package</li>
<li>Start Fireworks</li>
<li>Open the Styles Panel</li>
<li>Choose &#8220;Import Style Library&#8230;&#8221; from the options menu (top right corner)</li>
<li>Navigate to and choose  the .STL file unzipped in step #2</li>
<li>Instahip Photo Styles will now be in your Style Libraries</li>
<li>Import or open a photo with Fireworks</li>
<li>Choose and apply an InstaHip Photo Style</li>
<li>Share and Enjoy!</li>
</ol>
<p>Different effects will work better with different photographic content. For example, the Pinhole style works well on still life and scenery, but not on fast action shots. Try different styles to find what looks best for the photo, and you can always modify the style by editing the Live Filter settings.</p>
<p>Have fun, create your own photo styles, and share your instantly hip photos with us!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idux.com/2011/08/17/instant-hipster-photo-styles/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What Are Index and Alpha Transparency?</title>
		<link>http://www.idux.com/2011/02/27/what-are-index-and-alpha-transparency/</link>
		<comments>http://www.idux.com/2011/02/27/what-are-index-and-alpha-transparency/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 03:04:33 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Design Value]]></category>
		<category><![CDATA[Fireworks]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://www.idux.com/?p=424</guid>
		<description><![CDATA[There is often confusion between index and alpha transparency. What are they? When do we use them? How do we create them?

Index Transparency
Index transparency is the simpler. A GIF file has two parts: a color table and the image pixel data. The color table is a list of the colors used in that image (an [...]]]></description>
			<content:encoded><![CDATA[<p>There is often confusion between index and alpha transparency. What are they? When do we use them? How do we create them?</p>
<p><span id="more-424"></span></p>
<h2>Index Transparency</h2>
<p>Index transparency is the simpler. A GIF file has two parts: a color table and the image pixel data. The color table is a list of the colors used in that image (an 8-bit GIF can have up to 2^8 = 256 colors in the color table, but a 4-bit GIF can have only 2^4 = 16 colors), and each color is assigned a number. The image pixel data are for the image itself, and each pixel is assigned a number that points to its color in the color table. For example, if color #10 in the color table is red (#FF0000), then any pixel in the image with the number 10 will be displayed as red. The colors in the color table will vary from GIF file to GIF file based on the image itself; color #10 will not always be red. The color table is the set of up to 256 colors necessary to render that image.</p>
<p>When we add index transparency, every color in the color table is given a transparency designation in addition to its color data  (i.e., RGB values):</p>
<ul>
<li>zero (o = False in Boolean algebra) means do not display this color, or</li>
<li>one (1 = True in Boolean Algebra) means display this color.</li>
</ul>
<p>There are no intermediate opacities; the color is either displayed or it is not. The end result is that a pixel with an index transparency color will not be displayed and whatever is in the background behind that pixel will show through. For example, if color #10 is red (#FF0000) and is designated as transparent (index transparency = 0), then any pixel that is color #10 will not be displayed and the background will show through.</p>
<p>There can be multiple transparent colors in index transparency, because every color in the color table has a designation of either opaque (1) or transparent (0). Most graphics programs assume that the canvas color (often white, but it could be any color) is the default transparent color, but you can specify any color (or any number of colors) as transparent or not.</p>
<p>This type of transparency is very common in GIF and PNG8 files and is easy to identify, because there is no fading, there are no partially transparent pixels, and the edges are often described as &#8220;hard&#8221; or &#8220;pixelated.&#8221;</p>
<p><a href="http://www.idux.com/wp-content/uploads/2011/02/index_transparency.png"><img class="aligncenter size-full wp-image-439" title="Color with index transparency" src="http://www.idux.com/wp-content/uploads/2011/02/index_transparency.png" alt="Color with index transparency" width="400" height="200" /></a></p>
<h2>Alpha Transparency</h2>
<p>Alpha transparency is more complex. Every color in a graphic has an alpha channel value to indicate how transparent it is (i.e., the degree of opacity.) When you see references to the RGBA color space, the color is defined by the (R)ed, (G)reen, and (B)lue channels, and the (A)lpha value defines the opacity for that color where:</p>
<ul>
<li>zero (0) = completely transparent  (there is 0% rendering of that pixel&#8217;s color &#8211; all of the background  &#8220;shows through&#8221;), and</li>
<li>one (1) = completely opaque (there is 100% rendering of  that pixel&#8217;s color &#8211; none of the background &#8220;shows through.&#8221;)</li>
</ul>
<p>Alpha  transparency is a way to support gradations of opacity on a continuum. Values between zero (0) and one (1) allow some of the background to &#8220;show  through&#8221; and &#8220;mix&#8221; with that color. Values closer to zero (0) show more  background, and values closer to one (1) show less background. A range of opacity makes it possible to create graphics that fade away or have smoother edges.</p>
<p><a href="http://www.idux.com/wp-content/uploads/2011/02/alpha_transparency.png"><img class="aligncenter size-full wp-image-440" title="Drop shadow with alpha transparency" src="http://www.idux.com/wp-content/uploads/2011/02/alpha_transparency.png" alt="Drop shadow with alpha transparency" width="400" height="200" /></a></p>
<h2>PNG32, PNG24, and Alpha Transparency</h2>
<p>In Adobe Fireworks, alpha transparency is most often used with the PNG32 format. In a PNG32 file, there are four bytes (8 bits per byte) for each color:  (R)ed, (G)reen, (B)lue, and (A)lpha, which adds up to 32 bits per color (24 bits for color and 8 bits for opacity via the alpha channel.) This means that alpha transparency  in a PNG32 file is one (1) byte (8 bits) and can have a value from 0 (0%) to  255 (100%). Each step in the opacity continuum for 8-bit alpha  transparency equals a 0.392% change in opacity; this is small enough  that our eyes see a relatively smooth change along that opacity continuum.</p>
<p>Note that Adobe Photoshop uses the name PNG24 for the same 32-bit file type, because it only counts  the three RGB color channels, but a Photoshop PNG24 <em>does</em> support alpha  transparency (and really should be called a PNG32, because each color has  four bytes, or 32 bits, of color and opacity data.) The PNG24 format in Fireworks includes <em>only</em> the three RGB color channels and does not support <em>any</em> transparency.</p>
<h2>PNG8, GIF, and Alpha Transparency</h2>
<p>You may also have seen references to <a title="PNG8 support for alpha transparency" href="http://bytesizecss.com/blog/post/alpha-png8-in-fireworks/" target="_blank">alpha transparency support in PNG8</a> files exported from Adobe Fireworks. For many years this has been a way to display alpha transparent images more cleanly in Internet Explorer 6, because Internet Explorer 6 does not support PNG32 with alpha transparency, but it treats a PNG8 file with alpha transparency like a GIF with index transparency. The result is not as smooth and aesthetically pleasing as true alpha transparency, but it also avoids the &#8220;grey box of doom&#8221; that Internet Explorer 6 would normally display for the PNG32 with alpha transparency file. Luckily, Internet Explorer is no longer a dominant browser, but there are enough people still using it that this PNG8 technique is still useful.</p>
<p>So, how does PNG8 support alpha transparency? It adds a four (4) bit alpha channel to the color table for the PNG8 file. This increases the file size slightly, and there are only 16 levels in the opacity continuum (2^4 = 16 levels, where 2^8 = 256 levels for PNG32 alpha transparency), so a gradual fade is more likely to look pixelated or exhibit banding.</p>
<p>If you look in the Optimize panel in Adobe Fireworks, you will notice that the GIF file format has three choices for transparency: None, Index, and Alpha. However, GIF files do not support alpha transparency, so the Index and Alpha options work exactly the same way. (I suppose that alpha transparency should not even be offered as an option for the GIF format, since GIF only supports index transparency.)</p>
<h2>Creating Images with Alpha Transparency</h2>
<p>The most obvious examples of alpha transparency are  glows and shadows: they seem to fade as they get farther from the  object, and when placed over a background pattern or image you can see  that more and more background &#8220;shows through&#8221; as the glow or shadow gets  lighter.</p>
<p><a href="http://www.idux.com/wp-content/uploads/2011/02/fade_background_visible1.png"><img class="aligncenter size-full wp-image-433" title="Background visible through fade" src="http://www.idux.com/wp-content/uploads/2011/02/fade_background_visible1.png" alt="Background visible through fade" width="400" height="200" /></a></p>
<p>You can also create an opacity continuum with alpha transparency by:</p>
<ul>
<li>Creating a gradient fill and setting the opacity at one end to 100% and  to 0% at the other, and you can even create bands of transparency by inserting multiple opacity points along the gradient:</li>
</ul>
<p><a href="http://www.idux.com/wp-content/uploads/2011/02/gradient_opacity.png"><img class="aligncenter size-full wp-image-438" title="Gradient with opacity nodes" src="http://www.idux.com/wp-content/uploads/2011/02/gradient_opacity.png" alt="Gradient with opacity nodes" width="400" height="340" /></a></p>
<ul>
<li>Applying a grayscale vector mask to an image:</li>
</ul>
<p><a href="http://www.idux.com/wp-content/uploads/2011/02/grayscale_mask1.png"><img class="aligncenter size-full wp-image-436" title="Image with grayscale mask" src="http://www.idux.com/wp-content/uploads/2011/02/grayscale_mask1.png" alt="Image with grayscale mask" width="400" height="200" /></a></p>
<p>Using a grayscale mask works by calculating the opacity of an image pixel  based on the amount of white in the mask pixel:</p>
<ul>
<li>If the mask pixel has 0%  white (i.e., it is black, #000000), then 0% of the image pixel is shown (i.e., the  image becomes completely transparent),</li>
<li>If the mask pixel has 100% white  (i.e., it is white, #FFFFFF), then 100% of the image pixel is shown (i.e., the image is  completely opaque),</li>
<li>The shades of grey between black and white produce  graduated opacity, and the image appears to fade from transparent to  opaque along a gradual continuum.</li>
</ul>
<h2>Filter: Convert to Alpha</h2>
<p>Finally, Adobe Fireworks provides the ability to take any image or object and calculate the alpha transparency based on the luminosity of each color by adding a filter (Filters &gt; Other &gt; Convert to Alpha.) The lighter the original color, the more transparent it becomes. The darker the original color, the less transparent it becomes. The end result is a grayscale image where lighter grays are more transparent than darker grays. This is useful if you want to create a mask to help isolate or extract a portion of an image or superimpose one image over another and have the two images appear to blend.</p>
<p><a href="http://www.idux.com/wp-content/uploads/2011/02/convert_to_alpha1.png"><img class="aligncenter size-full wp-image-444" title="Image with convert to alpha filter applied" src="http://www.idux.com/wp-content/uploads/2011/02/convert_to_alpha1.png" alt="Image with convert to alpha filter applied" width="400" height="620" /></a></p>
<h2>Photographs, JPEGs, and Transparency</h2>
<p>Most images with transparency are graphics like logos and icons. There is a reason we rarely see transparency with photographs: the  consolidation of colors in the color table for GIF and PNG8 files reduces the number of colors from many to a few.</p>
<p>When you have a photograph,  there is a wide range of colors &#8211; usually far more than the 256 limit imposed by an 8-bit image format &#8211; so when  you constrain the color palette of an image to 256 or fewer colors, the graphics program must calculate which colors are <em>near</em> one another and then assign them  all to the same color value. For example, anything that is &#8220;near white&#8221; will be  assigned to &#8220;white&#8221;, and when white is a transparent color, anything  &#8220;near white&#8221; in the original image will also become transparent. This is  simply the way that any 8-bit image format works &#8211; 8 bits only allow  for 256 colors, so all &#8220;near colors&#8221; are combined into a single color  value. All of the &#8220;near reds&#8221; become red, all &#8220;near blues&#8221; become blue,  etc. This makes it possible to represent the image relatively accurately  with far fewer colors.</p>
<p>This is also why 8-bit formats (GIF, PNG8) are  <em>not</em> good for photographs: there are simply too many colors in most  photographs to be accurately rendered with 256 or fewer colors. The JPEG  format allows for many more colors, but it does not support  transparency, and it is a lossy format (i.e., it uses compression  algorithms that compress the image data, therefore some original image  data are lost.)</p>
<p>For more information about alpha transparency and how it is calculated, read about <a title="Alpha Compositing" href="http://en.wikipedia.org/wiki/Alpha_compositing" target="_blank">Alpha Compositing on Wikipedia</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idux.com/2011/02/27/what-are-index-and-alpha-transparency/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Create More Efficient Files in Adobe Fireworks</title>
		<link>http://www.idux.com/2011/02/13/create-more-efficient-files-in-adobe-fireworks/</link>
		<comments>http://www.idux.com/2011/02/13/create-more-efficient-files-in-adobe-fireworks/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 04:10:06 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Fireworks]]></category>

		<guid isPermaLink="false">http://www.idux.com/?p=417</guid>
		<description><![CDATA[I hosted a live screencast (with some Fireworks Q&#38;A at the end) on Wednesday, February 16, 2011 at 6.00p PT (9.00p PT.) The  recorded session is now available online.
Watch &#8220;Create More Efficient Files in Adobe Fireworks&#8221; &#62;
I showed how to use the Master Page, Shared Layers, Symbols, and Styles to save time and effort when [...]]]></description>
			<content:encoded><![CDATA[<p>I hosted a live screencast (with some Fireworks Q&amp;A at the end) on Wednesday, February 16, 2011 at 6.00p PT (9.00p PT.) The  recorded session is now available online.</p>
<p><a title="Create More Efficient Files in Adobe Fireworks" href="http://experts.adobeconnect.com/p77461802/" target="_blank">Watch &#8220;Create More Efficient Files in Adobe Fireworks&#8221; &gt;</a></p>
<p>I showed how to use the Master Page, Shared Layers, Symbols, and Styles to save time and effort when working in Adobe Fireworks. These techniques are relevant if you use Fireworks for interaction design or visual design.</p>
<p><a title="Efficient Fireworks Demo File" href="http://www.idux.com/downloads/Efficient_Fireworks.fw.zip" target="_self">Download the demo file from the video here.</a></p>
<p>Thank you to everyone who attended, and if you have ideas or requests for future Adobe Fireworks screencasts, please leave me a note in the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idux.com/2011/02/13/create-more-efficient-files-in-adobe-fireworks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>D2W Conference: July 2011 in Kansas City</title>
		<link>http://www.idux.com/2011/02/06/d2w-conference-july-2011-in-kansas-city/</link>
		<comments>http://www.idux.com/2011/02/06/d2w-conference-july-2011-in-kansas-city/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 00:34:16 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Fireworks]]></category>
		<category><![CDATA[Interaction Design]]></category>
		<category><![CDATA[User Experience]]></category>
		<category><![CDATA[conference]]></category>

		<guid isPermaLink="false">http://www.idux.com/?p=411</guid>
		<description><![CDATA[I will be speaking at the Designer to Developer Workflow (D2W) Conference in Kansas City this July 14-16 near the Power &#38; Light District. This is a great conference for those of us working on multi-disciplinary teams and who are often moving among design, prototypes, and code.
I will be teaching one all-day class and giving [...]]]></description>
			<content:encoded><![CDATA[<p>I will be speaking at the <a title="D2W Conference" href="http://d2wc.com/" target="_blank">Designer to Developer Workflow (D2W) Conference</a> in Kansas City this July 14-16 near the Power &amp; Light District. This is a great conference for those of us working on multi-disciplinary teams and who are often moving among design, prototypes, and code.</p>
<p>I will be teaching one all-day class and giving two presentations:</p>
<ul>
<li>On <strong>Thursday, July 14</strong> I will be teaching an all-day seminar &#8220;Introduction to Adobe Fireworks CS5&#8243;  that takes students through a series of hands-on projects to introduce the most important features of Adobe Fireworks CS5 and how it can be used for wireframes, prototypes, visual design, and asset and image preparation and optimization.</li>
<li>On <strong>Friday, July 15 from 1.00p to 2.00p</strong> I will be giving a presentation &#8220;Design 101 with Adobe Fireworks for Developers.&#8221;</li>
<li>On <strong>Friday, July 15 from 4.40p to 5.40p</strong> I will be talking about prototyping in &#8220;It&#8217;s OK to Throw it Away: Prototypes as a Collaboration Tool.&#8221;</li>
</ul>
<p>I will be at the conference for all three days, so come join me at one of the best conferences for designers and developers this summer!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idux.com/2011/02/06/d2w-conference-july-2011-in-kansas-city/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Common Issues with Adobe Fireworks CSS Export</title>
		<link>http://www.idux.com/2010/11/15/common-issues-with-adobe-fireworks-css-export/</link>
		<comments>http://www.idux.com/2010/11/15/common-issues-with-adobe-fireworks-css-export/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 16:46:51 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Fireworks]]></category>
		<category><![CDATA[Information Design]]></category>
		<category><![CDATA[Interaction Design]]></category>

		<guid isPermaLink="false">http://www.idux.com/?p=396</guid>
		<description><![CDATA[I recently gave a presentation at the Adobe MAX 2010 conference and in Los Angeles on using Adobe Fireworks to export the initial CSS and HTML code which can then be easily modified in Dreamweaver. At the start of the session I spent about 10 minutes showing some of the most common issues people run [...]]]></description>
			<content:encoded><![CDATA[<p>I recently gave a presentation at the Adobe MAX 2010 conference and in Los Angeles on using Adobe Fireworks to export the initial CSS and HTML code which can then be easily modified in Dreamweaver. At the start of the session I spent about 10 minutes showing some of the most common issues people run into when setting up a Fireworks file for CSS export and how to fix them. I think I received more feedback about those 10 minutes than I did for the remainder of the session!</p>
<p><span id="more-396"></span></p>
<blockquote><p><a title="Fireworks CSS Export Demo File" href="http://www.idux.com/downloads/CSS_export_glitches.fw.zip" target="_self">Download the Fireworks CSS Export Demo File Here</a></p></blockquote>
<p>Due to popular demand I am making available the simple demonstration file for these common layout issues:</p>
<ul>
<li><strong>Overlap</strong> &#8211; when the bounding boxes of objects overlap in Fireworks, Fireworks switches to Absolution Positioning Mode in order to preserve the layout, but this is not ideal for the exported CSS and HTML. Avoiding the overlapping objects can make it easier to get the layout you intend.</li>
<li><strong>Vectors</strong> &#8211; Since Fireworks is both a bitmap and a vector tool, we often use vectors to draw objects that will become icons or other bitmap images in the actual web page; slices are used to indicate what to export as bitmap images with the CSS and HTML, but if a slice does not completely cover the vector art or if the vector art is not sliced at all, then Fireworks will either export the vector art as generic DIVs in the code or will tell you that there are overlapping objects and switch into Absolute Positioning Mode.</li>
<li><strong>Floats </strong>- Fireworks uses floats and margin and padding values to position all of the objects on the web page, and it has some built-in algorithms to identify whitespace to help it identify rows and columns in the layouts; sometimes the algorithms do not accurately identify the layout we intend in the design, and even though the export occurs without error, the layout of the web page does not match the desired layout in the design. We can use background rectangles to define DIVs and force Fireworks to create the layout we intend in the exported code.</li>
<li><strong>Font Face</strong> &#8211; If we non-standard web fonts (e.g., Arial, Times New Roman, Verdana, etc.) for live HTML text, Fireworks will warn us during the CSS export that we have used a non-standard font. Fortunately, Fireworks will still assign that font name in the CSS, so if we are using embedded web fonts in a project, the web pages will look correct. However, if we use a non-standard font and do NOT use embedded web fonts, then people without that font installed on their computers will not see the correct font and the design as we intended.</li>
<li><strong>Font Decoration</strong> &#8211; Fireworks will export blocks of text with paragraph tags in the HTML, and the style of the text in each block is defined by the style of the FIRST character in that text block. If we use inline styles in the design in Fireworks, they will NOT be exported in the CSS and HTML. Inline styles need to be added to the exported code using a code editor like Dreamweaver. The same issue occurs for inline links: Fireworks cannot export inline links, so they will need to be added to the exported code.</li>
<li><strong>Gradients </strong>- Fireworks does not currently support CSS3 features, including gradients, in the CSS export feature. If we have gradients, repeating textures, or repeating patterns in the background of a DIV, we need to place a slice over the gradient or pattern and identify it as a background image that repeats. (There are few Fireworks extension developers working on adding CSS3 export support to Fireworks, so look for these features to become available in the future.)</li>
</ul>
<p>A recording of the Adobe MAX 2010 session is <a title="Adobe MAX 2010 - Fireworks CSS Export" href="http://2010.max.adobe.com/online/2010/MAX268_1288045242437LKEE" target="_blank">available online</a>:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="start=0&amp;xml=http%3A//2010.max.adobe.com/online/video/2010/xml/MAX268_1288045242437LKEE.xml&amp;longID=d309653a-03d2-4cdc-9dac-c3374a1f00cf&amp;mode=blogAudioAndSlides&amp;shareURL=http://2010.max.adobe.com/online/2010/MAX268_1288045242437LKEE" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://2010.max.adobe.com/online/video/2010/AdobeMax2010.swf" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="360" src="http://2010.max.adobe.com/online/video/2010/AdobeMax2010.swf" allowscriptaccess="always" allowfullscreen="true" flashvars="start=0&amp;xml=http%3A//2010.max.adobe.com/online/video/2010/xml/MAX268_1288045242437LKEE.xml&amp;longID=d309653a-03d2-4cdc-9dac-c3374a1f00cf&amp;mode=blogAudioAndSlides&amp;shareURL=http://2010.max.adobe.com/online/2010/MAX268_1288045242437LKEE"></embed></object></p>
<p>If you are interested in getting a copy of the Portfolio template file shown in the session recording, it is <a title="Fireworks Portfolio Template" href="http://www.idux.com/2010/10/22/portfolio-template-for-fireworks/" target="_self">available in a previous post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idux.com/2010/11/15/common-issues-with-adobe-fireworks-css-export/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Creating Tables for Designs in Adobe Fireworks</title>
		<link>http://www.idux.com/2010/11/07/creating-tables-for-designs-in-adobe-fireworks/</link>
		<comments>http://www.idux.com/2010/11/07/creating-tables-for-designs-in-adobe-fireworks/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 07:05:52 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Fireworks]]></category>
		<category><![CDATA[Information Design]]></category>
		<category><![CDATA[Interaction Design]]></category>

		<guid isPermaLink="false">http://www.idux.com/?p=354</guid>
		<description><![CDATA[One of the most common page elements we need when creating wireframes and comps are tables, and one of the most common questions about Fireworks is how to quickly and easily draw tables like this without having to draw and position many (even dozens or more) individual rectangles for each table cell:
When we create wireframes [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most common page elements we need when creating wireframes and comps are tables, and one of the most common questions about Fireworks is how to quickly and easily draw tables like this without having to draw and position many (even dozens or more) individual rectangles for each table cell:<br />
<a href="http://www.idux.com/wp-content/uploads/2010/11/wireframe_table.png"><img class="aligncenter size-full wp-image-355" title="Wireframe table example" src="http://www.idux.com/wp-content/uploads/2010/11/wireframe_table.png" alt="Wireframe table example" width="350" height="170" /></a>When we create wireframes and comps we often are not yet certain how many rows or columns a table will need, and the row widths and column heights may vary throughout the table. If the tables are drawn with individual rectangles or even with individual intersecting lines, it can take much time, effort, and attention to detail to change the size of the overall table. Fireworks offers two autoshapes that can make creating tables a bit faster and easier.</p>
<p><span id="more-354"></span></p>
<p>The Grid and Swipe autoshapes can be used to create tables, but each of these autoshapes will create tables with different features. When you first drag them out from the Auto Shapes panel and place them on the canvas they will look something like this:<br />
<a href="http://www.idux.com/wp-content/uploads/2010/11/autoshapes.png"><img class="aligncenter size-full wp-image-357" title="autoshapes" src="http://www.idux.com/wp-content/uploads/2010/11/autoshapes.png" alt="autoshapes" width="370" height="201" /></a></p>
<blockquote><p><a title="Aaron Beall" href="http://fireworks.abeall.com/extensions/autoshapes/" target="_blank">Download the Grid Autoshape from Aaron Beall</a></p>
<p><a title="Senocular" href="http://www.senocular.com/fireworks/extensions/?entry=531" target="_blank">Download the Swipe Autoshape from Senocular</a></p></blockquote>
<p>Fireworks autoshapes are special drawing objects that be modified using their different control points and handles, and they remain editable as long as they remain autoshapes. (If you ungroup an autoshape it will lose all of its special control points and handles and become a normal vector object. Once ungrouped it cannot be turned back into an autoshape.)</p>
<h3>Using the Grid Autoshape</h3>
<p>The Grid autoshape has multiple control points and handles:</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/using_grid.png"><img class="aligncenter size-full wp-image-370" title="Using the Grid Autoshape" src="http://www.idux.com/wp-content/uploads/2010/11/using_grid.png" alt="Using the Grid Autoshape" width="294" height="375" /></a>The Grid autoshape offers the ability to change the horizontal and vertical cell padding for all cells in the table (while the Swipe autoshape cannot do this):</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/grid_padding.png"><img class="aligncenter size-full wp-image-362" title="Adjusting cell padding in the Grid autoshape" src="http://www.idux.com/wp-content/uploads/2010/11/grid_padding.png" alt="Adjusting cell padding in the Grid autoshape" width="400" height="185" /></a></p>
<p>There are also control points for changing the number of rows and columns:</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/grid_rows_columns.png"><img class="aligncenter size-full wp-image-363" title="Changing number of rows and columns in the Grid autoshape" src="http://www.idux.com/wp-content/uploads/2010/11/grid_rows_columns.png" alt="Changing number of rows and columns in the Grid autoshape" width="400" height="220" /></a></p>
<p>Although the Grid autoshape can quickly create tables, one limitation is that all of the rows must have the same height and all of the columns must have the same width. The row height is always the total height of the table divided by the number of rows, and the column width is always the total width of the table divided by the number of columns. Although this may be sufficient for quick wireframes, it is often unrealistic for actual tables on real web pages where rows and columns may have variable heights and widths.</p>
<p>Styling the cells in tables created by the Grid autoshape is easy. The styles assigned to the four cells in the top left corner of the table will be repeated throughout the entire table:</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/grid_fill_method.png"><img class="aligncenter size-full wp-image-361" title="Defining the cell styles for the table in the Grid autoshape" src="http://www.idux.com/wp-content/uploads/2010/11/grid_fill_method.png" alt="Defining the cell styles for the table in the Grid autoshape" width="350" height="215" /></a></p>
<p>To create a table with alternating fill colors in the rows, use the Subselection Tool to select table cells and give the top two cells in the corner a different fill color than the bottom two cells, then click on the center control point to redraw the table.</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/grid_fill_1.png"><img class="aligncenter size-full wp-image-358" title="Alternating rows" src="http://www.idux.com/wp-content/uploads/2010/11/grid_fill_1.png" alt="Alternating rows" width="350" height="170" /></a>To create a table with alternating fill colors in the columns, use the Subselection Tool to select table cells and give the left two cells in the corner a different fill color than the right two cells, then click on the center control point to redraw the table.</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/grid_fill_2.png"><img class="aligncenter size-full wp-image-359" title="Alternating columns" src="http://www.idux.com/wp-content/uploads/2010/11/grid_fill_2.png" alt="Alternating columns" width="350" height="170" /></a>To create a table with a checkerboard fill, use the Subselection Tool to select table cells and give the diagonal cells a different fill color from each other, then click on the center control point to redraw the table.</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/grid_fill_3.png"><img class="aligncenter size-full wp-image-360" title="Checkboard fill" src="http://www.idux.com/wp-content/uploads/2010/11/grid_fill_3.png" alt="Checkboard fill" width="350" height="170" /></a></p>
<p>Finally, the entire table may be resized with the top left and bottom right control handles. You can either drag the corner to change the size of the entire table, or you can double-click the control handle and enter specific dimensions in a dialog.</p>
<h3>Using the Swipe Autoshape</h3>
<p>The Swipe autoshape does not appear to have been originally intended to create tables, it appears to have been intended to create design elements and shapes like this:</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/swipe_example.png"><img class="aligncenter size-full wp-image-365" title="Swipe example" src="http://www.idux.com/wp-content/uploads/2010/11/swipe_example.png" alt="Swipe example" width="350" height="160" /></a></p>
<p>However, it can be used to create tables with multiple rows and columns that can have variable heights and widths. The Swipe autoshape has multiple control points and handles:</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/using_swipe1.png"><img class="aligncenter size-full wp-image-381" title="Using the Swipe Autoshape" src="http://www.idux.com/wp-content/uploads/2010/11/using_swipe1.png" alt="Using the Swipe Autoshape" width="294" height="315" /></a></p>
<p>When the Swipe autoshape is first dropped on the canvas, it has only one cell. Before adding rows and columns, adjust the height of the shape to be the desired height of the entire table, then use the bottom center control point to create rows within the table:</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/swipe_rows.png"><img class="aligncenter size-full wp-image-369" title="Adding rows to the Swipe autoshape" src="http://www.idux.com/wp-content/uploads/2010/11/swipe_rows.png" alt="Adding rows to the Swipe autoshape" width="350" height="170" /></a></p>
<p>Once you have the desired number of rows in the table, create additional columns to build the table:</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/swipe_columns.png"><img class="aligncenter size-full wp-image-364" title="Adding columns to the Swipe Autoshape" src="http://www.idux.com/wp-content/uploads/2010/11/swipe_columns.png" alt="Adding columns to the Swipe Autoshape" width="350" height="170" /></a></p>
<p>Use the middle control points on the vertical axes to adjust the width of each column, and use the middle control points of the horizontal axes to adjust the height of each row. This can be done to produce tables with variable row heights and column widths, which is common in actual HTML tables.</p>
<p>If you need to create additional rows later, you will need to add rows by ALT/OPT click and dragging a row control point upward. You can add rows from the bottom middle control point or any middle control point for an existing row.</p>
<p>If you need to create additional columns later, you can create them within the table or at the right side of the table by ALT/OPT click and dragging the column control points on the vertical axes then adjusting the internal column widths accordingly. The Swipe autoshape can produce unexpected results if you try to create new columns by ALT/OPT click and dragging a column control point to the left, so <em>always</em> drag the column control points to the right.</p>
<blockquote><p><strong>HINT 1:</strong> Make certain that snap to grid and/or snap to guides is turned on when using the Swipe autoshape to create tables, because the control handles do not automatically maintain perpendicular lines, and you may find the rows and columns becoming skewed as you draw them.</p>
<p><strong>HINT 2: </strong>The Swipe autoshape uses a Soft Line for strokes by default, but this can result in &#8220;fuzzy&#8221; anti-aliased lines in the table as you create or modify it. To retain crisp strokes for the table cell, select the entire Swipe autoshape table and change the stroke style to Hard Line.</p></blockquote>
<p>Once you have the desired number of rows and columns in the table, you can use the Subselection Tool to select individual cells and apply the desired styles to those cells. The Swipe autoshape does not have a center control point for applying table cell styles (like the Grid autoshape), so you will need to subselect <em>all</em> cells that will have the same style.</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/swipe_filling.png"><img class="aligncenter size-full wp-image-368" title="Select cells in the Swipe autoshape table" src="http://www.idux.com/wp-content/uploads/2010/11/swipe_filling.png" alt="Select cells in the Swipe autoshape table" width="350" height="190" /></a></p>
<p>Once the cells have been subselected, it is easy to create tables with alternating rows:</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/swipe_fill_1.png"><img class="aligncenter size-full wp-image-366" title="Alternating rows for Swipe" src="http://www.idux.com/wp-content/uploads/2010/11/swipe_fill_1.png" alt="Alternating rows for Swipe" width="350" height="170" /></a></p>
<p>It is also easy to create tables with alternating columns:</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/11/swipe_fill_2.png"><img class="aligncenter size-full wp-image-367" title="Alternating columns for Swipe" src="http://www.idux.com/wp-content/uploads/2010/11/swipe_fill_2.png" alt="Alternating columns for Swipe" width="350" height="170" /></a>Deleting rows and columns from tables created with the Swipe autoshape can be difficult. The only way to delete rows and columns is to ungroup the Swipe autoshape and use the Subselection Tool to select and delete the nodes for the cells you want to remove, but remember that once an autoshape is ungrouped all of the autoshape editability is lost and it cannot be turned back into an autoshape.</p>
<h3>Conclusion</h3>
<p>The Grid and Swipe autoshapes can help you create wireframes and comps with tables more quickly than drawing the tables manually, but neither of these autoshapes will create HTML tables when pages are exported as CSS and Images. They are graphic tables only for illustration. There is no HTML Table component symbol in the Common Library, but if you would like to see this added to Fireworks in the future, you can <a title="Adobe Feature Request Form" href="https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform" target="_blank">submit features requests via the Adobe web site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idux.com/2010/11/07/creating-tables-for-designs-in-adobe-fireworks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adobe MAX 2010: Interaction Design for Graphic Designers</title>
		<link>http://www.idux.com/2010/10/29/adobe-max-2010-interaction-design-for-graphic-designers/</link>
		<comments>http://www.idux.com/2010/10/29/adobe-max-2010-interaction-design-for-graphic-designers/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 21:55:40 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Information Design]]></category>
		<category><![CDATA[Interaction Design]]></category>
		<category><![CDATA[Presentation]]></category>

		<guid isPermaLink="false">http://www.idux.com/?p=342</guid>
		<description><![CDATA[I had the pleasure of speaking about interaction design with more than 300 designers at the Adobe MAX 2010 conference in Los Angeles this week. It was a great presentation focused on five basic interaction design principles, and we looked at a few web sites to discuss how these principles should inform our design decisions [...]]]></description>
			<content:encoded><![CDATA[<p>I had the pleasure of speaking about interaction design with more than 300 designers at the Adobe MAX 2010 conference in Los Angeles this week. It was a great presentation focused on five basic interaction design principles, and we looked at a few web sites to discuss how these principles should inform our design decisions and how they could affect the visitor experience:</p>
<ul>
<li><strong>Consistency </strong>
<ul>
<li><a title="BIG KID" href="http://www.bigkid.co.nz/?p=391" target="_blank">BIG KID</a></li>
</ul>
</li>
<li><strong>Visibility </strong>
<ul>
<li><a title="Ontwerp TV" href="http://ontwerp.tv/" target="_blank">Anthony Neil Dart</a></li>
<li><a title="Diesel Clothing" href="http://www.diesel.com/" target="_blank">Diesel Clothing</a></li>
</ul>
</li>
<li><strong>Learnability </strong>
<ul>
<li><a title="Cristof Echard" href="http://www.cristof-echard.fr/" target="_blank">Cristof Echard</a></li>
</ul>
</li>
<li><strong>Predictability </strong>
<ul>
<li><a title="Acura TSX" href="http://www.acura.com/InteractiveShowroom.aspx?model=TSX#/controls_details" target="_blank">Acura TSX</a></li>
<li><a title="IKEA Kitchen" href="http://www.ikea.com/us/en/catalog/categories/departments/kitchen" target="_blank">IKEA Kitchen</a></li>
</ul>
</li>
<li><strong>Feedback </strong>
<ul>
<li><a title="Slow Food" href="https://org2.democracyinaction.org/o/5986/t/7933/shop/custom.jsp?donate_page_KEY=2518" target="_blank">Slow Food Membership</a></li>
</ul>
</li>
</ul>
<p>If you attended the presentation, thanks! If you missed it, you can download a PDF here.</p>
<blockquote><p><a title="Interaction Design for Graphic Designers" href="http://www.idux.com/downloads/MAX2010_HOGUE_Interaction_Design_Principles.pdf" target="_blank">Interaction Design for Graphic Designers</a></p></blockquote>
<p>The recording of the session is now available <a title="Adobe TV" href="http://tv.adobe.com/watch/max-2010-design/principles-of-interaction-design-for-graphic-designers/" target="_blank">online via Adobe TV</a> or you can watch it below.</p>
<p>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="256" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="FlashVars" value="fileID=8195&amp;context=647&amp;embeded=true&amp;environment=production" /><param name="src" value="http://images.tv.adobe.com/swf/player.swf" /><param name="flashvars" value="fileID=8195&amp;context=647&amp;embeded=true&amp;environment=production" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="256" src="http://images.tv.adobe.com/swf/player.swf" flashvars="fileID=8195&amp;context=647&amp;embeded=true&amp;environment=production" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.idux.com/2010/10/29/adobe-max-2010-interaction-design-for-graphic-designers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Portfolio Template for Fireworks</title>
		<link>http://www.idux.com/2010/10/22/portfolio-template-for-fireworks/</link>
		<comments>http://www.idux.com/2010/10/22/portfolio-template-for-fireworks/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 05:14:45 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Fireworks]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://www.idux.com/?p=331</guid>
		<description><![CDATA[I will be giving a presentation on the workflow from Fireworks to Dreamweaver using CSS and Images export at Adobe MAX in Los Angeles in a few days, and the demonstration will include a new Fireworks template for creating a portfolio web site.

Download the Fireworks Portfolio Template Here
The zip file contains the portfolio template, instructions [...]]]></description>
			<content:encoded><![CDATA[<p>I will be giving a presentation on the workflow from Fireworks to Dreamweaver using CSS and Images export at Adobe MAX in Los Angeles in a few days, and the demonstration will include a new Fireworks template for creating a portfolio web site.</p>
<p style="text-align: center;"><a href="http://www.idux.com/wp-content/uploads/2010/10/portfolio_screenshot.jpg"><img class="size-full wp-image-335 aligncenter" title="Fireworks Portfolio Template" src="http://www.idux.com/wp-content/uploads/2010/10/portfolio_screenshot.jpg" alt="Fireworks Portfolio Template" width="402" height="335" /></a></p>
<blockquote><p><a title="Fireworks Portfolio Template" href="http://www.idux.com/downloads/Portfolio_Fireworks_Template.zip">Download the Fireworks Portfolio Template Here</a></p></blockquote>
<p>The zip file contains the portfolio template, instructions on how to add it to the Fireworks templates, and examples of the exported CSS and HTML for the pages in the template.</p>
<p>The Adobe MAX 2010 session recording is now <a title="Fireworks to Dreamweaver with CSS Export" href="http://2010.max.adobe.com/online/2010/MAX268_1288045242437LKEE" target="_blank">available online</a>:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="start=0&amp;xml=http%3A//2010.max.adobe.com/online/video/2010/xml/MAX268_1288045242437LKEE.xml&amp;longID=d309653a-03d2-4cdc-9dac-c3374a1f00cf&amp;mode=blogAudioAndSlides&amp;shareURL=http://2010.max.adobe.com/online/2010/MAX268_1288045242437LKEE" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://2010.max.adobe.com/online/video/2010/AdobeMax2010.swf" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="360" src="http://2010.max.adobe.com/online/video/2010/AdobeMax2010.swf" allowscriptaccess="always" allowfullscreen="true" flashvars="start=0&amp;xml=http%3A//2010.max.adobe.com/online/video/2010/xml/MAX268_1288045242437LKEE.xml&amp;longID=d309653a-03d2-4cdc-9dac-c3374a1f00cf&amp;mode=blogAudioAndSlides&amp;shareURL=http://2010.max.adobe.com/online/2010/MAX268_1288045242437LKEE"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.idux.com/2010/10/22/portfolio-template-for-fireworks/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Square Grid Template for Fireworks</title>
		<link>http://www.idux.com/2010/10/04/square-grid-template-for-fireworks/</link>
		<comments>http://www.idux.com/2010/10/04/square-grid-template-for-fireworks/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 23:32:38 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Fireworks]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://www.idux.com/?p=327</guid>
		<description><![CDATA[Yet another grid system has been published to help designers create consistent layouts. The Square Grid offers templates for Illustrator, Photoshop, and InDesign, a PDF to print for sketching, and an HTML and CSS framework for coding with the grid.
However, they do not offer a template for designers who use Fireworks, so I created one [...]]]></description>
			<content:encoded><![CDATA[<p>Yet another grid system has been published to help designers create consistent layouts. <a title="The Square Grid" href="http://www.thesquaregrid.com/" target="_blank">The Square Grid</a> offers templates for Illustrator, Photoshop, and InDesign, a PDF to print for sketching, and an HTML and CSS framework for coding with the grid.</p>
<p>However, they do not offer a template for designers who use Fireworks, so I created one using their 28 pixel square grid (35 columns at 980 pixels wide.)</p>
<blockquote><p><a title="Square Grid Template for Fireworks" href="http://www.idux.com/downloads/28square_grid.zip">Download the Square Grid Template for Fireworks Here</a></p></blockquote>
<p>There are many grid systems out there, but I like how the creator of this grid took the time to identify a few golden ratio column widths. Nice touch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idux.com/2010/10/04/square-grid-template-for-fireworks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating Images for Button States</title>
		<link>http://www.idux.com/2010/10/03/creating-images-for-button-states/</link>
		<comments>http://www.idux.com/2010/10/03/creating-images-for-button-states/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 07:08:23 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Fireworks]]></category>
		<category><![CDATA[buttons]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.idux.com/?p=312</guid>
		<description><![CDATA[I was recently asked about techniques for creating images for button states and how to keep the button shape and text properly aligned (i.e., maintain consistent registration points) across the states to avoid any pixel shifts when the images change.
There are a few different techniques for creating button images, and the method you use depends [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently asked about techniques for creating images for button states and how to keep the button shape and text properly aligned (i.e., maintain consistent registration points) across the states to avoid any pixel shifts when the images change.</p>
<p>There are a few different techniques for creating button images, and the method you use depends on how you are using the button images. The traditional JavaScript method (and even some CSS-based methods) use separate images for each button state, and the CSS Sprite method uses one larger image as a background image with all of the button states in that single image then changing the position of the background image to show the different button states. You can use Adobe Fireworks to create button state images for either of these methods.</p>
<p><span id="more-312"></span></p>
<h3><strong>Creating One Image with All Button States</strong></h3>
<p>Create a Fireworks document with a page size large enough to contain all of your button images on a single page. Buttons may have from two to four states:</p>
<ul>
<li><em>Up</em> &#8211; the default state of the button when the web page loads,</li>
<li><em>Down</em> &#8211; the state of the button when the visitor clicks or taps on it, and this state is often used as a persistent indicator for a button that has been selected,</li>
<li><em>Over</em> &#8211; the state of the button when the visitor hovers their mouse cursor over it while it is in the <em>Up</em> state,</li>
<li><em>Over while Down</em> &#8211; the state of the button when the visitor hovers their mouse over it while it is in the <em>Down</em> state.</li>
</ul>
<p>Draw the <em>Up</em> state of your button first, then select it, Duplicate it (Edit &gt; Duplicate or CTRL+ALT+D), and move the duplicate adjacent to the original. I prefer to stack the button states vertically on the page, but some designers like to create a horizontal button states. Either approach will work.</p>
<p>Modify the duplicate button image to create the <em>Down</em> state. Duplicate the <em>Down</em> state, and move the duplicate adjacent to the <em>Down</em> state, then modify the appearance to create the <em>Over</em> state. Finally, duplicate the <em>Over</em> state, and move the duplicate adjacent to the <em>Over</em> state, then modify the appearance to create the <em>Over While Down</em> state. Here is a simple example of four button states stacked vertically in a single image:</p>
<p><a href="http://www.idux.com/wp-content/uploads/2010/10/button_states_one_image.png"><img class="aligncenter size-full wp-image-315" title="Four button states in a single image" src="http://www.idux.com/wp-content/uploads/2010/10/button_states_one_image.png" alt="Four button states in a single image" width="200" height="163" /></a></p>
<p>Since we duplicated the button graphics, we know that each state has the same size graphics, and we can use either the grid (View &gt; Grid) or guides (View &gt; Guides) to make certain that they are all aligned on the left and right sides. I like to put at least one pixel of blank space between button states, but some designers like to put more blank space (especially if they are using live HTML text over the background image instead of flattening the text into the button state image) and some designers place the button states without any blank space at all. How you position the button state images is your choice.</p>
<p>The text in this example varies from state to state (though this is unusual for most real buttons), so to make certain that the text remains properly positioned from state to state I use area text object in Fireworks. Area text objects have a defined width and are created by selecting the Text tool, and slicking and dragging on the drawing canvas to define the width of the text object. The width of an area text object can also be edited in the Properties panel. Area text objects will automatically wrap when the pre-defined width is reached. (Point text objects are created by simply clicking on the drawing canvas with the Text tool, and they have no pre-defined width, so the text will not wrap and continue to produce one potentially very long line.)</p>
<p>The area text object is centered within the button graphic, and the text within it is center aligned, so that when the text is edited (either from state to state or if you create multiple buttons with the same graphics but different labels) it remains properly aligned within the button.</p>
<p>To export all of the button states in a single image, select all of the buttons (or select everything on the page with CTRL+A), then right-click and choose Insert Rectangular Slice. Since you have selected multiple objects, Fireworks will present a dialog asking if you want to insert a single or multiple slices. Choose single slice, and Fireworks will place one large slice over all of the button states.</p>
<p>Select the slice just created, and define the image optimization settings in either the Properties panel or the Optimization panel. Right-click on the slice and choose Export Selected Slice to get a single image with all of the button states. This single image can now be used as a background image for the CSS Sprite technique to create buttons by changing the position of the background image.</p>
<h3 style="font-size: 1.17em;"><strong>Creating Multiple Images for All Button States</strong></h3>
<p>If you prefer to work with separate images for the states when creating buttons, you can easily export each button state as a separate image. Select only the main button shape objects (in this case, select only the rounded rectangles) and not any of the text or other graphic objects, then right-click and choose Insert Rectangular Slice, and select Multiple slices (instead of Single slice as we did previously.) This will insert a separate slice over each button state.</p>
<p>If you happen to select more than just the main button shape, Fireworks will insert MANY slices, one for each object selected, and you may not get single images for each button. If you have irregularly shaped buttons or are using multiple vector objects to define the button shape, you may need to use the Slice tool to draw slices. If you use the Slice tool to manually draw slices, you will need to make sure that each button state has a slice of the same size and shape. Luckily you can select a slice, duplicate it, and position the duplicate slice over the next button state image to ensure that each exported image will be the same size. Give each slice a unique name in the Properties panel, because this name will become the filename when the images are exported.</p>
<p>To export multiple slices as multiple images, use File &gt; Export, select Images Only, set &#8220;Slices:&#8221; to Export Slices for the Current Page, and UNcheck &#8220;Include areas without slices.&#8221; Fireworks will export a separate image for each button state which you can use with your preferred button method.</p>
<h3 style="font-size: 1.17em;"><strong>Why Do the Filenames All Have &#8220;_s1&#8243; Appended?</strong></h3>
<p>Fireworks will automatically append &#8220;_s1&#8243; to the end of each button state filename. This is the default behavior, and the &#8220;_s1&#8243; is used to differentiate the images exported from State 1 of a page from images exported from other states under the same slice on the same page. This is handy if you regularly export images for the same slice from multiple states in the Fireworks document, but if you are only exporting images from State 1 it makes less sense, so you may want to change the default behavior.</p>
<p>To stop Fireworks from appending &#8220;_s1&#8243; to exported image filenames, choose File &gt; HTML Setup and go to the Document Specific tab. In the third row for &#8220;State Names:&#8221; choose &#8220;none&#8221; for both of the options. Click OK to save, and when you export the button images they will no longer have &#8220;_s1&#8243; appended.</p>
<p>Keep in mind that if you want to export multiple images from different states under the same slice on a page in the future, Fireworks will not append &#8220;_s#&#8221; to each image to differentiate images from the different states, and you may find that images are being over-written, because each state is being given the same filename for that slice. You will need to turn the automatic appending of filenames for each state back on to prevent accidental over-writing.</p>
<h3 style="font-size: 1.17em;"><strong>Calculating Background Image Offsets</strong></h3>
<p>Finally, if you are using a single image and the CSS Sprite technique for your button states, you will need to know the coordinate position for each button state to specify the background image offset in the CSS.</p>
<p>Fireworks can also make this very easy. On the page with all of the button state images, make sure no objects are selected and choose &#8220;Fit Canvas&#8221; from the Properties panel. Fireworks will resize the drawing canvas to include only button states and the large slice over them. The top left corner of the canvas is the origin (i.e., the 0,0 coordinate position), and since the buttons are vertically stacked the value of the Y coordinate for each button will be the same as the offset value necessary for the CSS background image offset.</p>
<p>In this example, the coordinates for each state are:</p>
<ul>
<li><em>Up</em> &#8211; 0,0</li>
<li><em>Down</em> &#8211; 0,41</li>
<li><em>Over</em> &#8211; 0, 82</li>
<li><em>Over While Down</em> &#8211; 0,123</li>
</ul>
<p>Each button image is 40 pixels high, but with a one pixel blank space between each button state, the position for each state will be 41 pixels below the previous.</p>
<p>No matter which technique you use for button state images, Fireworks can make it easy to create, optimize, export, and position the images in the final HTML and CSS.</p>
<h3 style="font-size: 1.17em;"><strong>UPDATE: CSS Sprite Commands for Fireworks</strong></h3>
<p>Just after publishing this post, I heard from three very talented Fireworks experts about commands to export slices and/or states into images for CSS sprites, and one of the commands event exports preliminary code to use the CSS sprites in your web projects.</p>
<ol>
<li>John Dunning&#8217;s <a title="Frame and Layer Utilities" href="http://www.johndunning.com/fireworks/about/FrameLayerUtils" target="_blank">Frame and Layer Utilities</a> contains a Stack command that will take images from multiple states (previously called frames in earlier versions of Fireworks, hence the name of the commands) and create either horizontal or vertical sprite images.</li>
<li><a title="Orange Commands for Fireworks" href="http://www.orangecommands.com/" target="_blank">Orange Commands</a> just released (today! what great timing!) a new command to export CSS Sprite images and the preliminary code to use the sprite in your web projects.</li>
<li>Aaron Beall has generously given us access to a beta version of a command he wrote to export multiple states of a slice or multiple slices to a single sprite image. You can get a copy of the command by right-clicking and saving this JSF file: <a title="Export Image Sprites" href="http://fireworks.abeall.com/extensions/commands/Export/Export%20Image%20Sprites.jsf" target="_blank">Export Image Sprites</a>. (Copy the saved JSF file into the Commands folder for Fireworks.)</li>
</ol>
<p>These commands can be real time-savers and boost your productivity by automating some of the steps I described above, and they support using multiple slices or states and either vertical or horizontal stacking of the images.</p>
<p>Please give these experts your thanks and let them know if you use their commands.</p>
<h3 style="font-size: 1.17em;"><strong>Resources to Learn More About CSS Sprites</strong></h3>
<ul>
<li><a title="A List Apart - CSS Sprites" href="http://www.alistapart.com/articles/sprites" target="_blank">A List Apart &#8211; CSS Sprites</a></li>
<li><a href="http://www.smashingmagazine.com/2009/04/27/the-mystery-of-css-sprites-techniques-tools-and-tutorials/">Smashing Magazine &#8211; The Mystery of CSS Sprites</a></li>
<li><a href="http://www.peachpit.com/articles/article.aspx?p=447210">Peachpit &#8211; CSS Sprites</a></li>
<li><a href="http://skyje.com/2010/02/css-sprites/">Skyje &#8211; CSS Sprites</a></li>
<li><a href="http://css-tricks.com/css-sprites/">CSS Tricks &#8211; CSS Sprites</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.idux.com/2010/10/03/creating-images-for-button-states/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

