<?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>FLEX{er} &#187; ActionScript</title>
	<atom:link href="http://www.flexer.info/category/actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexer.info</link>
	<description>flex developers web corner</description>
	<lastBuildDate>Tue, 04 Oct 2011 16:23:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
  <link>http://www.flexer.info</link>
  <url>http://www.flexer.info/favicon.ico</url>
  <title>FLEX{er}</title>
</image>
		<item>
		<title>Adobe Flash Player 11 and AIR 3 Launched</title>
		<link>http://www.flexer.info/2011/10/04/adobe-flash-player-11-and-air-3-launched/</link>
		<comments>http://www.flexer.info/2011/10/04/adobe-flash-player-11-and-air-3-launched/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 16:23:21 +0000</pubDate>
		<dc:creator>Andrei Ionescu</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[Flash Player 11]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[AIR 3]]></category>

		<guid isPermaLink="false">http://www.flexer.info/?p=1872</guid>
		<description><![CDATA[Now that MAX 2011 Conference is started, Adobe just launched the Flash Player 11 and AIR 3. Take a look at the features introduced by each of them.
Flash Player 11 features

Native 64-bit support (Flash Player desktop)
Stage 3D accelerated graphics rendering
Adobe Flash Access content protection support for mobile
Native JSON (JavaScript Object Notation) support
G.711 audio compression for [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexer.info%2F2011%2F10%2F04%2Fadobe-flash-player-11-and-air-3-launched%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexer.info%2F2011%2F10%2F04%2Fadobe-flash-player-11-and-air-3-launched%2F" height="61" width="51" /></a></div><div style="float: right; margin-right: 10px"><a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://www.flexer.info/2011/10/04/adobe-flash-player-11-and-air-3-launched/&title=Adobe+Flash+Player+11+and+AIR+3+Launched&srcURL=http://www.flexer.info" target="_blank" rel="nofollow"><img
src="http://www.flexer.info/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a></div><p>Now that <a href="http://max.adobe.com" target="_blank">MAX 2011 Conference</a> is started, Adobe just launched the Flash Player 11 and AIR 3. Take a look at the features introduced by each of them.</p>
<p><strong>Flash Player 11 features</strong></p>
<ul class="ul">
<li>Native 64-bit support (Flash Player desktop)</li>
<li>Stage 3D accelerated graphics rendering</li>
<li>Adobe Flash Access content protection support for mobile</li>
<li>Native JSON (JavaScript Object Notation) support</li>
<li>G.711 audio compression for telephony</li>
<li>Garbage collection advice</li>
<li>Cubic Bézier curves</li>
<li>Secure random number generator</li>
<li>Protected HTTP Dynamic Streaming (HDS) and Flash Access enhancements</li>
<li>TLS secure sockets support (new for Flash Player)</li>
<li>Socket progress events</li>
<li>Native text input UI (mobile)</li>
<li>JPEG-XR support</li>
<li>Enhanced high-resolution bitmap support</li>
<li>High-efficiency SWF compression support</li>
<li>DisplayObjectContainer.removeChildren and MovieClip.isPlaying</li>
<li>Sound.loadCompressedDataFromByteArray and Sound.loadPCMFromByteArray</li>
<li>Asynchronous bitmap decoding</li>
</ul>
<p>Test if you have Flash Player 11 installed here: <a href="http://blogs.adobe.com/sunil/2011/10/04/test/" target="_blank">http://blogs.adobe.com/sunil/2011/10/04/test/</a>.</p>
<p>Get Adobe Flash Player 11 from here: <a href="http://get.adobe.com/flashplayer/" target="_blank">http://get.adobe.com/flashplayer/</a></p>
<p>If you look for the debugger version of Flash Player 11 go to this link: <a href="http://www.adobe.com/support/flashplayer/downloads.html" target="_blank">http://www.adobe.com/support/flashplayer/downloads.html</a></p>
<p><strong>AIR 3 features</strong></p>
<ul class="ul">
<li>Stage3D (desktop only)</li>
<li>Native extensions (all platforms)</li>
<li>Android Market licensing integration (Android only, obviously)</li>
<li>Captive runtime bundles (Android and desktop)</li>
<li>Background audio playback (new feature in iOS; already works on Android)</li>
<li>CameraRoll support for iPad</li>
<li>Hardware-accelerated video (mobile)</li>
<li>Native text fields (mobile)</li>
<li>Front-facing camera support (iOS and Android)</li>
<li>Mobile-encrypted local storage (brings feature parity between desktop and mobile)</li>
<li>Device speaker control (mobile)</li>
<li>Native JSON support (mobile and desktop)</li>
<li>Socket improvements (mobile and desktop)</li>
<li>H.264 video encoding (desktop only)</li>
<li>JPEG XR support (mobile and desktop)</li>
<li>Higher resolution bitmaps (mobile and desktop)</li>
<li>Multichannel audio digital output (AIR for TV only)</li>
<li>Advanced controller support (AIR for TV only)</li>
<li>More easily removing all children from a container (all platforms)</li>
<li>More easily determine if a MovieClip is playing (all platforms)</li>
<li>Secure random number generation (mobile and desktop)</li>
<li>Support for cubic bezier curves (all platforms)</li>
</ul>
<p>Get Adobe AIR 3 from here: <a href="http://get.adobe.com/air/" target="_blank">http://get.adobe.com/air/</a></p>
<p>The features were only listed. Read more bellow to find put more about each feature&#8230;<br />
<a href="http://blogs.adobe.com/flashplayer/2011/10/adobe-flash-player-11-air-11-available-later-today.html" target="_blank">http://blogs.adobe.com/flashplayer/2011/10/adobe-flash-player-11-air-11-available-later-today.html</a><br />
<a href="http://www.adobe.com/devnet/flashplayer/articles/whats-new-flash-player11.html" target="_blank">http://www.adobe.com/devnet/flashplayer/articles/whats-new-flash-player11.html</a><br />
<a href="http://www.adobe.com/devnet/air/articles/air3_whatsnew.html" target="_blank">http://www.adobe.com/devnet/air/articles/air3_whatsnew.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexer.info/2011/10/04/adobe-flash-player-11-and-air-3-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSMF 1.6 and Strobe Media Playback 1.6 Released</title>
		<link>http://www.flexer.info/2011/09/09/osmf-1-6-and-strobe-media-playback-1-6-released/</link>
		<comments>http://www.flexer.info/2011/09/09/osmf-1-6-and-strobe-media-playback-1-6-released/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 09:18:28 +0000</pubDate>
		<dc:creator>Andrei Ionescu</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[Flash Player 10.1]]></category>
		<category><![CDATA[Flash Player 10.2]]></category>
		<category><![CDATA[Flash Player 10.3]]></category>
		<category><![CDATA[Flash Player 11]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[OSMF]]></category>
		<category><![CDATA[SMP]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Strobe]]></category>

		<guid isPermaLink="false">http://www.flexer.info/?p=1859</guid>
		<description><![CDATA[Adobe just released the version 1.6 of both OSMF and Strobe Media Playback. The main things added to them are:

Stage Video support for hardware-accelerated video presentation (OSMF)
Smartphone and tablet optimized chrome for Flash-enabled devices (Strobe Media Playback)
HTML5 video player for non-Flash devices (Strobe Media Playback)
JavaScript device detection library for selecting the appropriate player and chrome [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexer.info%2F2011%2F09%2F09%2Fosmf-1-6-and-strobe-media-playback-1-6-released%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexer.info%2F2011%2F09%2F09%2Fosmf-1-6-and-strobe-media-playback-1-6-released%2F" height="61" width="51" /></a></div><div style="float: right; margin-right: 10px"><a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://www.flexer.info/2011/09/09/osmf-1-6-and-strobe-media-playback-1-6-released/&title=OSMF+1.6+and+Strobe+Media+Playback+1.6+Released&srcURL=http://www.flexer.info" target="_blank" rel="nofollow"><img
src="http://www.flexer.info/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a></div><p>Adobe just released the version 1.6 of both <a href="http://osmf.org" target="_blank">OSMF</a> and <a href="http://osmf.org/strobe_mediaplayback.html" target="_blank">Strobe Media Playback</a>. The main things added to them are:</p>
<ul class="ul">
<li><a href="http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=Stage_Video" target="_blank">Stage Video</a> support for hardware-accelerated video presentation (OSMF)
<li><a href="http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=HTML5_%26_JavaScript_support_for_SMP" target="_blank">Smartphone and tablet optimized chrome</a> for Flash-enabled devices (Strobe Media Playback)</li>
<li><a href="http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=HTML5_%26_JavaScript_support_for_SMP" target="_blank">HTML5 video player</a> for non-Flash devices (Strobe Media Playback)</li>
<li><a href="http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=HTML5_%26_JavaScript_support_for_SMP#Including_the_necessary_JavaScript_.26_CSS_library_files" target="_blank">JavaScript device detection library</a> for selecting the appropriate player and chrome (Strobe Media Playback)</li>
<li><a href="http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=Live_DVR_Rolling_Window_for_HTTP_dynamic_streams" target="_blank">DVR rolling window</a> support, which allows you specify how far back from the live point viewers can rewind (OSMF)</li>
<li><a href="http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=Late-Binding_Audio" target="_blank">Late-binding audio</a> for providing viewers with multiple audio track options, e.g. additional languages, director&#8217;s commentary, and &#8220;home&#8221; v. &#8220;away&#8221; coverage (OSMF)</li>
<li>Improvements to HTTP Dynamic Streaming as well as the ability to better manage bitrate profiles with <a href="http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=Flash_Media_Manifest_(F4M)_File_Format#The_multi-level_manifest">multi-level manifests</a> (OSMF)</li>
</ul>
<p>To read more follow these links&#8230;<br />
<a href="http://blogs.adobe.com/osmf/2011/09/announcing-osmf-and-strobe-media-playback-1-6.html" target="_blank">http://blogs.adobe.com/osmf/2011/09/announcing-osmf-and-strobe-media-playback-1-6.html</a><br />
<a href="http://www.pcmag.com/article2/0,2817,2392604,00.asp" target="_blank">http://www.pcmag.com/article2/0,2817,2392604,00.asp</a><br />
<a href="http://www.streamingmedia.com/Articles/News/Featured-News/Flash-Media-Server-4.5-Delivers-to-iPad-%26-iPhone-77490.aspx" target="_blank">http://www.streamingmedia.com/Articles/News/Featured-News/Flash-Media-Server-4.5-Delivers-to-iPad-%26-iPhone-77490.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexer.info/2011/09/09/osmf-1-6-and-strobe-media-playback-1-6-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe® AIR® and Adobe Flash® Player Incubator &#8211; Flash Player 11 Available</title>
		<link>http://www.flexer.info/2011/03/01/adobe%c2%ae-air%c2%ae-and-adobe-flash%c2%ae-player-incubator-flash-player-11-available/</link>
		<comments>http://www.flexer.info/2011/03/01/adobe%c2%ae-air%c2%ae-and-adobe-flash%c2%ae-player-incubator-flash-player-11-available/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 21:33:57 +0000</pubDate>
		<dc:creator>Andrei Ionescu</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[Flash Player 11]]></category>
		<category><![CDATA[Molehill]]></category>

		<guid isPermaLink="false">http://www.flexer.info/?p=1810</guid>
		<description><![CDATA[The Adobe® AIR® and Adobe Flash® Player Incubator is a technology preview program for more adventurous developers who are willing to experiment with Flash Platform runtime features that are in early development stages. Test the bleeding-edge capabilities of runtimes and contribute to the future of the Flash Platform. Please note that the capabilities in the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexer.info%2F2011%2F03%2F01%2Fadobe%25c2%25ae-air%25c2%25ae-and-adobe-flash%25c2%25ae-player-incubator-flash-player-11-available%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexer.info%2F2011%2F03%2F01%2Fadobe%25c2%25ae-air%25c2%25ae-and-adobe-flash%25c2%25ae-player-incubator-flash-player-11-available%2F" height="61" width="51" /></a></div><div style="float: right; margin-right: 10px"><a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://www.flexer.info/2011/03/01/adobe%c2%ae-air%c2%ae-and-adobe-flash%c2%ae-player-incubator-flash-player-11-available/&title=Adobe®+AIR®+and+Adobe+Flash®+Player+Incubator+&#8211;+Flash+Player+11+Available&srcURL=http://www.flexer.info" target="_blank" rel="nofollow"><img
src="http://www.flexer.info/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a></div><blockquote><p>The Adobe® AIR® and Adobe Flash® Player Incubator is a technology preview program for more adventurous developers who are willing to experiment with Flash Platform runtime features that are in early development stages. Test the bleeding-edge capabilities of runtimes and contribute to the future of the Flash Platform. Please note that the capabilities in the Incubator builds may or may not be supported in future releases of the runtimes.</p></blockquote>
<p><a href="http://labs.adobe.com/technologies/flashplatformruntimes/incubator/" target="_blank">Adobe Flash Player 11 Incubator</a> can be downloaded from <a href="http://labs.adobe.com/downloads/flashplatformruntimes_incubator.html" target="_blank">http://labs.adobe.com/downloads/flashplatformruntimes_incubator.html</a> and debug versions are also available.</p>
<p>The main thing added in Flash Player 11 Incubator is <a href="http://labs.adobe.com/technologies/flashplatformruntimes/incubator/features/molehill.html">“Molehill” 3D APIs for Flash Player and AIR</a> which is a new set of low-level, GPU-accelerated 3D APIs that enable advanced 3D experiences across devices through the Adobe Flash Platform runtimes.</p>
<p>This is a video to see what&#8217;s about &#8220;Molehill&#8221;:</p>
<p><object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/LrArtYuEkEI?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/LrArtYuEkEI?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="349"></embed></object></p>
<p>To test the new 3D capabilities of Flash Player 11 Incubator see:</p>
<ul class="ul">
<li><a href="http://alternativaplatform.com/en/demos/maxracer/" target="_blank">http://alternativaplatform.com/en/demos/maxracer/</a></li>
<li><a href="http://molehill.zombietycoon.com/" target="_blank">http://molehill.zombietycoon.com/</a></li>
<li><a href="http://infiniteturtles.co.uk/projects/away3d/broomstick/ShallowWaterDemo.html" target="_blank">http://infiniteturtles.co.uk/projects/away3d/broomstick/ShallowWaterDemo.html</a></li>
<li><a href="http://aerys.in/minko-quake-3" target="_blank">http://aerys.in/minko-quake-3</a></li>
</ul>
<p>Read more:<br />
<a href="http://blog.everythingflex.com/2011/03/01/flash-player-11-incubator-program/">http://blog.everythingflex.com/2011/03/01/flash-player-11-incubator-program/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexer.info/2011/03/01/adobe%c2%ae-air%c2%ae-and-adobe-flash%c2%ae-player-incubator-flash-player-11-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to transfer values from a Spark component to a skin part in Flex SDK 4</title>
		<link>http://www.flexer.info/2010/08/25/how-to-transfer-values-from-a-spark-component-to-a-skin-part-in-flex-sdk-4/</link>
		<comments>http://www.flexer.info/2010/08/25/how-to-transfer-values-from-a-spark-component-to-a-skin-part-in-flex-sdk-4/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 11:29:46 +0000</pubDate>
		<dc:creator>Stelian Crisan</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flex 4 SDK]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[MXML]]></category>
		<category><![CDATA[Skin]]></category>
		<category><![CDATA[Spark]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[flex sdk 4]]></category>

		<guid isPermaLink="false">http://www.flexer.info/?p=1710</guid>
		<description><![CDATA[Sometimes you need to pass values from components to skin, for example having a dynamic layout. Using Flex sdk 4 you can transfer values using content property of the hostComponent ({hostComponent.content}).
I made a small example that use hostComponent.content, changing the values of HSliders the colors of the component will be changed.


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_HostComponentContentFxr_126915343"
			class="flashmovie"
			width="400"
			height="180">
	<param name="movie" value="http://www.flexer.info/wp-content/uploads/2010/08/HostComponentContentFxr.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.flexer.info/wp-content/uploads/2010/08/HostComponentContentFxr.swf"
			name="fm_HostComponentContentFxr_126915343"
			width="400"
			height="180">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>

So [...]]]></description>
			<content:encoded><![CDATA[<div class='series_toc'><h3>Table of contents<!-- for Spark Skinning --></h3><ol><li><a href='http://www.flexer.info/2009/06/11/how-to-skin-a-container-with-padding-in-flex-4-sdk-spark/' title='How to skin a container with padding in Flex 4 SDK &#8211; Spark'>How to skin a container with padding in Flex 4 SDK &#8211; Spark</a></li><li><a href='http://www.flexer.info/2009/06/12/how-to-skin-a-button-with-icon-in-flex-4-sdk-spark/' title='How to skin a button with icon in Flex 4 SDK &#8211; spark'>How to skin a button with icon in Flex 4 SDK &#8211; spark</a></li><li>How to transfer values from a Spark component to a skin part in Flex SDK 4</li></ol></div> <div class="tweetmeme_button" style="float: right; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexer.info%2F2010%2F08%2F25%2Fhow-to-transfer-values-from-a-spark-component-to-a-skin-part-in-flex-sdk-4%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexer.info%2F2010%2F08%2F25%2Fhow-to-transfer-values-from-a-spark-component-to-a-skin-part-in-flex-sdk-4%2F" height="61" width="51" /></a></div><div style="float: right; margin-right: 10px"><a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://www.flexer.info/2010/08/25/how-to-transfer-values-from-a-spark-component-to-a-skin-part-in-flex-sdk-4/&title=How+to+transfer+values+from+a+Spark+component+to+a+skin+part+in+Flex+SDK+4&srcURL=http://www.flexer.info" target="_blank" rel="nofollow"><img
src="http://www.flexer.info/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a></div><p>Sometimes you need to pass values from components to skin, for example having a dynamic layout. Using Flex sdk 4 you can transfer values using <strong>content</strong> property of the <strong>hostComponent</strong> ({hostComponent.content}).</p>
<p>I made a small example that use <strong>hostComponent.content</strong>, changing the values of HSliders the colors of the component will be changed.<br />
<center><br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_HostComponentContentFxr_185470589"
			class="flashmovie"
			width="400"
			height="180">
	<param name="movie" value="http://www.flexer.info/wp-content/uploads/2010/08/HostComponentContentFxr.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.flexer.info/wp-content/uploads/2010/08/HostComponentContentFxr.swf"
			name="fm_HostComponentContentFxr_185470589"
			width="400"
			height="180">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br />
</center></p>
<p>So in mxml file you have to set the value for content property, that is an Object:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #66cc66;">&lt;</span>fx:Script<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;!</span><span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span>
		<span style="color: #0066CC;">import</span> com.<span style="color: #006600;">flexer</span>.<span style="color: #006600;">skin</span>.<span style="color: #006600;">ContentButtonSkin</span>;
		<span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">utils</span>.<span style="color: #006600;">ObjectProxy</span>;
&nbsp;
		<span style="color: #66cc66;">&#91;</span>Bindable<span style="color: #66cc66;">&#93;</span>
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> colors:ObjectProxy = <span style="color: #000000; font-weight: bold;">new</span> ObjectProxy<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&gt;</span>
<span style="color: #66cc66;">&lt;/</span>fx:Script<span style="color: #66cc66;">&gt;</span>
&nbsp;
<span style="color: #66cc66;">&lt;</span>s:<span style="color: #0066CC;">Button</span> <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;380&quot;</span> <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;40&quot;</span> label=<span style="color: #ff0000;">&quot;my custom button&quot;</span> 
              skinClass=<span style="color: #ff0000;">&quot;com.flexer.skin.ContentButtonSkin&quot;</span> content=<span style="color: #ff0000;">&quot;{colors}&quot;</span> <span style="color: #66cc66;">/&gt;</span></pre></div></div>

<p>Into skin file you can use it like this:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #66cc66;">&lt;</span>s:HGroup <span style="color: #0066CC;">left</span>=<span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #0066CC;">right</span>=<span style="color: #ff0000;">&quot;1&quot;</span> top=<span style="color: #ff0000;">&quot;1&quot;</span> bottom=<span style="color: #ff0000;">&quot;1&quot;</span> gap=<span style="color: #ff0000;">&quot;0&quot;</span><span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>s:Rect <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;33%&quot;</span> <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;</span>s:fill<span style="color: #66cc66;">&gt;</span>
			<span style="color: #66cc66;">&lt;</span>s:SolidColor <span style="color: #0066CC;">color</span>=<span style="color: #ff0000;">&quot;{hostComponent.content.leftColor}&quot;</span><span style="color: #66cc66;">/&gt;</span>
		<span style="color: #66cc66;">&lt;/</span>s:fill<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;/</span>s:Rect<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>s:Rect <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;34%&quot;</span> <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;</span>s:fill<span style="color: #66cc66;">&gt;</span>
			<span style="color: #66cc66;">&lt;</span>s:SolidColor <span style="color: #0066CC;">color</span>=<span style="color: #ff0000;">&quot;{hostComponent.content.centerColor}&quot;</span><span style="color: #66cc66;">/&gt;</span>
		<span style="color: #66cc66;">&lt;/</span>s:fill<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;/</span>s:Rect<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>s:Rect <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;33%&quot;</span> <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;</span>s:fill<span style="color: #66cc66;">&gt;</span>
			<span style="color: #66cc66;">&lt;</span>s:SolidColor <span style="color: #0066CC;">color</span>=<span style="color: #ff0000;">&quot;{hostComponent.content.rightColor}&quot;</span><span style="color: #66cc66;">/&gt;</span>
		<span style="color: #66cc66;">&lt;/</span>s:fill<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;/</span>s:Rect<span style="color: #66cc66;">&gt;</span>
<span style="color: #66cc66;">&lt;/</span>s:HGroup<span style="color: #66cc66;">&gt;</span></pre></div></div>

<p>Please see attached project  for a closer look.</p>
 <div class='series_links'><a href='http://www.flexer.info/2009/06/12/how-to-skin-a-button-with-icon-in-flex-4-sdk-spark/' title='How to skin a button with icon in Flex 4 SDK &#8211; spark'>Previous in series</a> </div>]]></content:encoded>
			<wfw:commentRss>http://www.flexer.info/2010/08/25/how-to-transfer-values-from-a-spark-component-to-a-skin-part-in-flex-sdk-4/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Anaglyphs with Pixel Bender</title>
		<link>http://www.flexer.info/2010/07/26/anaglyphs-with-pixel-bender/</link>
		<comments>http://www.flexer.info/2010/07/26/anaglyphs-with-pixel-bender/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 17:54:21 +0000</pubDate>
		<dc:creator>Andrei Ionescu</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Pixel Bender]]></category>
		<category><![CDATA[anaglyphs]]></category>
		<category><![CDATA[as3]]></category>

		<guid isPermaLink="false">http://www.flexer.info/?p=1677</guid>
		<description><![CDATA[Jozef Chúťka has did manage to create anaglyphs using Pixel Bender and displacement maps. The result is amazing! 

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_ee63ab1fa7305283c62866e3a4e4a2c72b014a81_421399571"
			class="flashmovie"
			width="600"
			height="450">
	<param name="movie" value="http://swf.wonderfl.net/swf/usercode/e/ee/ee63/ee63ab1fa7305283c62866e3a4e4a2c72b014a81.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://swf.wonderfl.net/swf/usercode/e/ee/ee63/ee63ab1fa7305283c62866e3a4e4a2c72b014a81.swf"
			name="fm_ee63ab1fa7305283c62866e3a4e4a2c72b014a81_421399571"
			width="600"
			height="450">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
There are multiple kinds of 2 color glasses used with anaglyphs but the demo in Jozef&#8217;s article is for the common cyan-magenta glasses.
To find out more read Jozef&#8217;s article: http://blog.yoz.sk/2010/06/anaglyphs-with-pixel-bender-and-depth-map/
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexer.info%2F2010%2F07%2F26%2Fanaglyphs-with-pixel-bender%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexer.info%2F2010%2F07%2F26%2Fanaglyphs-with-pixel-bender%2F" height="61" width="51" /></a></div><div style="float: right; margin-right: 10px"><a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://www.flexer.info/2010/07/26/anaglyphs-with-pixel-bender/&title=Anaglyphs+with+Pixel+Bender&srcURL=http://www.flexer.info" target="_blank" rel="nofollow"><img
src="http://www.flexer.info/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a></div><p>Jozef Chúťka has did manage to create <a href="http://blog.yoz.sk/2010/06/anaglyphs-with-pixel-bender-and-depth-map/" target="_blank">anaglyphs using Pixel Bender and displacement maps</a>. The result is amazing! </p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_ee63ab1fa7305283c62866e3a4e4a2c72b014a81_1349873343"
			class="flashmovie"
			width="600"
			height="450">
	<param name="movie" value="http://swf.wonderfl.net/swf/usercode/e/ee/ee63/ee63ab1fa7305283c62866e3a4e4a2c72b014a81.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://swf.wonderfl.net/swf/usercode/e/ee/ee63/ee63ab1fa7305283c62866e3a4e4a2c72b014a81.swf"
			name="fm_ee63ab1fa7305283c62866e3a4e4a2c72b014a81_1349873343"
			width="600"
			height="450">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>There are multiple kinds of 2 color glasses used with anaglyphs but the demo in Jozef&#8217;s article is for the common cyan-magenta glasses.</p>
<p>To find out more read Jozef&#8217;s article: <a href="http://blog.yoz.sk/2010/06/anaglyphs-with-pixel-bender-and-depth-map/" target="_blank">http://blog.yoz.sk/2010/06/anaglyphs-with-pixel-bender-and-depth-map/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexer.info/2010/07/26/anaglyphs-with-pixel-bender/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Medical Device Simulation on Flash Player Platform Using Multi-Screen Development</title>
		<link>http://www.flexer.info/2010/07/09/medical-device-simulation-on-flash-player-platform-using-multi-screen-development/</link>
		<comments>http://www.flexer.info/2010/07/09/medical-device-simulation-on-flash-player-platform-using-multi-screen-development/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 19:12:20 +0000</pubDate>
		<dc:creator>Andrei Ionescu</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[multi-screen]]></category>

		<guid isPermaLink="false">http://www.flexer.info/?p=1660</guid>
		<description><![CDATA[Serge Jespers did post an article regarding the new application Innovation Mecom has built for Dräger Carina medical device. The application is a simulation that reproduces all functions of the real device. So it is possible to get a real good impression of it even without using a real device. 
Watch the following demo about [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexer.info%2F2010%2F07%2F09%2Fmedical-device-simulation-on-flash-player-platform-using-multi-screen-development%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexer.info%2F2010%2F07%2F09%2Fmedical-device-simulation-on-flash-player-platform-using-multi-screen-development%2F" height="61" width="51" /></a></div><div style="float: right; margin-right: 10px"><a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://www.flexer.info/2010/07/09/medical-device-simulation-on-flash-player-platform-using-multi-screen-development/&title=Medical+Device+Simulation+on+Flash+Player+Platform+Using+Multi-Screen+Development&srcURL=http://www.flexer.info" target="_blank" rel="nofollow"><img
src="http://www.flexer.info/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a></div><p>Serge Jespers did post <a href="http://www.webkitchen.be/2010/07/06/multi-screen-medical-device-simulation/" target="_blank">an article</a> regarding the new application Innovation Mecom has built for Dräger Carina medical device. The application is a simulation that reproduces all functions of the real device. So it is possible to get a real good impression of it even without using a real device. </p>
<p>Watch the following demo about it.</p>
<p><object width="600" height="360"><param name="movie" value="http://www.youtube.com/v/yUAHKI2G8JE&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/yUAHKI2G8JE&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="600" height="360"></embed></object></p>
<p>You can experience the application for yourself following this link: <a href="http://www.draeger.com/local/products/carina_trainer/start.html" target="_blank">http://www.draeger.com/local/products/carina_trainer/start.html</a></p>
<p>You can read how it was developed on the creator&#8217;s blog: <a href="http://www.ketzler.de/2010/07/simulations-of-medical-devices-on-touch-devices-desktop-iphone-ipad-android/" target="_blank">http://www.ketzler.de/2010/07/simulations-of-medical-devices-on-touch-devices-desktop-iphone-ipad-android/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexer.info/2010/07/09/medical-device-simulation-on-flash-player-platform-using-multi-screen-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Two New Apps with Multi-Screen Experince</title>
		<link>http://www.flexer.info/2010/07/06/two-new-apps-with-multi-screen-experince/</link>
		<comments>http://www.flexer.info/2010/07/06/two-new-apps-with-multi-screen-experince/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 09:16:20 +0000</pubDate>
		<dc:creator>Andrei Ionescu</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex in the world]]></category>
		<category><![CDATA[MXML]]></category>
		<category><![CDATA[Made in Flex]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://www.flexer.info/?p=1654</guid>
		<description><![CDATA[Last two week I seen two great applications that make use of multi-screen experience capabilities of Flash Platform. 

Androideroids by  Grant Skinner
Desktop MP3 Music Player by Mihai Corlan

The first is a prototype multiplayer asteroids game in which each player uses an Android phone as their game controller. The player connects to the game and [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexer.info%2F2010%2F07%2F06%2Ftwo-new-apps-with-multi-screen-experince%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexer.info%2F2010%2F07%2F06%2Ftwo-new-apps-with-multi-screen-experince%2F" height="61" width="51" /></a></div><div style="float: right; margin-right: 10px"><a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://www.flexer.info/2010/07/06/two-new-apps-with-multi-screen-experince/&title=Two+New+Apps+with+Multi-Screen+Experince&srcURL=http://www.flexer.info" target="_blank" rel="nofollow"><img
src="http://www.flexer.info/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a></div><p>Last two week I seen two great applications that make use of multi-screen experience capabilities of Flash Platform. </p>
<ol>
<li><a href="http://www.gskinner.com/blog/archives/2010/06/androideroids.html" target="_blank">Androideroids</a> by  Grant Skinner</li>
<li><a href="http://corlan.org/2010/07/02/creating-multi-screen-apps-for-android-and-desktop-using-air/" target="_blank">Desktop MP3 Music Player</a> by Mihai Corlan</li>
</ol>
<p>The first is a prototype multiplayer asteroids game in which each player uses an Android phone as their game controller. The player connects to the game and on the main screen he can see 3rd person view of the whole game while in the same time he can see the 1st person view on their Android phones.</p>
<p>The second one is a mp3 player that can be controlled by any numbers of Android phones. Mihai did the application using AIR and Flex Framework. The communication between the remote controls (AIR apps running on Android phones) and  desktop player is done using the peer to peer features of AIR 2 and Flash Player 10.1.</p>
<p>Demos of the running application can be found on each of the application pages. So take a look at them.</p>
<p>These two applications show the power of the Flash Platform for all types of devices: Computers, TVs, Phones, etc.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexer.info/2010/07/06/two-new-apps-with-multi-screen-experince/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FxGallery &#8211; Drupal Image Module</title>
		<link>http://www.flexer.info/2010/03/19/fxgallery-drupal-image-module/</link>
		<comments>http://www.flexer.info/2010/03/19/fxgallery-drupal-image-module/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 08:50:41 +0000</pubDate>
		<dc:creator>Andrei Ionescu</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Flex 3 SDK]]></category>
		<category><![CDATA[Flexer]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Made in Flex]]></category>
		<category><![CDATA[drupal image module]]></category>
		<category><![CDATA[drupal image module with flex]]></category>
		<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Picasa]]></category>

		<guid isPermaLink="false">http://www.flexer.info/?p=1487</guid>
		<description><![CDATA[Together with our friend, Mihai Corlan (Adobe Evangelist) we released FxGallery, a Drupal Image Module. Mihai came with the challenge to build an image gallery module for Drupal and we liked it and got involved into the FxGallery project. 

FxGallery has 3 main view: Gallery View, Cover Flow View and Single View. The image module [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexer.info%2F2010%2F03%2F19%2Ffxgallery-drupal-image-module%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexer.info%2F2010%2F03%2F19%2Ffxgallery-drupal-image-module%2F" height="61" width="51" /></a></div><div style="float: right; margin-right: 10px"><a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://www.flexer.info/2010/03/19/fxgallery-drupal-image-module/&title=FxGallery+&#8211;+Drupal+Image+Module&srcURL=http://www.flexer.info" target="_blank" rel="nofollow"><img
src="http://www.flexer.info/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a></div><p>Together with our friend, <a href="http://corlan.org/creating-drupal-modules-with-flex/" target="_blank">Mihai Corlan (Adobe Evangelist)</a> we released <a href="http://corlan.org/creating-drupal-modules-with-flex/fx-gallery-drupal-module/" target="_blank">FxGallery</a>, a Drupal Image Module. Mihai came with the challenge to build an image gallery module for Drupal and we liked it and got involved into the <a href="http://corlan.org/creating-drupal-modules-with-flex/fx-gallery-drupal-module/" target="_blank">FxGallery</a> project. </p>
<p><a href="http://www.flexer.info/wp-content/uploads/2010/03/fxgallery_1.jpg" target="_blank"><img src="http://www.flexer.info/wp-content/uploads/2010/03/fxgallery_1.jpg" alt="fxgallery_1" title="fxgallery_1" width="600" height="362" /></a></p>
<p><a href="http://corlan.org/creating-drupal-modules-with-flex/fx-gallery-drupal-module/" target="_blank">FxGallery</a> has 3 main view: <strong>Gallery View</strong>, <strong>Cover Flow View</strong> and <strong>Single View</strong>. The image module can manage 3 kinds of image galleries: <strong>Flickr</strong>, <strong>Picasa</strong> and <strong>Local Gallery</strong> that is saved directly in the Drupal. In <strong>Single View</strong> there is also the possibility to add comments for the local gallery.</p>
<p>The project is kind of complex but not complex enough to use some Flex frameworks like Cairngorm. In the project we used the following libraries:</p>
<ul class="ul">
<li><a href="http://sf.net/projects/xmlrpcflash" target="_blank">XMLRPCFlash</a> – for communication between the Flex client and the Drupal back end</li>
<li><a href="http://code.google.com/p/as3flickrlib/" target="_blank">ActionScript 3 Flickr Library</a> – for connecting to Flickr</li>
<li><a href="http://code.google.com/p/picasaflashapi/" target="_blank">Picasa ActionScript 3 Library</a> – for connecting to Picasa</li>
<li><a href="http://blog.greensock.com/overwritemanager/" target="_blank">GreenSock Tweening Library</a> – for some animations</li>
<li><a href="http://code.google.com/p/as3corelib/" target="_blank">as3corelib</a> – a utility library for ActionScript 3</li>
<li><a href="http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/" target="_blank">DisplayShelf Flex component</a> – for the cover flow view</li>
</ul>
<p>It was great to work with Mihai and Magda on this project and we hope that we will be able to develop it even further. The things we could do next are: </p>
<ul class="ul">
<li>Port it to Flex 4</li>
<li>Add comment feature to Flickr and Picasa type of albums</li>
<li>Implement deep linking</li>
<li>Integration with Photoshop.com and other social web applications</li>
<li>Mouse gestures using Flash Player 10.1</li>
</ul>
<p>You can view a <a href="https://admin.adobe.acrobat.com/_a295153/p49576597/" target="_blank">webinar</a> held by Mihai and you can download the <a href="http://corlan.org/downloads/fxgallery/fxgallery.zip" target="_blank">module</a> and the <a href="http://corlan.org/downloads/fxgallery/FxGalleryProjects.zip" target="_blank">sources</a> from Mihai&#8217;s blog. Also a working example can be seen here: <a href="http://fxgallery.corlan.org" target="_blank">http://fxgallery.corlan.org</a>.</p>
<p>I know you&#8217;ll want to know more so follow the following links:<br />
<a href="http://myadobe.ro/2010/03/11/building-an-image-module-for-drupal/" target="_blank">http://myadobe.ro/2010/03/11/building-an-image-module-for-drupal/</a><br />
<a href="http://corlan.org/creating-drupal-modules-with-flex/fx-gallery-drupal-module/" target="_blank">http://corlan.org/creating-drupal-modules-with-flex/fx-gallery-drupal-module/</a><br />
<a href="http://corlan.org/creating-drupal-modules-with-flex/" target="_blank">http://corlan.org/creating-drupal-modules-with-flex/</a><br />
<a href="http://fxgallery.corlan.org" target="_blank">http://fxgallery.corlan.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexer.info/2010/03/19/fxgallery-drupal-image-module/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How To Create Conditional Compilation Definitions (Conditional Compile Blocks)</title>
		<link>http://www.flexer.info/2010/03/04/how-to-create-conditional-compilation-definitions-conditional-compile-blocks/</link>
		<comments>http://www.flexer.info/2010/03/04/how-to-create-conditional-compilation-definitions-conditional-compile-blocks/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 06:50:36 +0000</pubDate>
		<dc:creator>Andrei Ionescu</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[MXML]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[mxmlc]]></category>

		<guid isPermaLink="false">http://www.flexer.info/?p=1466</guid>
		<description><![CDATA[If you have a big project you will soon find out that you&#8217;ll need to have to versions of the application. One that you work on and one that you need to give it as a release build. On a release build you need to get rid of unwanted things like pre-filed login credentials that [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexer.info%2F2010%2F03%2F04%2Fhow-to-create-conditional-compilation-definitions-conditional-compile-blocks%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexer.info%2F2010%2F03%2F04%2Fhow-to-create-conditional-compilation-definitions-conditional-compile-blocks%2F" height="61" width="51" /></a></div><div style="float: right; margin-right: 10px"><a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://www.flexer.info/2010/03/04/how-to-create-conditional-compilation-definitions-conditional-compile-blocks/&title=How+To+Create+Conditional+Compilation+Definitions+(Conditional+Compile+Blocks)&srcURL=http://www.flexer.info" target="_blank" rel="nofollow"><img
src="http://www.flexer.info/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a></div><p>If you have a big project you will soon find out that you&#8217;ll need to have to versions of the application. One that you work on and one that you need to give it as a release build. On a release build you need to get rid of unwanted things like pre-filed login credentials that you need to have in the development (to rapidly get over login with one click instead of loosing time filing the fields) and that has not to be in the release build.</p>
<p>Here we have Conditional Compile Blocks or Conditional Compilation Definitions. This works like this: you define a variable that is set in the compilation arguments, and depending of theirs values we remove from compilation some unneeded lines of code.</p>
<p>For example in the properties of your Flex project in the Flex Compiler zone you have the following compile arguments:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">-locale en_US -define+=CONFIG::development,true</pre></div></div>

<p>and in code you can use it like this:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">CONFIG::development <span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;">// this is a conditional compile block</span>
    usernameTextInput.<span style="color: #0066CC;">text</span> = <span style="color: #ff0000;">&quot;myusername&quot;</span>;
    passwordTextInput.<span style="color: #0066CC;">text</span> = <span style="color: #ff0000;">&quot;mypassword&quot;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>This means the because in the compile arguments we have <strong>CONFIG::development,true</strong> (which means that <strong>CONFIG::development</strong> is true) the code lines inside <strong>CONFIG::development{ }</strong> block will be compiled in the application.</p>
<p>If instead we have <strong>CONFIG::development,false</strong> (which means <strong>CONFIG::development</strong> is false) the code lines inside <strong>CONFIG::development{ }</strong> block will not be compiled.</p>
<p>So, using&#8230;</p>
<ul class="ul">
<li><strong>-define+=CONFIG::development,true</strong> &mdash; the code lines are compiled in</li>
<li><strong>-define+=CONFIG::development,false</strong> &mdash; the code lines are <u>not</u> compiled in</li>
</ul>
<p>You can define any conditional compile variable but you need to keep the <strong>CONFIG</strong> name space, like this:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">-define+=CONFIG::myvar,true
-define+=CONFIG::debug,false
-define+=CONFIG::othervar,true</pre></div></div>

<p>This is it, kind of simple.</p>
<p>You can see the the available arguments for MXML compiler by executing <strong>mxmlc -help</strong> command or by going <a href="http://www.docsultant.com/site2/articles/flex_cmd.html" target="_blank">here and scrolling down to the mxmlc 3.0 options</a> section.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexer.info/2010/03/04/how-to-create-conditional-compilation-definitions-conditional-compile-blocks/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Chromeless Youtube Video Player for Flex</title>
		<link>http://www.flexer.info/2009/12/24/chromeless-youtube-video-player-for-flex/</link>
		<comments>http://www.flexer.info/2009/12/24/chromeless-youtube-video-player-for-flex/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 23:10:49 +0000</pubDate>
		<dc:creator>Stelian Crisan</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Components]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[chromeless]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.flexer.info/?p=1346</guid>
		<description><![CDATA[This Flex component allow you to play Youtube movies into you Flex applications and also to be able to customize the look of your player. Actually I put a main movie component and two control sections, one for:  play, stop, mute, unmute and time figures (current second and total number of seconds of the movie); [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexer.info%2F2009%2F12%2F24%2Fchromeless-youtube-video-player-for-flex%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexer.info%2F2009%2F12%2F24%2Fchromeless-youtube-video-player-for-flex%2F" height="61" width="51" /></a></div><div style="float: right; margin-right: 10px"><a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://www.flexer.info/2009/12/24/chromeless-youtube-video-player-for-flex/&title=Chromeless+Youtube+Video+Player+for+Flex&srcURL=http://www.flexer.info" target="_blank" rel="nofollow"><img
src="http://www.flexer.info/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a></div><p>This Flex component allow you to play Youtube movies into you Flex applications and also to be able to customize the look of your player. Actually I put a main movie component and two control sections, one for:  play, stop, mute, unmute and time figures (current second and total number of seconds of the movie); the other one it&#8217;s for a visual playing time.</p>
<p>The Youtube API for ActionScript 3.0 (this is for Flash, but it&#8217;s working also in Flex) that I used it&#8217;s available on Google Code at: <a target="_blank" title="Youtube API for ActionScript 3.0" href="http://code.google.com/apis/youtube/flash_api_reference.html">http://code.google.com/apis/youtube/flash_api_reference.html</a>. Youtube API for  Flash and ActionScript 2 it&#8217;s available at: <a target="_blank" title="Youtube API for ActionScript 2.0" href="http://code.google.com/apis/youtube/flash_api_reference_as2.html">http://code.google.com/apis/youtube/flash_api_reference_as2.html</a>.</p>
<p>I implement almost all functions available on this API (see Youtube class), but for this example I use just the basics ones. Also you will see that are some skins for buttons, that you can use.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_chromelessyoutubevideoplayer_1109712853"
			class="flashmovie"
			width="480"
			height="335">
	<param name="movie" value="/wp-content/uploads/2009/12/chromelessyoutubevideoplayer.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/wp-content/uploads/2009/12/chromelessyoutubevideoplayer.swf"
			name="fm_chromelessyoutubevideoplayer_1109712853"
			width="480"
			height="335">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>In order to change the Youtube video ID just go to init() function into ChromelessYoutubeVideoPlayer.mxmml file and change the value._youtube it&#8217;s player component, and we set to this the ID value, also we add this to the canvas where this will be in design.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">//set video ID</span>
_youtube.<span style="color: #006600;">videoId</span> = <span style="color: #ff0000;">&quot;D-wvgqDWjnk&quot;</span>;
_playerArea.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>_youtube<span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>The size of played move it&#8217;s set for the moment on Youtube class. It&#8217;s better to set the sive before movie starts to play, also, using this API, you can set the playback quality (small, medium, large, hd720) and to see the state of the movie ( unstarted (-1), ended (0), playing (1), paused (2), buffering (3), video cued (5) ).</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onPlayerReady<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #808080; font-style: italic;">// Event.data contains the event parameter, which is the Player API ID</span>
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;player ready:&quot;</span>, <span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#40;</span>event<span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">data</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// Once this event has been dispatched by the player, we can use</span>
<span style="color: #808080; font-style: italic;">// cueVideoById, loadVideoById, cueVideoByUrl and loadVideoByUrl</span>
<span style="color: #808080; font-style: italic;">// to load a particular YouTube video.</span>
_player = _loader.<span style="color: #006600;">content</span>;
<span style="color: #808080; font-style: italic;">//load our video ID</span>
_player.<span style="color: #006600;">loadVideoById</span><span style="color: #66cc66;">&#40;</span>_videoId<span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">//set movie size</span>
_player.<span style="color: #006600;">setSize</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">480</span>,<span style="color: #cc66cc;">270</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>I think that it&#8217;s better to download the source code, and just try to see how it&#8217;s work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexer.info/2009/12/24/chromeless-youtube-video-player-for-flex/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

