<?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>Style &#38; Error</title>
	<atom:link href="http://styleanderror.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://styleanderror.net</link>
	<description>Beautifying the internet, since 1994.</description>
	<lastBuildDate>Fri, 05 Apr 2013 19:12:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Shiny CSS Buttons, No Images Required</title>
		<link>http://styleanderror.net/2013/04/05/shiny-css-buttons-no-images-required/</link>
		<comments>http://styleanderror.net/2013/04/05/shiny-css-buttons-no-images-required/#comments</comments>
		<pubDate>Fri, 05 Apr 2013 19:12:59 +0000</pubDate>
		<dc:creator>sarah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://styleanderror.net/?p=197</guid>
		<description><![CDATA[So the other day a friend of mine asked &#8211; how do I make these fancy buttons in CSS? I thought I should share the technique with the rest of you. It&#8217;s rather simple once you break it down into &#8230; <a href="http://styleanderror.net/2013/04/05/shiny-css-buttons-no-images-required/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-198" style="line-height: 18px;" alt="Screen shot 2013-03-15 at 4.20.46 PM" src="http://styleanderror.net/wp-content/uploads/2013/03/Screen-shot-2013-03-15-at-4.20.46-PM.png" width="165" height="54" /></p>
<p>So the other day a friend of mine asked &#8211; how do I make these fancy buttons in CSS? I thought I should share the technique with the rest of you. It&#8217;s rather simple once you break it down into it&#8217;s components which are:</p>
<ul>
<li>text (okay, that one&#8217;s kinda obvious)</li>
<li>icon</li>
<li>button background</li>
<li>button border</li>
<li>hover states</li>
</ul>
<p>We&#8217;ll skip the text part, that&#8217;s some basic css styling, but you can see the example in the <a title="codepen" href="http://codepen.io/quoo/pen/DJdkI">codepen</a>.</p>
<h3>The Icon</h3>
<p>The icon is rendered via an <a title=":after psuedo element" href="http://coding.smashingmagazine.com/2011/07/13/learning-to-use-the-before-and-after-pseudo-elements-in-css/">:after psuedo element</a>. The content of this element would be the white icon &#8211; it&#8217;s a character, not an image. Since it&#8217;s a character, I can then also define a background for the icon. I&#8217;ve made this background a circle through the use of css3&#8242;s <a href="http://border-radius.com/">border-radius</a>. Note that the icon inherits it&#8217;s font colors and sizing from the button styles.</p>
<pre class="codepen"data-height="300"data-type="css"data-href="pCBDa"data-user="quoo"data-safe="true"><code></code><a href="http://codepen.io/quoo/pen/pCBDa">Check out this Pen!</a></pre><script async src="http://codepen.io/assets/embed/ei.js"></script>
<h3>The Background</h3>
<p>The background is a CSS3 gradient. If I was implementing this in a real project I&#8217;d use something like <a title="Compass's CSS3 mixins" href="http://compass-style.org/reference/compass/css3/gradient/">Compass&#8217;s CSS3 mixins</a> to improve the legibility of the code.  In this example I&#8217;m using a standard two stop linear gradient (with the added bonus of greater IE support), but you should play around with multiple stop or<a title="Multiple Background CSS Gradients" href="http://snook.ca/archives/html_and_css/multiple-bg-css-gradients"> layered gradients</a> for a nicer effect.</p>
<pre class="codepen"data-height="300"data-type="css"data-href="tbzKc"data-user="quoo"data-safe="true"><code></code><a href="http://codepen.io/quoo/pen/tbzKc">Check out this Pen!</a></pre><script async src="http://codepen.io/assets/embed/ei.js"></script>
<h3>The Border</h3>
<p>Depending on your browser, your button may already have a nice looking border. We want to standardize this.</p>
<p>The border here is specified with a different color for each side. The colors vary slightly from the button background, giving the button a beveled effect. In this case the &#8220;light&#8221; is coming from the top left, so the top border, is the lightest, the left the second lightest, the right the third lightest, and the bottom the darkest.</p>
<p>The final code:</p>
<pre class="codepen"data-height="300"data-type="css"data-href="DJdkI"data-user="quoo"data-safe="true"><code></code><a href="http://codepen.io/quoo/pen/DJdkI">Check out this Pen!</a></pre><script async src="http://codepen.io/assets/embed/ei.js"></script>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://styleanderror.net/2013/04/05/shiny-css-buttons-no-images-required/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s been a busy year&#8230;</title>
		<link>http://styleanderror.net/2012/01/04/its-been-a-busy-year/</link>
		<comments>http://styleanderror.net/2012/01/04/its-been-a-busy-year/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 16:49:44 +0000</pubDate>
		<dc:creator>sarah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://styleanderror.net/?p=175</guid>
		<description><![CDATA[And unfortunately it&#8217;s been keeping me from being as active as I&#8217;ve hoped as far as blogging. I&#8217;ve never been the fastest or most prolific writer, far from it, writing for me has always been a drawn out process despite &#8230; <a href="http://styleanderror.net/2012/01/04/its-been-a-busy-year/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="attachment_176" class="wp-caption alignleft" style="width: 310px"><a href="http://styleanderror.net/wp-content/uploads/2012/01/alfie_little.jpg"><img class="size-medium wp-image-176" title="alfie_little" src="http://styleanderror.net/wp-content/uploads/2012/01/alfie_little-300x300.jpg" alt="" width="300" height="300" /></a><p class="wp-caption-text">Alfred James Forst, born September 7th</p></div>
<p>And unfortunately it&#8217;s been keeping me from being as active as I&#8217;ve hoped as far as blogging. I&#8217;ve never been the fastest or most prolific writer, far from it, writing for me has always been a drawn out process despite my having an English degree. However, this past year has brought a number of personal accomplishments that have kept me quite busy outside of work. My husband and I bought our first home (in the burbs, oh the horror) and then welcomed our first child, Alfred James Forst on September 7th. It&#8217;s amazing becoming a parent, and to be honest I had no idea what sleep deprivation really was before this. (Silly me, I thought staying up all night coding would prepare me for staying up all night with a kid).</p>
<p>Hopefully now that we&#8217;re getting a little more sleep, I&#8217;ll be able to be a bit more active with the blog posts again. I&#8217;ve also switched my focus in the past year from Flex development back to the HTML development I originally started my web dev career with, so expect to seem more posts along those lines.</p>
]]></content:encoded>
			<wfw:commentRss>http://styleanderror.net/2012/01/04/its-been-a-busy-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Charting vs. gRaphael</title>
		<link>http://styleanderror.net/2010/10/21/flex-charting-vs-graphael/</link>
		<comments>http://styleanderror.net/2010/10/21/flex-charting-vs-graphael/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 20:17:33 +0000</pubDate>
		<dc:creator>sarah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://styleanderror.net/?p=158</guid>
		<description><![CDATA[I&#8217;ve recently been looking at some different options for charting, for those cases where you might not want to use a heavy flex application, and one of the first that came to mind was gRaphaël. It&#8217;s an impressive javascript charting &#8230; <a href="http://styleanderror.net/2010/10/21/flex-charting-vs-graphael/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve recently been looking at some different options for charting, for those cases where you might not want to use a heavy flex application, and one of the first that came to mind was <a href="http://g.raphaeljs.com/">gRaphaël</a>. It&#8217;s an impressive javascript charting library based on the Raphaël drawing API created by <a href="http://dmitry.baranovskiy.com/">Dmitry Baranovskiy</a>. I&#8217;m not really clear if Dmitry created it by himself or with a team, but if it&#8217;s all one persons work, I&#8217;m seriously impressed. </p>
<p>gRaphael isn&#8217;t as robust as Flex charting, but with some tweaking I think you can get it to suit your charting needs for a HTML based site.</p>
<p>I&#8217;ve started experimenting with the Pie control, basically recreating the demo from the <a href="http://g.raphaeljs.com/">gRaphaël</a> website. It&#8217;s really easy to get set up, but from what I can tell, it lacks features like labels on the wedges themselves (similar to what we see in flex), and there seem to be some layout issues with positioning the pie relative to the legend.</p>
<p>There&#8217;s not a lot of documentation out there for Raphael, so maybe there are work-arounds for these issues, or maybe I&#8217;m just doing something wrong. I&#8217;ll need to dig through the Raphael code a bit more to figure it out. </p>
<p><a href="http://styleanderror.net/files/gRaphaelPieDemo/index.html"/>My gRaphael Pie Chart Code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://styleanderror.net/2010/10/21/flex-charting-vs-graphael/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 is not CSS3 is not Javascript.</title>
		<link>http://styleanderror.net/2010/09/20/html5-is-not-css3-is-not-javascript/</link>
		<comments>http://styleanderror.net/2010/09/20/html5-is-not-css3-is-not-javascript/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 21:18:28 +0000</pubDate>
		<dc:creator>sarah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[misnomer]]></category>

		<guid isPermaLink="false">http://styleanderror.net/?p=149</guid>
		<description><![CDATA[There seems to be a lot of confusion out there about what HTML5 is. Your average web user seems to think that HTML5, by itself, creates all these fancy effects, similar to flash, and it&#8217;s just not true. Perhaps the &#8230; <a href="http://styleanderror.net/2010/09/20/html5-is-not-css3-is-not-javascript/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>There seems to be a lot of confusion out there about what HTML5 is. Your average web user seems to think that HTML5, by itself, creates all these fancy effects, similar to flash, and it&#8217;s just not true.  Perhaps the most egregious example of which hailed the Google Doodle in which balls fly away from the user&#8217;s mouse <a href="http://econsultancy.com/us/blog/6573-why-it-s-time-to-pay-attention-to-html5">as a great example of HTML5</a>, but no, sorry, it&#8217;s not. They received so much criticism from the tech community that they changed their example to point to <a href="http://www.thewildernessdowntown.com">thewildernessdowntown.com</a>, which while a much better example of the use of HTML5, still relies heavily on other technologies such as JavaScript. (They really should of pointed to <a href="http://lostworldsfairs.com">Lost Worlds Fairs</a> but that&#8217;s another story&#8230;)</p>
<p>For those of you not on the tech side of things, here&#8217;s a brief breakdown:</p>
<ul>
<li>HTML5 &#8211; HTML is a markup language. It declares the structure of our content. HTML5 is a new version of HTML, adding new tags that allow us to define the parts of our HTML page. Much like a outline, the HTML defines the content of the page. HTML5 has added new tags such as <em>video</em>, <em>header</em>, and <em>section</em>, that better allow us to describe our HTML pages. </li>
<li>CSS3 &#8211; Just as HTML5 is the latest iteration of HTML, CSS3 is the latest iteration of CSS. CSS stands for &#8220;Cascaiding Style Sheets&#8221; and defines the style (a.k.a. the design of the page). An HTML page viewed without it&#8217;s CSS should theoretically still be perfectly legible and usable, just boring looking. </li>
<li>JavaScript &#8211; The magic behind the webpage. It&#8217;s what makes things move, defines complex svg shapes, creates motion, adds and removes parts of the page on demand, loads dynamic content, etc. </li>
</ul>
<p>However, I understand why web users are confused. There&#8217;s not really a clear label for this type of development, at least not one that&#8217;s quick and easy to use. Sites use terms like &#8220;HTML5 and related technologies&#8221; (slate.com) or &#8220;HTML5 and web standards&#8221; (apple.com) which easily becomes abbreviated to HTML5, confusing less technical web users. I think we need a clear term to describe this new type of web development, one that doesn&#8217;t lump JavaScript in with CSS3 and HTML5.</p>
<p>I&#8217;m not sure what this new term should be. I&#8217;ve seen some suggestions, some calling it Web 3.0 (confusing, as Web 2.0 is more of a reference to a visual style than a programming style), but most are some variant of HTML5&#8230; and some other stuff. We need a nice simple term like DHTML (that&#8217;s Dynamic HTML for you young&#8217;ns), so here are some suggestions: iHTML (inspired by Apple, who are really pushing for a richer HTML experience), fHTML (after all, it&#8217;s the &#8220;future of web development&#8221; &#8211; also what one may be saying when trying to convince IE7 to degrade gracefully), but these names still put the focus on the HTML component of this type of development. Maybe we should just call it &#8220;super awesome new internet stuff&#8221; (SAWIS for short)? What are your suggestions?</p>
<p>//Update: After a brief, unscientific survey of twitter, it seems we should just use DHTML. I think it works!</p>
]]></content:encoded>
			<wfw:commentRss>http://styleanderror.net/2010/09/20/html5-is-not-css3-is-not-javascript/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Fonts and the Web: TypeKit</title>
		<link>http://styleanderror.net/2010/09/17/fonts-and-the-web-typekit/</link>
		<comments>http://styleanderror.net/2010/09/17/fonts-and-the-web-typekit/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 20:45:13 +0000</pubDate>
		<dc:creator>sarah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://styleanderror.net/?p=146</guid>
		<description><![CDATA[To follow up my post from earlier this week, I&#8217;ve started implementing type kit fonts on this site, and I&#8217;m really pleased with how simple it is to set up. (So simple, I think, even my mom could set this &#8230; <a href="http://styleanderror.net/2010/09/17/fonts-and-the-web-typekit/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>To follow up my post from earlier this week, I&#8217;ve started implementing type kit fonts on this site, and I&#8217;m really pleased with how simple it is to set up. (So simple, I think, even my mom could set this up on her website). All you have to do is sign up, drop two lines of javascript into your site&#8217;s &lt;head&gt; tag, select a font in your TypeKit control panel, add a few css selectors (in the control panel &#8211; you don&#8217;t even have to write code!). </p>
<p>If you do want to write your own css however, you can &#8211; and I ended up going this route when I was having trouble adding id&#8217;s in the TypeKit control panel. I&#8217;m not sure if this is a TypeKit issue, or me just doing something wrong, but in the end, I&#8217;m usually happier when I&#8217;m managing my own code, so it&#8217;s great that typekit also has this option (it would be rather strange if it didn&#8217;t). </p>
<p>The other great thing about TypeKit is that they offer a trial membership level &#8211; I think 1 website, restricted to two fonts, but it&#8217;s great for trying it out.</p>
<p>My only problem is the font selection. I love small caps and there just aren&#8217;t enough serif small caps options. So off to try the next site&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://styleanderror.net/2010/09/17/fonts-and-the-web-typekit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fonts and the Web</title>
		<link>http://styleanderror.net/2010/09/15/fonts-and-the-web/</link>
		<comments>http://styleanderror.net/2010/09/15/fonts-and-the-web/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 20:51:41 +0000</pubDate>
		<dc:creator>sarah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://styleanderror.net/?p=137</guid>
		<description><![CDATA[So one of the things I like about Flex / Flash development is the fact that you can use pretty much any font you like, and it displays, fairly well across all browsers and operating systems. But even those of &#8230; <a href="http://styleanderror.net/2010/09/15/fonts-and-the-web/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>So one of the things I like about Flex / Flash development is the fact that you can use pretty much any font you like, and it displays, fairly well across all browsers and operating systems. But even those of us who make plain ol&#8217; HTML sites are becoming more appreciative value of good typography on the web, and we&#8217;re gaining awesome new tools to implement this good typography.</p>
<p>Now if I&#8217;m not a big slacker (it happens sometimes) hopefully in the next few weeks I&#8217;ll update this blog with a new design, and nice typography, instead of this boring old default wordpress theme. I&#8217;m hoping to use a few of these new tools to make my site super awesome looking: </p>
<p>For webfonts: </p>
<ul>
<li><a href="http://typekit.com/">typekit</a> (webfonts for a yearly subscription)</li>
<li><a href="http://www.typechart.com/ ">typechart<a/>(where you can purchase fonts w/ webfont licenses for a resonable fee)</li>
<li><a href="http://code.google.com/webfonts">google web fonts</a> (I&#8217;m not quite sure how I feel about these fonts, but it&#8217;s nice of google to make them freely available)</li>
<li><a href="http://kernest.com/ ">kernest</a>(has a large number of free and inexpensive webfonts)</li>
</ul>
<p>For layout:</p>
<ul>
<li><a href="http://lamb.cc/typograph/">typograph &#8211; scale &#038; rhthym</a> (for those Elements of Typographic style nerds out there)</li>
</ul>
<p>And since webfonts aren&#8217;t perfect, help for choosing more unique backup (for those browsers that don&#8217;t support webfonts), and body fonts:</p>
<ul>
<li><a href="http://www.fontspring.com/">fontspring</a></li>
<li><a href="http://www.awayback.com/revised-font-stack/">revised font stack</a></li>
</ul>
<p>Hopefully you&#8217;ll find some of these links as useful and inspiring as I have. </p>
]]></content:encoded>
			<wfw:commentRss>http://styleanderror.net/2010/09/15/fonts-and-the-web/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Stupid Hackers</title>
		<link>http://styleanderror.net/2010/07/07/stupid-hackers/</link>
		<comments>http://styleanderror.net/2010/07/07/stupid-hackers/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 13:38:34 +0000</pubDate>
		<dc:creator>sarah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://styleanderror.net/?p=121</guid>
		<description><![CDATA[Hackers got at the site, not sure if it&#8217;s from a media temple vulnerability (they&#8217;re claiming it&#8217;s not off course) or a wordpress vulnerability or the combination of the two, but it&#8217;s annoying to have to re do your blog &#8230; <a href="http://styleanderror.net/2010/07/07/stupid-hackers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Hackers got at the site, not sure if it&#8217;s from a media temple vulnerability (<a href="http://weblog.mediatemple.net/weblog/category/system-incidents/1378-information-about-compromised-sites/">they&#8217;re claiming it&#8217;s not off course</a>) or a wordpress vulnerability or the combination of the two, but it&#8217;s annoying to have to re do your blog while on vacation! The site is mostly back up but I still need to set up a bunch of plugins / retrieve my file backups from home so it&#8217;ll be a few days before everything is fully back up and running.</p>
]]></content:encoded>
			<wfw:commentRss>http://styleanderror.net/2010/07/07/stupid-hackers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FXG vs MXML Graphics Benchmarking</title>
		<link>http://styleanderror.net/2010/06/16/fxg-vs-mxml-graphics-benchmarking/</link>
		<comments>http://styleanderror.net/2010/06/16/fxg-vs-mxml-graphics-benchmarking/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 21:44:01 +0000</pubDate>
		<dc:creator>sarah</dc:creator>
				<category><![CDATA[Misc.]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[flex4]]></category>
		<category><![CDATA[fxg]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[mxmlg]]></category>
		<category><![CDATA[skinning]]></category>

		<guid isPermaLink="false">http://styleanderror.net/?p=104</guid>
		<description><![CDATA[As a follow up to Elad Elrom&#8217;s post on FXG increasing swf file size and taxing the CPU I thought I&#8217;d benchmark FXG (compiled graphics files) vs runtime MXML graphics. There seems to be some confusion in the community as &#8230; <a href="http://styleanderror.net/2010/06/16/fxg-vs-mxml-graphics-benchmarking/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>As a follow up to <a href="http://elromdesign.com/blog/2010/06/16/fxg-code-increases-your-swf-containers-size-and-tax-your-cpu/">Elad Elrom&#8217;s post on FXG increasing swf file size and taxing the CPU</a> I thought I&#8217;d benchmark FXG (compiled graphics files) vs runtime MXML graphics.</p>
<p>There seems to be some confusion in the community as to the difference between FXG graphics and MXMLG (MXML Graphics). FXG is used to create static vector files, and are frequently produced using Catalyst or other Adobe software, although they can be written by hand.</p>
<p>MXMLG&#8217;s format is very similar to that of FXG &#8211; they use a number of the same tags. Adobe&#8217;s even published a helpful guide on <a href="http://help.adobe.com/en_US/flex/using/WSda78ed3a750d6b8f26c150d412357de3591-8000.html#WSDAD87261-09E9-4091-8169-F2758607F125">converting FXG to MXMLG</a>. However, MXMLG is much more powerful as it&#8217;s rendered at runtime, and as such, you can customize it on the fly, even adding styling hooks to change properties via CSS.</p>
<p>The results from my benchmarking were somewhat surprising &#8211; I had assumed that FXG would use less memory, but it actually uses the tiniest bit more.</p>
<p>In both tests, I created 100 buttons and applied a skin to each of these buttons via the &#8216;Button&#8217; css selector. The skins where identical, except in one I used a FXG component, and in the other I used MXMLG.</p>
<p><!--FXG Skin: FXG: MXMLG Skin:--></p>
<p><strong>The Results</strong></p>
<p>The swf&#8217;s themselves were fairly similar in size 41,020  bytes for the MXMLG version, FXG at a slightly lower weight at 40,900  bytes.</p>
<p>So the two demos used almost exactly the same amount of memory, the FXG version using 3K more at max memory &#8211; see for yourself:</p>

<a href='http://styleanderror.net/2010/06/16/fxg-vs-mxml-graphics-benchmarking/screen-shot-2010-06-16-at-5-07-30-pm/' title='FXG Live Objects'><img width="150" height="150" src="http://styleanderror.net/wp-content/uploads/2010/07/Screen-shot-2010-06-16-at-5.07.30-PM-150x150.png" class="attachment-thumbnail" alt="FXG Live Objects" /></a>
<a href='http://styleanderror.net/2010/06/16/fxg-vs-mxml-graphics-benchmarking/screen-shot-2010-06-16-at-5-07-43-pm/' title='FXG Memory Usage'><img width="150" height="150" src="http://styleanderror.net/wp-content/uploads/2010/07/Screen-shot-2010-06-16-at-5.07.43-PM-150x150.png" class="attachment-thumbnail" alt="FXG Memory Usage" /></a>
<a href='http://styleanderror.net/2010/06/16/fxg-vs-mxml-graphics-benchmarking/screen-shot-2010-06-16-at-5-08-50-pm/' title='MXMLG Live Objects'><img width="150" height="150" src="http://styleanderror.net/wp-content/uploads/2010/07/Screen-shot-2010-06-16-at-5.08.50-PM-150x150.png" class="attachment-thumbnail" alt="MXMLG Live Objects" /></a>
<a href='http://styleanderror.net/2010/06/16/fxg-vs-mxml-graphics-benchmarking/screen-shot-2010-06-16-at-5-08-58-pm/' title='MXMLG Memory Usage'><img width="150" height="150" src="http://styleanderror.net/wp-content/uploads/2010/07/Screen-shot-2010-06-16-at-5.08.58-PM-150x150.png" class="attachment-thumbnail" alt="MXMLG Memory Usage" /></a>

<p><span id="more-104"></span></p>
<p><strong>The Skin Code</strong></p>
<p>And just in case you don&#8217;t believe me that the code is almost identical, here&#8217;s it is:</p>
<p>FXG Skin:</p>
<div class="codecolorer-container mxml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br /></div></td><td><div class="mxml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Skin</span> xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span> </span><br />
<span style="color: #000000;">&nbsp; &nbsp; xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span> </span><br />
<span style="color: #000000;">&nbsp; &nbsp; xmlns:mx=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/mx&quot;</span> xmlns:local=<span style="color: #ff0000;">&quot;*&quot;</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- host component --&gt;</span></span><br />
&nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Metadata</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; [HostComponent(&quot;spark.components.Button&quot;)]<br />
&nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/fx:Metadata</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; <br />
&nbsp; <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- states --&gt;</span></span><br />
&nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:states</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:State</span> name=<span style="color: #ff0000;">&quot;disabled&quot;</span> <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:State</span> name=<span style="color: #ff0000;">&quot;down&quot;</span> <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:State</span> name=<span style="color: #ff0000;">&quot;over&quot;</span> <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:State</span> name=<span style="color: #ff0000;">&quot;up&quot;</span> <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:states</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; <br />
&nbsp; <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- SkinParts</span><br />
<span style="color: #000000;">&nbsp; name=labelDisplay, type=spark.components.supportClasses.TextBase, required=false</span><br />
<span style="color: #000000;">&nbsp; --&gt;</span></span><br />
&nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;local:GraphicComp</span> <span style="color: #7400FF;">/&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Skin</span><span style="color: #7400FF;">&gt;</span></span></div></td></tr></tbody></table></div>
<p>The FXG Component:</p>
<div class="codecolorer-container mxml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br /></div></td><td><div class="mxml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- GraphicComp.fxg --&gt;</span></span><br />
<span style="color: #000000;">&lt;Graphic xmlns=<span style="color: #ff0000;">&quot;http://ns.adobe.com/fxg/2008&quot;</span> version=<span style="color: #ff0000;">&quot;2&quot;</span><span style="color: #7400FF;">&gt;</span></span> &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&lt;Rect id=<span style="color: #ff0000;">&quot;rect1&quot;</span> width=<span style="color: #ff0000;">&quot;200&quot;</span> height=<span style="color: #ff0000;">&quot;200&quot;</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&lt;fill<span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&lt;SolidColor color=<span style="color: #ff0000;">&quot;#FFFFCC&quot;</span><span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&lt;/fill<span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&lt;stroke<span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&lt;SolidColorStroke color=<span style="color: #ff0000;">&quot;#660099&quot;</span> weight=<span style="color: #ff0000;">&quot;2&quot;</span><span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&lt;/stroke<span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&lt;/Rect<span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;">&lt;/Graphic<span style="color: #7400FF;">&gt;</span></span></div></td></tr></tbody></table></div>
<p>The MXMLG Skin:</p>
<div class="codecolorer-container mxml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br /></div></td><td><div class="mxml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Skin</span> xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span> </span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span> </span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; xmlns:mx=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/mx&quot;</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- host component --&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Metadata</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; [HostComponent(&quot;spark.components.Button&quot;)]<br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/fx:Metadata</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Script</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&lt;!<span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/fx:Script</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- states --&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:states</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:State</span> name=<span style="color: #ff0000;">&quot;disabled&quot;</span> <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:State</span> name=<span style="color: #ff0000;">&quot;down&quot;</span> <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:State</span> name=<span style="color: #ff0000;">&quot;over&quot;</span> <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:State</span> name=<span style="color: #ff0000;">&quot;up&quot;</span> <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:states</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- SkinParts</span><br />
<span style="color: #000000;">&nbsp; &nbsp; name=labelDisplay, type=spark.components.supportClasses.TextBase, required=false</span><br />
<span style="color: #000000;">&nbsp; &nbsp; --&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Rect</span> id=<span style="color: #ff0000;">&quot;rect1&quot;</span> width=<span style="color: #ff0000;">&quot;200&quot;</span> height=<span style="color: #ff0000;">&quot;200&quot;</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:fill</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:SolidColor</span> color=<span style="color: #ff0000;">&quot;#FFFFCC&quot;</span><span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:fill</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:stroke</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:SolidColorStroke</span> color=<span style="color: #ff0000;">&quot;#660099&quot;</span> weight=<span style="color: #ff0000;">&quot;2&quot;</span><span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:stroke</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Rect</span><span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Skin</span><span style="color: #7400FF;">&gt;</span></span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://styleanderror.net/2010/06/16/fxg-vs-mxml-graphics-benchmarking/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Download the Slides / Examples from Flash Coders NY Talk</title>
		<link>http://styleanderror.net/2010/06/14/download-the-slides-examples-from-flash-coders-ny-talk/</link>
		<comments>http://styleanderror.net/2010/06/14/download-the-slides-examples-from-flash-coders-ny-talk/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 16:05:28 +0000</pubDate>
		<dc:creator>sarah</dc:creator>
				<category><![CDATA[Misc.]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[flex4]]></category>
		<category><![CDATA[skinning]]></category>

		<guid isPermaLink="false">http://styleanderror.net/?p=88</guid>
		<description><![CDATA[Thanks everyone who attended my Flex 4 Skinning and Styling talk last night at <a href="http://flashcodersny.com">Flash Coders New York</a>! For those of you who weren't there, we covered the basics of creating programmatic skins in Flex 4 (and why you would choose to use programmatic skins over skins created in catalyst or png skins. <a href="http://styleanderror.net/2010/06/14/download-the-slides-examples-from-flash-coders-ny-talk/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Thanks everyone who attended my Flex 4 Skinning and Styling talk last night at <a href="http://flashcodersny.com">Flash Coders New York</a>! For those of you who weren&#8217;t there, we covered the basics of creating programmatic skins in Flex 4 (and why you would choose to use programmatic skins over skins created in catalyst or png skins.</p>
<p>These demos are similar to some of the demos I&#8217;ve posted previously, and all build upon the same base of code:<br />
<span id="more-88"></span><br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="multistylename"
			class="flashmovie"
			width="400"
			height="200">
	<param name="movie" value="/files/ProgrammaticPretty060210/StyleNamesDemo/SimpleButtonSkinDemo.swf" />
	<param name="base" value="." />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/files/ProgrammaticPretty060210/StyleNamesDemo/SimpleButtonSkinDemo.swf"
			name="multistylename"
			width="400"
			height="200">
		<param name="base" value="." />
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="multistylename"
			class="flashmovie"
			width="400"
			height="200">
	<param name="movie" value="/files/ProgrammaticPretty060210/MultipleStyleNamesDemo/SimpleButtonSkinDemo.swf" />
	<param name="base" value="." />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/files/ProgrammaticPretty060210/MultipleStyleNamesDemo/SimpleButtonSkinDemo.swf"
			name="multistylename"
			width="400"
			height="200">
		<param name="base" value="." />
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="simplebuttonskindemo"
			class="flashmovie"
			width="400"
			height="200">
	<param name="movie" value="/files/ProgrammaticPretty060210/SimpleButtonSkin/SimpleButtonSkinDemo.swf" />
	<param name="base" value="." />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/files/ProgrammaticPretty060210/SimpleButtonSkin/SimpleButtonSkinDemo.swf"
			name="simplebuttonskindemo"
			width="400"
			height="200">
		<param name="base" value="." />
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="skinnedButtonBarDemo"
			class="flashmovie"
			width="400"
			height="200">
	<param name="movie" value="/files/ProgrammaticPretty060210/SkinnedButtonBarDemo/SkinnedButtonBarDemo.swf" />
	<param name="base" value="." />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/files/ProgrammaticPretty060210/SkinnedButtonBarDemo/SkinnedButtonBarDemo.swf"
			name="skinnedButtonBarDemo"
			width="400"
			height="200">
		<param name="base" value="." />
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="flex4degrafabuttonskin"
			class="flashmovie"
			width="400"
			height="200">
	<param name="movie" value="/files/ProgrammaticPretty060210/Flex4DegrafaButtonSkin/Flex4DegrafaButtonSkin.swf" />
	<param name="base" value="." />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/files/ProgrammaticPretty060210/Flex4DegrafaButtonSkin/Flex4DegrafaButtonSkin.swf"
			name="flex4degrafabuttonskin"
			width="400"
			height="200">
		<param name="base" value="." />
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>(right click and view source for all) &#8211; also note I couldn&#8217;t include akzidenz w/ the demos, you&#8217;ll have to comment that out or set up your own font for that to work.</p>
<p>The slides are available here:</p>
<div style="width:425px" id="__ss_4475799"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/sforst/programmatic-pretty" title="Programmatic pretty">Programmatic pretty</a></strong><object id="__sse4475799" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=programmaticpretty-100611095146-phpapp01&#038;stripped_title=programmatic-pretty" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed name="__sse4475799" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=programmaticpretty-100611095146-phpapp01&#038;stripped_title=programmatic-pretty" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/sforst">sforst</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://styleanderror.net/2010/06/14/download-the-slides-examples-from-flash-coders-ny-talk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Skinny DataGrid / List Scrollbars</title>
		<link>http://styleanderror.net/2010/05/26/skinny-datagrid-list-scrollbars/</link>
		<comments>http://styleanderror.net/2010/05/26/skinny-datagrid-list-scrollbars/#comments</comments>
		<pubDate>Wed, 26 May 2010 21:19:01 +0000</pubDate>
		<dc:creator>sarah</dc:creator>
				<category><![CDATA[Misc.]]></category>
		<category><![CDATA[Flex DataGrid Skinning]]></category>

		<guid isPermaLink="false">http://styleanderror.net/2010/05/skinny-datagrid-list-scrollbars/</guid>
		<description><![CDATA[I&#8217;ve always felt that the default (flex 3) scrollbars are sorta chunky, like they might need to go on a diet. Apparently the designers I work with feel the same way, as they&#8217;re always making them skinnier than the default &#8230; <a href="http://styleanderror.net/2010/05/26/skinny-datagrid-list-scrollbars/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve always felt that the default (flex 3) scrollbars are sorta chunky, like they might need to go on a diet. Apparently the designers I work with feel the same way, as they&#8217;re always making them skinnier than the default 16 pixel width.</p>
<p>However, when I go to implement the scrollbars in DataGrids, I run into a problem where there&#8217;s a slight gutter between the row backgrounds and the scrollbar, where the data grid background colour shows through.</p>
<p>There&#8217;s a simple (although I feel slightly hacky) solution to this fix. In any of your data grids that are using thinner scrollbars, on creationComplete call myDataGrid.invalidateList().</p>
<p>I should note, I&#8217;m not sure if this is an issue with programmatic skins, for scrollbar graphics at least, I tend to always use pngs.</p>
]]></content:encoded>
			<wfw:commentRss>http://styleanderror.net/2010/05/26/skinny-datagrid-list-scrollbars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
