<?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/"
	>

<channel>
	<title>Werth.</title>
	<atom:link href="http://werth.psycholutions.com/feed" rel="self" type="application/rss+xml" />
	<link>http://werth.psycholutions.com</link>
	<description>Thoughts on Rich Internet Applications</description>
	<pubDate>Mon, 06 Jul 2009 15:21:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex and UTF-8</title>
		<link>http://werth.psycholutions.com/flex-and-utf-8</link>
		<comments>http://werth.psycholutions.com/flex-and-utf-8#comments</comments>
		<pubDate>Mon, 04 May 2009 14:43:23 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
		
		<category><![CDATA[AIR 1.5]]></category>

		<category><![CDATA[Action Script 3]]></category>

		<category><![CDATA[Flex 3]]></category>

		<guid isPermaLink="false">http://werth.psycholutions.com/?p=147</guid>
		<description><![CDATA[Flex fires unexpected errors during compiling, if we use in german so called &#8220;Umlaute&#8221; in the code- or targeting UTF-8 encoding. Unfortunately the UTF-8 XML-tag at the head of any Flex code ducument is not enough to reach the &#8220;freedom of UTF-8&#8243;. The document itself has to be saved UTF-8 encoded. This could be done [...]]]></description>
			<content:encoded><![CDATA[<p>Flex fires unexpected errors during compiling, if we use in german so called &#8220;Umlaute&#8221; in the code- or targeting UTF-8 encoding. Unfortunately the UTF-8 XML-tag at the head of any Flex code ducument is not enough to reach the &#8220;freedom of UTF-8&#8243;. The document itself has to be saved UTF-8 encoded. This could be done by using an editor like <a href="http://notepad-plus.sourceforge.net/de/site.htm">Notepad++</a> or any other program containing save options like &#8220;save as UTF-8&#8243;.</p>



If you found this useful, leave a comment...I love comments :-).


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-and-utf-8&amp;title=Flex%20and%20UTF-8" title="Digg"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-and-utf-8&amp;title=Flex%20and%20UTF-8" title="Sphinn"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/sphinn.gif" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-and-utf-8&amp;title=Flex%20and%20UTF-8" title="del.icio.us"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-and-utf-8&amp;t=Flex%20and%20UTF-8" title="Facebook"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-and-utf-8&amp;title=Flex%20and%20UTF-8" title="Mixx"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-and-utf-8&amp;title=Flex%20and%20UTF-8" title="Google"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="mailto:?subject=Flex%20and%20UTF-8&amp;body=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-and-utf-8" title="E-mail this story to a friend!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" href="javascript:window.print();" title="Print this article!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-and-utf-8&amp;title=Flex%20and%20UTF-8" title="Spurl"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-and-utf-8&amp;title=Flex%20and%20UTF-8" title="StumbleUpon"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-and-utf-8" title="Technorati"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://werth.psycholutions.com/flex-and-utf-8/feed</wfw:commentRss>
		</item>
		<item>
		<title>Flex Sub-States</title>
		<link>http://werth.psycholutions.com/flex-sub-states</link>
		<comments>http://werth.psycholutions.com/flex-sub-states#comments</comments>
		<pubDate>Wed, 15 Apr 2009 17:01:02 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
		
		<category><![CDATA[Flex 3]]></category>

		<guid isPermaLink="false">http://werth.psycholutions.com/?p=134</guid>
		<description><![CDATA[Flex states are wonderful. What if we need substates?
A closer look to the lifedocs shows us an attribute which is providing this. The so called &#8220;basedOn-attribute&#8221;.

The mx:State tag has the following attributes:

  mx:State
  Properties
  basedOn="null"
  name="null"
  overrides="null"




If you found this useful, leave a comment...I love comments :-).


	
	
	
	
	
	
	
	
	
	
	


]]></description>
			<content:encoded><![CDATA[<p>Flex states are wonderful. What if we need substates?<br />
A closer look to the lifedocs shows us an attribute which is providing this. The so called &#8220;basedOn-attribute&#8221;.</p>
<pre>
The mx:State tag has the following attributes:

  mx:State
  Properties
  basedOn="null"
  name="null"
  overrides="null"
</pre>



If you found this useful, leave a comment...I love comments :-).


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-sub-states&amp;title=Flex%20Sub-States" title="Digg"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-sub-states&amp;title=Flex%20Sub-States" title="Sphinn"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/sphinn.gif" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-sub-states&amp;title=Flex%20Sub-States" title="del.icio.us"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-sub-states&amp;t=Flex%20Sub-States" title="Facebook"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-sub-states&amp;title=Flex%20Sub-States" title="Mixx"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-sub-states&amp;title=Flex%20Sub-States" title="Google"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="mailto:?subject=Flex%20Sub-States&amp;body=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-sub-states" title="E-mail this story to a friend!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" href="javascript:window.print();" title="Print this article!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-sub-states&amp;title=Flex%20Sub-States" title="Spurl"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-sub-states&amp;title=Flex%20Sub-States" title="StumbleUpon"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-sub-states" title="Technorati"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://werth.psycholutions.com/flex-sub-states/feed</wfw:commentRss>
		</item>
		<item>
		<title>Adobe AIR Install Badge Cyan Effect</title>
		<link>http://werth.psycholutions.com/adobe-air-install-badge-cyan-effect</link>
		<comments>http://werth.psycholutions.com/adobe-air-install-badge-cyan-effect#comments</comments>
		<pubDate>Thu, 19 Mar 2009 15:29:19 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
		
		<category><![CDATA[AIR 1.5]]></category>

		<guid isPermaLink="false">http://werth.psycholutions.com/?p=100</guid>
		<description><![CDATA[I had some problems to find a way to remove this light cyan effect on Grant Skinners custom install badge. And I was wondering to see so many badge implemantations still keeping this effect on there logo. So I was in in touch with the Adobe team.

They say that the badge is largely grayscale (intentionally [...]]]></description>
			<content:encoded><![CDATA[<p>I had some problems to find a way to remove this light cyan effect on Grant Skinners custom install badge. And I was wondering to see so many badge implemantations still keeping this effect on there logo. So I was in in touch with the Adobe team.</p>
<p><img class="alignnone size-full wp-image-102" title="badge_hint" src="http://werth.psycholutions.com/wp-content/uploads/2009/03/badge_hint.png" alt="badge_hint" width="596" height="400" /></p>
<p>They say that the badge is largely grayscale (intentionally so), but that there is a very subtle cyan &#8220;light&#8221; at the top of the screen. That can be easily disabled by just deleting it, or guiding / editing the &#8220;light&#8221; layer in the FLA. Great, but what to do if you just have no flash development environment on board, or can`t find the right layer?</p>
<p>They send me a <a href="http://werth.psycholutions.com/wp-content/uploads/2009/03/sample_badge_without_cyan_effect.zip">sample_badge_without_cyan_effect.zip</a>.<br />
Grab it if you like. Maybe sometimeÂ there is a new version available. Â Check it out at:<br />
<a href="http://www.adobe.com/devnet/air/articles/badge_for_air.html">http://www.adobe.com/devnet/air/articles/badge_for_air.html</a></p>



If you found this useful, leave a comment...I love comments :-).


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwerth.psycholutions.com%2Fadobe-air-install-badge-cyan-effect&amp;title=Adobe%20AIR%20Install%20Badge%20Cyan%20Effect" title="Digg"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fadobe-air-install-badge-cyan-effect&amp;title=Adobe%20AIR%20Install%20Badge%20Cyan%20Effect" title="Sphinn"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/sphinn.gif" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwerth.psycholutions.com%2Fadobe-air-install-badge-cyan-effect&amp;title=Adobe%20AIR%20Install%20Badge%20Cyan%20Effect" title="del.icio.us"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwerth.psycholutions.com%2Fadobe-air-install-badge-cyan-effect&amp;t=Adobe%20AIR%20Install%20Badge%20Cyan%20Effect" title="Facebook"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwerth.psycholutions.com%2Fadobe-air-install-badge-cyan-effect&amp;title=Adobe%20AIR%20Install%20Badge%20Cyan%20Effect" title="Mixx"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwerth.psycholutions.com%2Fadobe-air-install-badge-cyan-effect&amp;title=Adobe%20AIR%20Install%20Badge%20Cyan%20Effect" title="Google"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="mailto:?subject=Adobe%20AIR%20Install%20Badge%20Cyan%20Effect&amp;body=http%3A%2F%2Fwerth.psycholutions.com%2Fadobe-air-install-badge-cyan-effect" title="E-mail this story to a friend!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" href="javascript:window.print();" title="Print this article!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fadobe-air-install-badge-cyan-effect&amp;title=Adobe%20AIR%20Install%20Badge%20Cyan%20Effect" title="Spurl"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwerth.psycholutions.com%2Fadobe-air-install-badge-cyan-effect&amp;title=Adobe%20AIR%20Install%20Badge%20Cyan%20Effect" title="StumbleUpon"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwerth.psycholutions.com%2Fadobe-air-install-badge-cyan-effect" title="Technorati"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://werth.psycholutions.com/adobe-air-install-badge-cyan-effect/feed</wfw:commentRss>
		</item>
		<item>
		<title>Compiling Flex Themes Examples</title>
		<link>http://werth.psycholutions.com/compiling-flex-themes-examples</link>
		<comments>http://werth.psycholutions.com/compiling-flex-themes-examples#comments</comments>
		<pubDate>Tue, 17 Mar 2009 23:47:07 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
		
		<category><![CDATA[AIR 1.5]]></category>

		<category><![CDATA[Flex 3]]></category>

		<category><![CDATA[Flex Skin Switch]]></category>

		<category><![CDATA[Flex Template Chooser]]></category>

		<category><![CDATA[loadStyleDeclarations]]></category>

		<category><![CDATA[Theme]]></category>

		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://werth.psycholutions.com/?p=65</guid>
		<description><![CDATA[To use multiple styles, themes, skins from within flex we need to compile corresponding layout data to a sfw-file. Some examples bellow.
Compile a simple css file on windows to use it as switchable style (style.swf):
C:\FLEX\flex_sdk_3\bin\mxmlc C:\AIRSDK\pslrss\css\style.css
Compile a theme/skin from fillcolors.com on windows:
C:\FLEX\flex_sdk_3\bin\mxmlc 
-include-libraries=
C:\AIRSDK\pslrss\themes\rainbow\CSSPlus.swc,
C:\AIRSDK\pslrss\themes\rainbow\Mate3.swc 
C:\AIRSDK\pslrss\themes\rainbow\Rainbow.css



If you found this useful, leave a comment...I love comments :-).


	
	
	
	
	
	
	
	
	
	
	


]]></description>
			<content:encoded><![CDATA[<p>To use multiple styles, themes, skins from within flex we need to compile corresponding layout data to a sfw-file. Some examples bellow.</p>
<p>Compile a simple css file on windows to use it as switchable style (style.swf):</p>
<blockquote><p>C:\FLEX\flex_sdk_3\bin\mxmlc C:\AIRSDK\pslrss\css\style.css</p></blockquote>
<p>Compile a theme/skin from fillcolors.com on windows:</p>
<blockquote><p>C:\FLEX\flex_sdk_3\bin\mxmlc </p>
<p>-include-libraries=<br />
C:\AIRSDK\pslrss\themes\rainbow\CSSPlus.swc,<br />
C:\AIRSDK\pslrss\themes\rainbow\Mate3.swc </p>
<p>C:\AIRSDK\pslrss\themes\rainbow\Rainbow.css</p></blockquote>



If you found this useful, leave a comment...I love comments :-).


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwerth.psycholutions.com%2Fcompiling-flex-themes-examples&amp;title=Compiling%20Flex%20Themes%20Examples" title="Digg"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fcompiling-flex-themes-examples&amp;title=Compiling%20Flex%20Themes%20Examples" title="Sphinn"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/sphinn.gif" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwerth.psycholutions.com%2Fcompiling-flex-themes-examples&amp;title=Compiling%20Flex%20Themes%20Examples" title="del.icio.us"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwerth.psycholutions.com%2Fcompiling-flex-themes-examples&amp;t=Compiling%20Flex%20Themes%20Examples" title="Facebook"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwerth.psycholutions.com%2Fcompiling-flex-themes-examples&amp;title=Compiling%20Flex%20Themes%20Examples" title="Mixx"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwerth.psycholutions.com%2Fcompiling-flex-themes-examples&amp;title=Compiling%20Flex%20Themes%20Examples" title="Google"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="mailto:?subject=Compiling%20Flex%20Themes%20Examples&amp;body=http%3A%2F%2Fwerth.psycholutions.com%2Fcompiling-flex-themes-examples" title="E-mail this story to a friend!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" href="javascript:window.print();" title="Print this article!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fcompiling-flex-themes-examples&amp;title=Compiling%20Flex%20Themes%20Examples" title="Spurl"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwerth.psycholutions.com%2Fcompiling-flex-themes-examples&amp;title=Compiling%20Flex%20Themes%20Examples" title="StumbleUpon"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwerth.psycholutions.com%2Fcompiling-flex-themes-examples" title="Technorati"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://werth.psycholutions.com/compiling-flex-themes-examples/feed</wfw:commentRss>
		</item>
		<item>
		<title>Passing Variables to EventListeners in AS 3</title>
		<link>http://werth.psycholutions.com/passing-variables-to-eventlisteners</link>
		<comments>http://werth.psycholutions.com/passing-variables-to-eventlisteners#comments</comments>
		<pubDate>Fri, 06 Mar 2009 13:12:27 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
		
		<category><![CDATA[Action Script 3]]></category>

		<category><![CDATA[AS3 Flex AIR]]></category>

		<guid isPermaLink="false">http://werth.psycholutions.com/?p=55</guid>
		<description><![CDATA[Instead of using anonymous functions we can write something like this to access variables from within eventListeners:


private classVar:String    = 'A string just for fun';

private function myClassFunction():void{

    var FunctionVar:String = 'A string just for fun';

    var myHandler:Function = function(e:Event):void{

        classVar [...]]]></description>
			<content:encoded><![CDATA[<p>Instead of using anonymous functions we can write something like this to access variables from within eventListeners:</p>
<pre>

private classVar:String    = 'A string just for fun';

private function myClassFunction():void{

    var FunctionVar:String = 'A string just for fun';

    var myHandler:Function = function(e:Event):void{

        classVar           = 'Something else';

        FunctionVar        = 'Something else';

        trace('----Event.CLOSE-----');

        pslnote.removeEventListener(Event.CLOSE, myhandler);

        pslnote            = null;

        return;

    }//handlerEnd

    pslnote.addEventListener(Event.CLOSE,myHandler);

}//functionEnd
</pre>



If you found this useful, leave a comment...I love comments :-).


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwerth.psycholutions.com%2Fpassing-variables-to-eventlisteners&amp;title=Passing%20Variables%20to%20EventListeners%20in%20AS%203" title="Digg"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fpassing-variables-to-eventlisteners&amp;title=Passing%20Variables%20to%20EventListeners%20in%20AS%203" title="Sphinn"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/sphinn.gif" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwerth.psycholutions.com%2Fpassing-variables-to-eventlisteners&amp;title=Passing%20Variables%20to%20EventListeners%20in%20AS%203" title="del.icio.us"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwerth.psycholutions.com%2Fpassing-variables-to-eventlisteners&amp;t=Passing%20Variables%20to%20EventListeners%20in%20AS%203" title="Facebook"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwerth.psycholutions.com%2Fpassing-variables-to-eventlisteners&amp;title=Passing%20Variables%20to%20EventListeners%20in%20AS%203" title="Mixx"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwerth.psycholutions.com%2Fpassing-variables-to-eventlisteners&amp;title=Passing%20Variables%20to%20EventListeners%20in%20AS%203" title="Google"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="mailto:?subject=Passing%20Variables%20to%20EventListeners%20in%20AS%203&amp;body=http%3A%2F%2Fwerth.psycholutions.com%2Fpassing-variables-to-eventlisteners" title="E-mail this story to a friend!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" href="javascript:window.print();" title="Print this article!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fpassing-variables-to-eventlisteners&amp;title=Passing%20Variables%20to%20EventListeners%20in%20AS%203" title="Spurl"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwerth.psycholutions.com%2Fpassing-variables-to-eventlisteners&amp;title=Passing%20Variables%20to%20EventListeners%20in%20AS%203" title="StumbleUpon"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwerth.psycholutions.com%2Fpassing-variables-to-eventlisteners" title="Technorati"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://werth.psycholutions.com/passing-variables-to-eventlisteners/feed</wfw:commentRss>
		</item>
		<item>
		<title>Wrapping Text in Flex</title>
		<link>http://werth.psycholutions.com/wrapping-text-in-flex</link>
		<comments>http://werth.psycholutions.com/wrapping-text-in-flex#comments</comments>
		<pubDate>Thu, 19 Feb 2009 02:24:34 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
		
		<category><![CDATA[Flex 3]]></category>

		<guid isPermaLink="false">http://werth.psycholutions.com/?p=50</guid>
		<description><![CDATA[Wrapping Text in Flex is sometimes difficult.
To eleminate white space use the attribute:
condenseWhite=&#8221;true&#8221;
&#8230;For example this could be done by using a Textarea:
mx:String id=&#8221;myTextVar&#8221; source=&#8221;./myText.html&#8221;
mx:TextArea id=&#8221;textArea&#8221;
                    htmlText=&#8221;{myTextVar}&#8221;
           [...]]]></description>
			<content:encoded><![CDATA[<p>Wrapping Text in Flex is sometimes difficult.<br />
To eleminate white space use the attribute:</p>
<blockquote><p>condenseWhite=&#8221;true&#8221;</p></blockquote>
<p>&#8230;For example this could be done by using a Textarea:</p>
<blockquote><p>mx:String id=&#8221;myTextVar&#8221; source=&#8221;./myText.html&#8221;<br />
mx:TextArea id=&#8221;textArea&#8221;<br />
                    htmlText=&#8221;{myTextVar}&#8221;<br />
                    condenseWhite=&#8221;true&#8221;<br />
                    width=&#8221;100%&#8221;<br />
                    height=&#8221;150&#8243;<br />
                    editable=&#8221;false&#8221;</p></blockquote>



If you found this useful, leave a comment...I love comments :-).


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwerth.psycholutions.com%2Fwrapping-text-in-flex&amp;title=Wrapping%20Text%20in%20Flex" title="Digg"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fwrapping-text-in-flex&amp;title=Wrapping%20Text%20in%20Flex" title="Sphinn"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/sphinn.gif" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwerth.psycholutions.com%2Fwrapping-text-in-flex&amp;title=Wrapping%20Text%20in%20Flex" title="del.icio.us"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwerth.psycholutions.com%2Fwrapping-text-in-flex&amp;t=Wrapping%20Text%20in%20Flex" title="Facebook"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwerth.psycholutions.com%2Fwrapping-text-in-flex&amp;title=Wrapping%20Text%20in%20Flex" title="Mixx"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwerth.psycholutions.com%2Fwrapping-text-in-flex&amp;title=Wrapping%20Text%20in%20Flex" title="Google"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="mailto:?subject=Wrapping%20Text%20in%20Flex&amp;body=http%3A%2F%2Fwerth.psycholutions.com%2Fwrapping-text-in-flex" title="E-mail this story to a friend!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" href="javascript:window.print();" title="Print this article!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fwrapping-text-in-flex&amp;title=Wrapping%20Text%20in%20Flex" title="Spurl"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwerth.psycholutions.com%2Fwrapping-text-in-flex&amp;title=Wrapping%20Text%20in%20Flex" title="StumbleUpon"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwerth.psycholutions.com%2Fwrapping-text-in-flex" title="Technorati"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://werth.psycholutions.com/wrapping-text-in-flex/feed</wfw:commentRss>
		</item>
		<item>
		<title>TextInput and rounded corners in Flex</title>
		<link>http://werth.psycholutions.com/textinput-and-rounded-corners-in-flex</link>
		<comments>http://werth.psycholutions.com/textinput-and-rounded-corners-in-flex#comments</comments>
		<pubDate>Thu, 19 Feb 2009 02:12:01 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
		
		<category><![CDATA[Flex 3]]></category>

		<guid isPermaLink="false">http://werth.psycholutions.com/?p=44</guid>
		<description><![CDATA[Default rounded corners do not work on Textinputs (textInputs) but a textinput can have rounded corners try this:
mx:TextInput cornerRadius=&#8221;10&#8243; borderStyle=&#8221;solid&#8221;
Without the borderStyle set to solid it doesn&#8217;t work. This might work on different other components like boxes etc. too.



If you found this useful, leave a comment...I love comments :-).


	
	
	
	
	
	
	
	
	
	
	


]]></description>
			<content:encoded><![CDATA[<p>Default rounded corners do not work on Textinputs (textInputs) but a textinput can have rounded corners try this:</p>
<blockquote><p>mx:TextInput cornerRadius=&#8221;10&#8243; borderStyle=&#8221;solid&#8221;</p></blockquote>
<p>Without the borderStyle set to solid it doesn&#8217;t work. This might work on different other components like boxes etc. too.</p>



If you found this useful, leave a comment...I love comments :-).


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwerth.psycholutions.com%2Ftextinput-and-rounded-corners-in-flex&amp;title=TextInput%20and%20rounded%20corners%20in%20Flex" title="Digg"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Ftextinput-and-rounded-corners-in-flex&amp;title=TextInput%20and%20rounded%20corners%20in%20Flex" title="Sphinn"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/sphinn.gif" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwerth.psycholutions.com%2Ftextinput-and-rounded-corners-in-flex&amp;title=TextInput%20and%20rounded%20corners%20in%20Flex" title="del.icio.us"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwerth.psycholutions.com%2Ftextinput-and-rounded-corners-in-flex&amp;t=TextInput%20and%20rounded%20corners%20in%20Flex" title="Facebook"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwerth.psycholutions.com%2Ftextinput-and-rounded-corners-in-flex&amp;title=TextInput%20and%20rounded%20corners%20in%20Flex" title="Mixx"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwerth.psycholutions.com%2Ftextinput-and-rounded-corners-in-flex&amp;title=TextInput%20and%20rounded%20corners%20in%20Flex" title="Google"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="mailto:?subject=TextInput%20and%20rounded%20corners%20in%20Flex&amp;body=http%3A%2F%2Fwerth.psycholutions.com%2Ftextinput-and-rounded-corners-in-flex" title="E-mail this story to a friend!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" href="javascript:window.print();" title="Print this article!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Ftextinput-and-rounded-corners-in-flex&amp;title=TextInput%20and%20rounded%20corners%20in%20Flex" title="Spurl"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwerth.psycholutions.com%2Ftextinput-and-rounded-corners-in-flex&amp;title=TextInput%20and%20rounded%20corners%20in%20Flex" title="StumbleUpon"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwerth.psycholutions.com%2Ftextinput-and-rounded-corners-in-flex" title="Technorati"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://werth.psycholutions.com/textinput-and-rounded-corners-in-flex/feed</wfw:commentRss>
		</item>
		<item>
		<title>Theme Chooser in Flex</title>
		<link>http://werth.psycholutions.com/theme-chooser-in-flex</link>
		<comments>http://werth.psycholutions.com/theme-chooser-in-flex#comments</comments>
		<pubDate>Tue, 10 Feb 2009 02:42:09 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
		
		<category><![CDATA[AIR 1.5]]></category>

		<category><![CDATA[Action Script 3]]></category>

		<category><![CDATA[Flex 3]]></category>

		<category><![CDATA[Flex Skin Switch]]></category>

		<category><![CDATA[Flex Template Chooser]]></category>

		<category><![CDATA[loadStyleDeclarations]]></category>

		<category><![CDATA[StyleManager]]></category>

		<category><![CDATA[Theme]]></category>

		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=12</guid>
		<description><![CDATA[Have you ever tried to implement a theme chooser in Flex?
We know we have to compile the CSS files for a skin to a SWF to make this happen. But unfortunately the adobe livedocs dont tell something about the nessesarry unloadStyleDeclarations method:
StyleManager.unloadStyleDeclarations(oldStyleFile);
&#8230;which will prevent us from some random mysteriouse behavior ;-).
Here comes a complete AS [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever tried to implement a theme chooser in Flex?<br />
We know we have to compile the CSS files for a skin to a SWF to make this happen. But unfortunately the adobe livedocs dont tell something about the nessesarry unloadStyleDeclarations method:</p>
<pre><code>StyleManager.unloadStyleDeclarations(oldStyleFile);</code></pre>
<p>&#8230;which will prevent us from some random mysteriouse behavior ;-).<br />
Here comes a complete AS 3 example for Flex:</p>
<pre lang="xml" escaped="true">

< ?xml version="1.0" encoding="utf-8"?>
<mx :Canvas  xmlns:mx="http://www.adobe.com/2006/mxml">
	</mx>
    <mx :Script>
< ![CDATA[

    import mx.styles.StyleManager;

    [Bindable]
    private var themes: Array = [
        {label:"Smoke", data:"themes/Smoke/Smoke.swf"},
        {label:"Institutional", data:"themes/Institutional/Institutional.swf"},
        {label:"AeonGraphical", data:"themes/AeonGraphical/AeonGraphical.swf"},
        {label:"Shadow", data:"css/shadow.swf"},
        {label:"Default Flex Style", data:"css/style.swf"},
        {label:"Blend", data:"css/blend.swf"},
        {label:"Flex Skins", data:"css/flex_skins.swf"},
        {label:"Ice", data:"themes/Ice/Ice.swf"},
        {label:"Rainbow", data:"themes/rainbow/Rainbow.swf"},
        {label:"Carbon", data:"themes/carbon/carbon.swf"},
        {label:"yflexskin", data:"themes/yflexskin/yflexskin.swf"}

    ];

    private var oldStyleFile:String;

    private function myLoadStyle():void{
        var layout:String=theme.selectedItem.data;
        StyleManager.unloadStyleDeclarations(oldStyleFile);
        StyleManager.loadStyleDeclarations(layout);
        oldStyleFile = layout;
    }

    ]]&gt;
	</mx>

	<mx :ComboBox id="theme" dataProvider="{themes}" width="150" change="myLoadStyle()" visible="true"/>
</pre>
<p><strong>Notice:</strong></p>
<p>1. To avoid any flicker effects while switching themes, we can use fadeIn/fadeOut-flex-effects during style changes.</p>
<p>2. Style-Declarations have to be set equivalent from theme to theme. Otherwise we get some memory effect on forgotten declarations (still present styles after changing). </p>
<p>Exciting FLEX themes/skins can be found here:<br />
http://www.scalenine.com/<br />
http://www.fillcolors.com/<br />
Unfortunately most of them require some modifications for special (or common) purposes ;-).</p>



If you found this useful, leave a comment...I love comments :-).


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwerth.psycholutions.com%2Ftheme-chooser-in-flex&amp;title=Theme%20Chooser%20in%20Flex" title="Digg"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Ftheme-chooser-in-flex&amp;title=Theme%20Chooser%20in%20Flex" title="Sphinn"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/sphinn.gif" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwerth.psycholutions.com%2Ftheme-chooser-in-flex&amp;title=Theme%20Chooser%20in%20Flex" title="del.icio.us"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwerth.psycholutions.com%2Ftheme-chooser-in-flex&amp;t=Theme%20Chooser%20in%20Flex" title="Facebook"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwerth.psycholutions.com%2Ftheme-chooser-in-flex&amp;title=Theme%20Chooser%20in%20Flex" title="Mixx"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwerth.psycholutions.com%2Ftheme-chooser-in-flex&amp;title=Theme%20Chooser%20in%20Flex" title="Google"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="mailto:?subject=Theme%20Chooser%20in%20Flex&amp;body=http%3A%2F%2Fwerth.psycholutions.com%2Ftheme-chooser-in-flex" title="E-mail this story to a friend!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" href="javascript:window.print();" title="Print this article!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Ftheme-chooser-in-flex&amp;title=Theme%20Chooser%20in%20Flex" title="Spurl"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwerth.psycholutions.com%2Ftheme-chooser-in-flex&amp;title=Theme%20Chooser%20in%20Flex" title="StumbleUpon"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwerth.psycholutions.com%2Ftheme-chooser-in-flex" title="Technorati"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://werth.psycholutions.com/theme-chooser-in-flex/feed</wfw:commentRss>
		</item>
		<item>
		<title>Some modifications on Christophe Coenraets ORM Example</title>
		<link>http://werth.psycholutions.com/flex-orm</link>
		<comments>http://werth.psycholutions.com/flex-orm#comments</comments>
		<pubDate>Mon, 09 Feb 2009 23:32:39 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
		
		<category><![CDATA[AIR 1.5]]></category>

		<category><![CDATA[Action Script 3]]></category>

		<category><![CDATA[Flex 3]]></category>

		<category><![CDATA[EntityManager]]></category>

		<category><![CDATA[Flex ORM]]></category>

		<category><![CDATA[Flex SQLite]]></category>

		<category><![CDATA[newDB]]></category>

		<category><![CDATA[SQLConnection]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=1</guid>
		<description><![CDATA[In addition to Christophe Coenraets article &#8220;Using the SQLite Database Access API in AIR Part 3&#8243; I made some modifications to enable inline editing and update the grid imidiately after every data change.

import mx.events.DataGridEvent;
private var em:EntityManager = EntityManager.getInstance();

public function saveItem():void
{
    em.save(contact);
    parentApplication.loadContacts();
}

public function saveItemInline(event:DataGridEvent):void
{
    var field:String [...]]]></description>
			<content:encoded><![CDATA[<p>In addition to Christophe Coenraets article <a href="http://coenraets.org/blog/2008/12/using-the-sqlite-database-access-api-in-air%e2%80%a6-part-3-annotation-based-orm-framework/trackback/">&#8220;Using the SQLite Database Access API in AIR Part 3&#8243; </a>I made some modifications to enable inline editing and update the grid imidiately after every data change.</p>
<pre><code>
import mx.events.DataGridEvent;
private var em:EntityManager = EntityManager.getInstance();

public function saveItem():void
{
    em.save(contact);
    parentApplication.loadContacts();
}

public function saveItemInline(event:DataGridEvent):void
{
    var field:String = event.dataField;
    contact[field] =   event.currentTarget.itemEditorInstance.text;
    em.save(contact);
}

public function deleteItem():void
{
    em.remove(contact);
    parentApplication.loadContacts();
}

public function newItem():void
{
    contact = new Contact();
}
</code></pre>



If you found this useful, leave a comment...I love comments :-).


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-orm&amp;title=Some%20modifications%20on%20Christophe%20Coenraets%20ORM%20Example" title="Digg"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-orm&amp;title=Some%20modifications%20on%20Christophe%20Coenraets%20ORM%20Example" title="Sphinn"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/sphinn.gif" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-orm&amp;title=Some%20modifications%20on%20Christophe%20Coenraets%20ORM%20Example" title="del.icio.us"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-orm&amp;t=Some%20modifications%20on%20Christophe%20Coenraets%20ORM%20Example" title="Facebook"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-orm&amp;title=Some%20modifications%20on%20Christophe%20Coenraets%20ORM%20Example" title="Mixx"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-orm&amp;title=Some%20modifications%20on%20Christophe%20Coenraets%20ORM%20Example" title="Google"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="mailto:?subject=Some%20modifications%20on%20Christophe%20Coenraets%20ORM%20Example&amp;body=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-orm" title="E-mail this story to a friend!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" href="javascript:window.print();" title="Print this article!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-orm&amp;title=Some%20modifications%20on%20Christophe%20Coenraets%20ORM%20Example" title="Spurl"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-orm&amp;title=Some%20modifications%20on%20Christophe%20Coenraets%20ORM%20Example" title="StumbleUpon"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwerth.psycholutions.com%2Fflex-orm" title="Technorati"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://werth.psycholutions.com/flex-orm/feed</wfw:commentRss>
		</item>
		<item>
		<title>Sometimes a man needs to play&#8230;</title>
		<link>http://werth.psycholutions.com/sometimes-a-man-needs-to-play</link>
		<comments>http://werth.psycholutions.com/sometimes-a-man-needs-to-play#comments</comments>
		<pubDate>Mon, 09 Feb 2009 18:21:15 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
		
		<category><![CDATA[Lost and Found]]></category>

		<guid isPermaLink="false">http://werth.psycholutions.com/?p=122</guid>
		<description><![CDATA[In the 80&#8217;s I payed 1 &#8220;Deutsche Mark&#8221; for every Astorid Game- never could imagine having this &#8220;onto&#8221; a personal blog site- just for free :-).
if (WIDGETBOX) WIDGETBOX.renderWidget('cfa00703-734c-4b04-8efc-d477961c0378');Get the Asteroids widget and many other great free widgets at Widgetbox!

Click here to play Galaga!

Click here to play Galagon 2004



Click here to play Pacman II


Click here to [...]]]></description>
			<content:encoded><![CDATA[<p>In the 80&#8217;s I payed 1 &#8220;Deutsche Mark&#8221; for every Astorid Game- never could imagine having this &#8220;onto&#8221; a personal blog site- just for free :-).<br />
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script>if (WIDGETBOX) WIDGETBOX.renderWidget('cfa00703-734c-4b04-8efc-d477961c0378');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/asteroids">Asteroids</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>!</noscript></p>
<p><a target="blank" href="http://www.y8.com/games/Galaga"><br />
Click here to play <b>Galaga!</b></a><br />
<br />
<a href="http://www.y8.com/games/Galagon_2004">Click here to play <b>Galagon 2004</b><br />
</a><br />
<br />
<a href="http://www.y8.com/games/Pacman_2"><br />
Click here to play <b>Pacman II</b><b></b></a><br />
<br />
<a href="http://www.y8.com/games/Strikers_1945_Flash"><br />
Click here to play <b>Strikers 1945</b></a><br />
<br />
<a href="http://www.y8.com/games/Jetfighter"><br />
Click here to play <b>Jetfighter</b></a><br />
<br />
<a href="http://www.y8.com/games/Hybrid_Fighter"><br />
Click here to play <b>Hybrid Fighter</b></a><br />
<br />
<a href="http://www.y8.com/games/Space_Bugs"><br />
Click here to play <b>Space Bugs</b></a></p>



If you found this useful, leave a comment...I love comments :-).


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwerth.psycholutions.com%2Fsometimes-a-man-needs-to-play&amp;title=Sometimes%20a%20man%20needs%20to%20play..." title="Digg"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fsometimes-a-man-needs-to-play&amp;title=Sometimes%20a%20man%20needs%20to%20play..." title="Sphinn"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/sphinn.gif" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwerth.psycholutions.com%2Fsometimes-a-man-needs-to-play&amp;title=Sometimes%20a%20man%20needs%20to%20play..." title="del.icio.us"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwerth.psycholutions.com%2Fsometimes-a-man-needs-to-play&amp;t=Sometimes%20a%20man%20needs%20to%20play..." title="Facebook"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwerth.psycholutions.com%2Fsometimes-a-man-needs-to-play&amp;title=Sometimes%20a%20man%20needs%20to%20play..." title="Mixx"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwerth.psycholutions.com%2Fsometimes-a-man-needs-to-play&amp;title=Sometimes%20a%20man%20needs%20to%20play..." title="Google"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="mailto:?subject=Sometimes%20a%20man%20needs%20to%20play...&amp;body=http%3A%2F%2Fwerth.psycholutions.com%2Fsometimes-a-man-needs-to-play" title="E-mail this story to a friend!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" href="javascript:window.print();" title="Print this article!"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwerth.psycholutions.com%2Fsometimes-a-man-needs-to-play&amp;title=Sometimes%20a%20man%20needs%20to%20play..." title="Spurl"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwerth.psycholutions.com%2Fsometimes-a-man-needs-to-play&amp;title=Sometimes%20a%20man%20needs%20to%20play..." title="StumbleUpon"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwerth.psycholutions.com%2Fsometimes-a-man-needs-to-play" title="Technorati"><img src="http://werth.psycholutions.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://werth.psycholutions.com/sometimes-a-man-needs-to-play/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

