<?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>Kristof Neirynck &#187; Flex</title>
	<atom:link href="http://www.crydust.be/blog/category/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crydust.be/blog</link>
	<description>yet another webdev blog</description>
	<lastBuildDate>Wed, 05 May 2010 16:13:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Css in Flex</title>
		<link>http://www.crydust.be/blog/2008/08/29/css-in-flex/</link>
		<comments>http://www.crydust.be/blog/2008/08/29/css-in-flex/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 15:58:26 +0000</pubDate>
		<dc:creator>Kristof Neirynck</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.crydust.be/blog/?p=68</guid>
		<description><![CDATA[I had some issues today to change the background color of a button in Flex. The up-skin was set for the Button selector which meant setting the fill-colors property for the Button.special selector had no effect. Setting the up-skin to null was the only solution. This was easy to do in code with setStyle, but [...]]]></description>
			<content:encoded><![CDATA[<p>
I had some issues today to change the background color of a button in Flex. The up-skin was set for the Button selector which meant setting the fill-colors property for the Button.special selector had no effect. Setting the up-skin to null was the only solution. This was easy to do in code with setStyle, but I wanted to do it in css. Writing null wasn&#8217;t quite enough. Apearently you need to use ClassReference(null). Hope this helps someone out.
</p>

<pre>
Button {
  up-skin: Embed(source='img/example.png');
}
Button.special{
  <strong>up-skin: ClassReference(null);</strong>
  fill-alphas: 1.0, 1.0;
  fill-colors: #00FF00, #00FF00;
}
</pre>]]></content:encoded>
			<wfw:commentRss>http://www.crydust.be/blog/2008/08/29/css-in-flex/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AIR afterhours</title>
		<link>http://www.crydust.be/blog/2008/01/18/air-afterhours/</link>
		<comments>http://www.crydust.be/blog/2008/01/18/air-afterhours/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 20:55:00 +0000</pubDate>
		<dc:creator>Kristof Neirynck</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.crydust.be/blog/2008/01/18/air-afterhours/</guid>
		<description><![CDATA[I&#8217;ve been to a great afterhours session about AIR with Peter Elst. He&#8217;s writing a book on the subject so obviously there was lots he had to teach. He covered the windowing, file, dragdrop, sqlite and upgrade apis. This was a bring-your-own-laptop session so all the people present were experimenting with the code. We found [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been to a great afterhours session about AIR with <a href="http://www.peterelst.com">Peter Elst</a>. He&#8217;s writing a book on the subject so obviously there was lots he had to teach. He covered the windowing, file, dragdrop, sqlite and upgrade apis. This was a bring-your-own-laptop session so all the people present were experimenting with the code. We found a few oddities that you usually learn the hard way.</p>
<p>FileFilter behaves differently on mac and windows. On windows the extension parameter must start with an asterisk &quot;*.html&quot;, on mac both &quot;*.html&quot; and &quot;.html&quot; seem to work.</p>
<p>Creating and manipulating NativeWindows works great, but adding flex components to the stage of a new NativeWindow doesn&#8217;t seem to work. <a href="http://www.danieldura.com/archive/apollo-multi-window-support-using-flex">Daniel Dura</a> had a workaround for this, but that doesn&#8217;t seem to work anymore.</p>
<p>He gifted a few books at the end. ActionScript 3.0 Design Patterns is now mine. Thanks Peter!</p>
<p><b>Update:</b> Peter has remembered how to use <a href="http://www.peterelst.com/blog/2008/01/19/multimediacollege-afterhours/">mx.core.Window</a> as a a native window.</p>]]></content:encoded>
			<wfw:commentRss>http://www.crydust.be/blog/2008/01/18/air-afterhours/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>BlogReader</title>
		<link>http://www.crydust.be/blog/2006/12/26/blogreader/</link>
		<comments>http://www.crydust.be/blog/2006/12/26/blogreader/#comments</comments>
		<pubDate>Tue, 26 Dec 2006 18:07:03 +0000</pubDate>
		<dc:creator>Kristof Neirynck</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.crydust.be/blog/2006/12/26/blogreader/</guid>
		<description><![CDATA[<p>I too am toying around with <a href="http://www.adobe.com/downloads/#developer">Flex 2</a>. Thus copying every other Flash programmer on this planet. The states, transitions and binding are going to be a blessing for every programmer.</p>
]]></description>
			<content:encoded><![CDATA[<p>I too am toying around with <a href="http://www.adobe.com/downloads/#developer">Flex 2</a>. Thus copying every other Flash programmer on this planet. The states, transitions and binding are going to be a blessing for every programmer.</p>

<span id="more-12"></span>

<p>The <a href="http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&#038;file=00000069.html">Retrieve and Display Data</a> tutorial explains how to read an rss2 feed. Copy-pasting the sample code is too easy, so I decided to add a bit more functionallity.</p>
<ul>
<li>The date is now formatted,</li>
<li>There is a &#8220;Loading&#8221; and &#8220;Loaded&#8221; state,</li>
<li>There is a transition between states,</li>
<li>Links in the <code>TextArea</code> are blue and underlined,</li>
<li>The whole app has a minimum and maximum size,</li>
<li>There is a <code>VDividedBox</code> surrounding the <code>TextArea</code> and <code>DataGrid</code>,</li>
<li>A &#8220;view source&#8221; link was added.</li>
</ul>

<p>You can see the <a href="http://www.crydust.be/lab/flex2/BlogReader/">BlogReader</a> example online. Don&#8217;t forget to take a look at the code!</p>

<p>See also <a href="http://rantworld.blogs.com/flashlit/2006/08/styling_flex_te.html">Styling Flex TextArea content with CSS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crydust.be/blog/2006/12/26/blogreader/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
