<?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 Monkey Patches &#187; Flex</title>
	<atom:link href="http://blog.flexmonkeypatches.com/category/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexmonkeypatches.com</link>
	<description></description>
	<lastBuildDate>Mon, 14 Dec 2009 17:17:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Troubleshooting network calls from the client-side in Flex using mx:TraceTarget</title>
		<link>http://blog.flexmonkeypatches.com/2009/12/09/troubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget/</link>
		<comments>http://blog.flexmonkeypatches.com/2009/12/09/troubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 23:21:41 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.flexmonkeypatches.com/?p=460</guid>
		<description><![CDATA[<p>Here are some tips on troubleshooting from the client side, data request issues via network calls that may be failing for you:</p>
<p>In main the flex application add the TraceTarget component which will log client side networking calls (in and out) to the flashlog.txt </p>
<p>Basically just add this to your flex app anywhere in the main mxml page: </p>
<p><mx:TraceTarget/> </p>
<p>Then when you run the flex app, if you are running in the debug Flash Player (which you can check here: <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507">http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507</a>), you will generate info in the flashlog.txt (which on windows should be located here: C:\Documents and Settings\{username}\Application Data\Macromedia\Flash Player\Logs\) </p>
<p>If you don&#8217;t have the debug Flash Player you can get it from here:<br />
<a href="http://www.adobe.com/support/flashplayer/downloads.html">http://www.adobe.com/support/flashplayer/downloads.html</a></p>
<p>(Note you can upgrade to a higher version# of the flash player, but if you are trying to install debug player with the same version number over top of the release player, that won&#8217;t work.  You&#8217;ll have to uninstall the Flash Player first.  The uninstaller can be found here:<br />
<a href="http://kb2.adobe.com/cps/141/tn_14157.html">http://kb2.adobe.com/cps/141/tn_14157.html</a>)</p>
<p>More info on flashlog.txt:<br />
<a href="http://livedocs.adobe.com/flex/3/html/logging_04.html">http://livedocs.adobe.com/flex/3/html/logging_04.html</a><br />
(including where to find the flashlog.txt on other platforms.)<br />
More info on TraceTarget:<br />
<a href="http://livedocs.adobe.com/flex/3/html/logging_09.html">http://livedocs.adobe.com/flex/3/html/logging_09.html</a></p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;t=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></description>
			<content:encoded><![CDATA[<p>Here are some tips on troubleshooting from the client side, data request issues via network calls that may be failing for you:</p>
<p>In main the flex application add the TraceTarget component which will log client side networking calls (in and out) to the flashlog.txt </p>
<p>Basically just add this to your flex app anywhere in the main mxml page: </p>
<p><mx:TraceTarget/> </p>
<p>Then when you run the flex app, if you are running in the debug Flash Player (which you can check here: <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507">http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507</a>), you will generate info in the flashlog.txt (which on windows should be located here: C:\Documents and Settings\{username}\Application Data\Macromedia\Flash Player\Logs\) </p>
<p>If you don&#8217;t have the debug Flash Player you can get it from here:<br />
<a href="http://www.adobe.com/support/flashplayer/downloads.html">http://www.adobe.com/support/flashplayer/downloads.html</a></p>
<p>(Note you can upgrade to a higher version# of the flash player, but if you are trying to install debug player with the same version number over top of the release player, that won&#8217;t work.  You&#8217;ll have to uninstall the Flash Player first.  The uninstaller can be found here:<br />
<a href="http://kb2.adobe.com/cps/141/tn_14157.html">http://kb2.adobe.com/cps/141/tn_14157.html</a>)</p>
<p>More info on flashlog.txt:<br />
<a href="http://livedocs.adobe.com/flex/3/html/logging_04.html">http://livedocs.adobe.com/flex/3/html/logging_04.html</a><br />
(including where to find the flashlog.txt on other platforms.)<br />
More info on TraceTarget:<br />
<a href="http://livedocs.adobe.com/flex/3/html/logging_09.html">http://livedocs.adobe.com/flex/3/html/logging_09.html</a></p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;t=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F&amp;title=Troubleshooting%20network%20calls%20from%20the%20client-side%20in%20Flex%20using%20mx%3ATraceTarget" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F12%2F09%2Ftroubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.flexmonkeypatches.com/2009/12/09/troubleshooting-network-calls-from-the-client-side-in-flex-using-mxtracetarget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting the version of the Flex SDK that was used to compile a SWC</title>
		<link>http://blog.flexmonkeypatches.com/2009/02/25/getting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc/</link>
		<comments>http://blog.flexmonkeypatches.com/2009/02/25/getting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 15:02:48 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[compc]]></category>
		<category><![CDATA[mxmlc]]></category>

		<guid isPermaLink="false">http://blog.flexmonkeypatches.com/?p=407</guid>
		<description><![CDATA[<p>I am not sure if this is common knowledge.  I googled and didn&#8217;t find any other reference to it.  (At least not in 10 minutes of googling.)</p>
<p>I wasn&#8217;t sure this was possible, but then I decided to look in the Flex bugbase.  This is what I found:</p>
<p><a href="https://bugs.adobe.com/jira/browse/SDK-5308">https://bugs.adobe.com/jira/browse/SDK-5308</a></p>
<p>Whaddaya know?  An enhancement request that I logged that had actually addressed this issue back in the Flex 2.x days.</p>
<p>Basically if you change the extension of a swc to .zip, you can open the archive with winzip (or similar) and look at the top of the catalog.xml file.  You should see something like this:</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="sc3"><span class="re1">&lt;?xml</span> <span class="re0">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding =<span class="st0">&quot;utf-8&quot;</span><span class="re2">?&gt;</span></span><br />
<span class="sc3"><span class="re1">&lt;swc</span> <span class="re0">xmlns</span>=<span class="st0">&quot;http://www.adobe.com/flash/swccatalog/9&quot;</span><span class="re2">&gt;</span></span><br />
&nbsp; <span class="sc3"><span class="re1">&lt;versions<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;swc</span> <span class="re0">version</span>=<span class="st0">&quot;1.2&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;flex</span> <span class="re0">version</span>=<span class="st0">&quot;3.2.0&quot;</span> <span class="re0">build</span>=<span class="st0">&quot;3958&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; <span class="sc3"><span class="re1">&lt;/versions<span class="re2">&gt;</span></span></span><br />
&nbsp;</div>
<p>Hopefully this will help some folks out.</p>
<p>Incidentally such a thing does not exist for compiled swfs.  There is an enhancement request:<br />
<a href="https://bugs.adobe.com/jira/browse/SDK-14042">https://bugs.adobe.com/jira/browse/SDK-14042</a></p>
<p>If you think such a thing would be valuable, please vote for the bug.</p>
<p>And one more thing&#8230;I actually had an AIR app back in the pre-release of AIR 1.0 days:<br />
<a href="http://blog.flexmonkeypatches.com/2007/11/12/flex-sdk-fds-lcds-version-detection-adobe-air-application/">http://blog.flexmonkeypatches.com/2007/11/12/flex-sdk-fds-lcds-version-detection-adobe-air-application/</a></p>
<p>You could point it at a fds/lcds war or sdk directory and it would tell you the version (of LCDS and the SDK).<br />
Maybe this should be resurrected and updated to AIR 1.5.1 and to use this new version info (at least new since I built the original AIR app).  It could also be enhanced to read version info from individual swcs as well.  Oh and maybe allow users to drag and drop directories, or wars or swcs onto the app to read the info.   Hmmm&#8230;.if only I had the time.</p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;t=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></description>
			<content:encoded><![CDATA[<p>I am not sure if this is common knowledge.  I googled and didn&#8217;t find any other reference to it.  (At least not in 10 minutes of googling.)</p>
<p>I wasn&#8217;t sure this was possible, but then I decided to look in the Flex bugbase.  This is what I found:</p>
<p><a href="https://bugs.adobe.com/jira/browse/SDK-5308">https://bugs.adobe.com/jira/browse/SDK-5308</a></p>
<p>Whaddaya know?  An enhancement request that I logged that had actually addressed this issue back in the Flex 2.x days.</p>
<p>Basically if you change the extension of a swc to .zip, you can open the archive with winzip (or similar) and look at the top of the catalog.xml file.  You should see something like this:</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="sc3"><span class="re1">&lt;?xml</span> <span class="re0">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding =<span class="st0">&quot;utf-8&quot;</span><span class="re2">?&gt;</span></span><br />
<span class="sc3"><span class="re1">&lt;swc</span> <span class="re0">xmlns</span>=<span class="st0">&quot;http://www.adobe.com/flash/swccatalog/9&quot;</span><span class="re2">&gt;</span></span><br />
&nbsp; <span class="sc3"><span class="re1">&lt;versions<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;swc</span> <span class="re0">version</span>=<span class="st0">&quot;1.2&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;flex</span> <span class="re0">version</span>=<span class="st0">&quot;3.2.0&quot;</span> <span class="re0">build</span>=<span class="st0">&quot;3958&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; <span class="sc3"><span class="re1">&lt;/versions<span class="re2">&gt;</span></span></span><br />
&nbsp;</div>
<p>Hopefully this will help some folks out.</p>
<p>Incidentally such a thing does not exist for compiled swfs.  There is an enhancement request:<br />
<a href="https://bugs.adobe.com/jira/browse/SDK-14042">https://bugs.adobe.com/jira/browse/SDK-14042</a></p>
<p>If you think such a thing would be valuable, please vote for the bug.</p>
<p>And one more thing&#8230;I actually had an AIR app back in the pre-release of AIR 1.0 days:<br />
<a href="http://blog.flexmonkeypatches.com/2007/11/12/flex-sdk-fds-lcds-version-detection-adobe-air-application/">http://blog.flexmonkeypatches.com/2007/11/12/flex-sdk-fds-lcds-version-detection-adobe-air-application/</a></p>
<p>You could point it at a fds/lcds war or sdk directory and it would tell you the version (of LCDS and the SDK).<br />
Maybe this should be resurrected and updated to AIR 1.5.1 and to use this new version info (at least new since I built the original AIR app).  It could also be enhanced to read version info from individual swcs as well.  Oh and maybe allow users to drag and drop directories, or wars or swcs onto the app to read the info.   Hmmm&#8230;.if only I had the time.</p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;t=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F&amp;title=Getting%20the%20version%20of%20the%20Flex%20SDK%20that%20was%20used%20to%20compile%20a%20SWC" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F02%2F25%2Fgetting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.flexmonkeypatches.com/2009/02/25/getting-the-version-of-the-flex-sdk-that-was-used-to-compile-a-swc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Poor man&#8217;s zooming Flex TileList</title>
		<link>http://blog.flexmonkeypatches.com/2009/01/20/poor-mans-zooming-flex-tilelist/</link>
		<comments>http://blog.flexmonkeypatches.com/2009/01/20/poor-mans-zooming-flex-tilelist/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 19:46:25 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[tilelist]]></category>
		<category><![CDATA[zoom]]></category>

		<guid isPermaLink="false">http://blog.flexmonkeypatches.com/?p=377</guid>
		<description><![CDATA[<p>I was looking into how one might implement zooming in on an item in a Tilelist or zooming out to view more of the items in a Tilelist and stumbled upon a &#8220;poor man&#8217;s solution&#8221;.  Implementing true zooming with gradual easing in/out would be much more involved and take you into the depths of Listbase (and probably into private methods, etc).<br />
This is based on code from one of my previous blog posts: </p>
<p><a href="http://blog.flexmonkeypatches.com/2008/10/29/tilelist-with-popup-that-deletes-from-dataprovider/">TileList with popup that deletes from dataProvider</a></p>
<p>Here is the sample and code that demonstrates the approach one might take:</p>
<p>
<object type="application/x-shockwave-flash" width="495" height="500">
<param name="movie" value="http://blogcode.flexmonkeypatches.com/__FMP_TileList_popup_delete_zoom/app.swf" />
<embed src="http://blogcode.flexmonkeypatches.com/__FMP_TileList_popup_delete_zoom/app.swf" type="application/x-shockwave-flash" width="495" height="500" >
</object>
</p>
<p><a href="http://blogcode.flexmonkeypatches.com/__FMP_TileList_popup_delete_zoomte/srcview/__FMP_TileList_popup_delete_zoom.zip">Download a zipfile containing the source to this sample.<br />
</a></p>
<p><a href="http://blogcode.flexmonkeypatches.com/__FMP_TileList_popup_delete_zoom/srcview/index.html" target="">Browse the source of this example.</a></p>
<p>Or continue into the blog entry to see the source:<br />
<span id="more-377"></span><br />
Here is the app code:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:Application xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span> &nbsp;<br />
&nbsp; &nbsp; layout=<span class="st0">&quot;horizontal&quot;</span>&gt;</p>
<p>&lt;mx:Script&gt;<br />
&lt;!<span class="br0">&#91;</span>CDATA<span class="br0">&#91;</span><br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">effects</span>.<span class="me1">effectClasses</span>.<span class="me1">AnimatePropertyInstance</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">PopUpManager</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">PopUpManagerChildList</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">events</span>.<span class="me1">ListEvent</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">events</span>.<span class="me1">SliderEvent</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">controls</span>.<span class="me1">sliderClasses</span>.<span class="me1">Slider</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">collections</span>.<span class="me1">ArrayCollection</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">effects</span>.<span class="me1">easing</span>.<span class="me1">Cubic</span>;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp;<span class="br0">&#91;</span>Bindable<span class="br0">&#93;</span><br />
&nbsp; &nbsp;&nbsp;<span class="kw3">private</span> <span class="kw2">var</span> catalog:ArrayCollection;<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp;<span class="kw3">private</span> <span class="kw2">var</span> assets:<span class="kw3">Array</span> = <span class="br0">&#91;</span><span class="st0">&quot;assets/putty.jpg&quot;</span>, <span class="st0">&quot;assets/cantena.jpg&quot;</span>, <span class="st0">&quot;assets/orb.jpg&quot;</span>, <span class="st0">&quot;assets/globe.jpg&quot;</span>, <span class="st0">&quot;assets/usbfan.jpg&quot;</span>, <span class="st0">&quot;assets/hotsauce.jpg&quot;</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> initCatalog<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span><br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; catalog = <span class="kw2">new</span> ArrayCollection<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw2">var</span> i:<span class="kw3">int</span>=<span class="nu0">0</span>;i&lt;assets.<span class="kw3">length</span>;i++<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> vo:MyVO=<span class="kw2">new</span> MyVO<span class="br0">&#40;</span>assets<span class="br0">&#91;</span>i<span class="br0">&#93;</span>,assets<span class="br0">&#91;</span>i<span class="br0">&#93;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; catalog.<span class="me1">addItem</span><span class="br0">&#40;</span>vo<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> createPopup<span class="br0">&#40;</span>event:ListEvent<span class="br0">&#41;</span>:<span class="kw3">void</span><br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> foo:<span class="kw3">String</span>=<span class="st0">&quot;bar&quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> renderer:MyRenderer = event.<span class="me1">itemRenderer</span> as MyRenderer;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> <span class="kw3">pop</span>:MyPopup = MyPopup<span class="br0">&#40;</span>PopUpManager.<span class="me1">createPopUp</span><span class="br0">&#40;</span><span class="kw3">this</span>,MyPopup,<span class="kw2">false</span>,PopUpManagerChildList.<span class="me1">POPUP</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">pop</span>.<span class="me1">vo</span>=<span class="br0">&#40;</span>event.<span class="kw3">target</span> as TileList<span class="br0">&#41;</span>.<span class="me1">selectedItem</span> as MyVO;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">pop</span>.<span class="me1">myparentDP</span>=<span class="br0">&#40;</span>event.<span class="kw3">target</span> as TileList<span class="br0">&#41;</span>.<span class="me1">dataProvider</span> as ArrayCollection;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; tilePopUps<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> tilePopUps<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw2">var</span> i:<span class="kw3">int</span>=<span class="nu0">0</span>;i&lt;systemManager.<span class="me1">popUpChildren</span>.<span class="me1">numChildren</span>;i++<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="kw2">var</span> o:* = systemManager.<span class="me1">popUpChildren</span>.<span class="me1">getChildAt</span><span class="br0">&#40;</span>i<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;PopUpManager.<span class="me1">centerPopUp</span><span class="br0">&#40;</span>o<span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="kw1">if</span><span class="br0">&#40;</span>i!=<span class="nu0">0</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; o.<span class="me1">x</span>+=<span class="nu0">10</span>*i;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; o.<span class="me1">y</span>+=<span class="nu0">10</span>*i;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="co1">//http://www.actionscript.org/forums/showthread.php3?t=116021</span><br />
&nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> sliderChange<span class="br0">&#40;</span><span class="kw3">target</span>:TileList, event:SliderEvent<span class="br0">&#41;</span>:<span class="kw3">void</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> currentSlider:Slider=Slider<span class="br0">&#40;</span>event.<span class="me1">currentTarget</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">target</span>.<span class="me1">columnCount</span> = <span class="kw3">Math</span>.<span class="kw3">floor</span><span class="br0">&#40;</span><span class="kw3">target</span>.<span class="kw3">width</span>/currentSlider.<span class="me1">value</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">target</span>.<span class="me1">rowCount</span>= <span class="kw3">Math</span>.<span class="kw3">floor</span><span class="br0">&#40;</span><span class="kw3">target</span>.<span class="kw3">height</span>/currentSlider.<span class="me1">value</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">target</span>.<span class="me1">columnWidth</span> = currentSlider.<span class="me1">value</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">target</span>.<span class="me1">rowHeight</span> = currentSlider.<span class="me1">value</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#93;</span><span class="br0">&#93;</span>&gt;<br />
&lt;/mx:Script&gt;<br />
&lt;mx:VBox&gt;<br />
&nbsp; &nbsp; &lt;mx:<span class="kw3">Button</span> label=<span class="st0">&quot;grow&quot;</span> click=<span class="st0">&quot;gr.play()&quot;</span> /&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;mx:VSlider <br />
&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;id=<span class="st0">&quot;dim&quot;</span><br />
&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;value=<span class="st0">&quot;25&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; tickInterval=<span class="st0">&quot;5&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; snapInterval=<span class="st0">&quot;5&quot;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; labels=<span class="st0">&quot;['0', '200']&quot;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">height</span>=<span class="st0">&quot;146&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; minimum=<span class="st0">&quot;25&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; maximum=<span class="st0">&quot;200&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; change=<span class="st0">&quot;sliderChange(tileList,event)&quot;</span>/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;mx:<span class="kw3">Button</span> label=<span class="st0">&quot;shrink&quot;</span> click=<span class="st0">&quot;shr.play()&quot;</span>/&gt;</p>
<p>&lt;/mx:VBox&gt; <br />
&lt;mx:TileList id=<span class="st0">&quot;tileList&quot;</span><br />
&nbsp; &nbsp; dataProvider=<span class="st0">&quot;{catalog}&quot;</span><br />
&nbsp; &nbsp; itemRenderer=<span class="st0">&quot;MyRenderer&quot;</span><br />
&nbsp; &nbsp; themeColor=<span class="st0">&quot;haloSilver&quot;</span><br />
&nbsp; &nbsp; rowHeight=<span class="st0">&quot;25&quot;</span><br />
&nbsp; &nbsp; columnWidth=<span class="st0">&quot;25&quot;</span><br />
&nbsp; &nbsp; verticalScrollPolicy=<span class="st0">&quot;on&quot;</span><br />
&nbsp; &nbsp; itemClick=<span class="st0">&quot;createPopup(event);&quot;</span> <br />
&nbsp; &nbsp; creationComplete=<span class="st0">&quot;initCatalog();tileList.selectedIndex=0;&quot;</span><br />
&nbsp; &nbsp; <span class="kw3">height</span>=<span class="st0">&quot;200&quot;</span><br />
&nbsp; &nbsp; <span class="kw3">width</span>=<span class="st0">&quot;200&quot;</span><br />
&nbsp; &nbsp; itemsChangeEffect=<span class="st0">&quot;{myTileListEffect}&quot;</span><br />
&nbsp; &nbsp; /&gt;</p>
<p>&nbsp;&lt;mx:DefaultTileListEffect id=<span class="st0">&quot;myTileListEffect&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fadeOutDuration=<span class="st0">&quot;500&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fadeInDuration=<span class="st0">&quot;500&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; moveDuration=<span class="st0">&quot;1500&quot;</span> /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;mx:AnimateProperty id=<span class="st0">&quot;shr&quot;</span> <span class="kw3">target</span>=<span class="st0">&quot;{dim}&quot;</span> property=<span class="st0">&quot;value&quot;</span> fromValue=<span class="st0">&quot;200&quot;</span> toValue=<span class="st0">&quot;25&quot;</span> <span class="kw3">duration</span>=<span class="st0">&quot;2500&quot;</span> easingFunction=<span class="st0">&quot;Cubic.easeOut&quot;</span>/&gt;<br />
&nbsp; &nbsp; <br />
&lt;mx:Parallel id=<span class="st0">&quot;gr&quot;</span>&gt;<br />
&nbsp; &nbsp; &lt;mx:AnimateProperty <span class="kw3">target</span>=<span class="st0">&quot;{dim}&quot;</span> property=<span class="st0">&quot;value&quot;</span> fromValue=<span class="st0">&quot;25&quot;</span> toValue=<span class="st0">&quot;200&quot;</span> <span class="kw3">duration</span>=<span class="st0">&quot;2500&quot;</span> easingFunction=<span class="st0">&quot;Cubic.easeIn&quot;</span>/&gt;<br />
&nbsp; &nbsp; &lt;mx:AnimateProperty <span class="kw3">target</span>=<span class="st0">&quot;{tileList}&quot;</span> startDelay=<span class="st0">&quot;1000&quot;</span> property=<span class="st0">&quot;verticalScrollPosition&quot;</span> fromValue=<span class="st0">&quot;0&quot;</span> toValue=<span class="st0">&quot;{tileList.selectedIndex}&quot;</span> <span class="kw3">duration</span>=<span class="st0">&quot;1500&quot;</span> /&gt;<br />
&lt;/mx:Parallel&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;/mx:Application&gt;<br />
&nbsp;</div>
<p>Here is the popup:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:TitleWindow xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; horizontalAlign=<span class="st0">&quot;center&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; verticalAlign=<span class="st0">&quot;middle&quot;</span>&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:Script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!<span class="br0">&#91;</span>CDATA<span class="br0">&#91;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">collections</span>.<span class="me1">ArrayCollection</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">PopUpManager</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">var</span> myparentDP:ArrayCollection;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span>Bindable<span class="br0">&#93;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">var</span> vo:MyVO;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> removeItem<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> i:<span class="kw3">int</span> = myparentDP.<span class="me1">getItemIndex</span><span class="br0">&#40;</span>vo<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>i!=<span class="nu0">-1</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myparentDP.<span class="me1">removeItemAt</span><span class="br0">&#40;</span>i<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>&nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PopUpManager.<span class="me1">removePopUp</span><span class="br0">&#40;</span><span class="kw3">this</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#93;</span><span class="br0">&#93;</span>&gt;<br />
&nbsp; &nbsp; &lt;/mx:Script&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:Image source=<span class="st0">&quot;{vo.asset}&quot;</span> /&gt;<br />
&nbsp; &nbsp; &lt;mx:Label <span class="kw3">text</span>=<span class="st0">&quot;{vo.title}&quot;</span> /&gt;<br />
&nbsp; &nbsp; &lt;mx:HBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:<span class="kw3">Button</span> label=<span class="st0">&quot;close&quot;</span> click=<span class="st0">&quot;PopUpManager.removePopUp(this)&quot;</span>/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:<span class="kw3">Button</span> label=<span class="st0">&quot;remove item&quot;</span> click=<span class="st0">&quot;removeItem()&quot;</span>/&gt;<br />
&nbsp; &nbsp; &lt;/mx:HBox&gt;<br />
&lt;/mx:TitleWindow&gt;<br />
&nbsp;</div>
<p>Here is the custom renderer:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:Image xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span><br />
&nbsp; &nbsp; horizontalAlign=<span class="st0">&quot;center&quot;</span><br />
&nbsp; &nbsp; verticalAlign=<span class="st0">&quot;middle&quot;</span> <br />
&nbsp; &nbsp; source=<span class="st0">&quot;{data.asset}&quot;</span> <br />
&nbsp; &nbsp; toolTip=<span class="st0">&quot;{data.title}&quot;</span><br />
&gt;</p>
<p>&lt;/mx:Image&gt;<br />
&nbsp;</div>
<p>Here is the value object:</p>
<div class="dean_ch" style="white-space: wrap;">
package<br />
<span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="br0">&#91;</span>Bindable<span class="br0">&#93;</span><br />
&nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">class</span> MyVO<br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">var</span> _asset:<span class="kw3">String</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">var</span> _title:<span class="kw3">String</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> MyVO<span class="br0">&#40;</span>title:<span class="kw3">String</span>, asset:<span class="kw3">String</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="me1">title</span>=title;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="me1">asset</span>=asset;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">set</span> title<span class="br0">&#40;</span>title:<span class="kw3">String</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _title=title;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">get</span> title<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">String</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> _title;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">set</span> asset<span class="br0">&#40;</span>asset:<span class="kw3">String</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _asset=asset;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">get</span> asset<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">String</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> _asset;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></p>
<p>&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span><br />
&nbsp;</div>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;title=Poor%20man%27s%20zooming%20Flex%20TileList" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;title=Poor%20man%27s%20zooming%20Flex%20TileList" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;title=Poor%20man%27s%20zooming%20Flex%20TileList" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;t=Poor%20man%27s%20zooming%20Flex%20TileList" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;title=Poor%20man%27s%20zooming%20Flex%20TileList" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;title=Poor%20man%27s%20zooming%20Flex%20TileList" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Poor%20man%27s%20zooming%20Flex%20TileList&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;title=Poor%20man%27s%20zooming%20Flex%20TileList" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></description>
			<content:encoded><![CDATA[<p>I was looking into how one might implement zooming in on an item in a Tilelist or zooming out to view more of the items in a Tilelist and stumbled upon a &#8220;poor man&#8217;s solution&#8221;.  Implementing true zooming with gradual easing in/out would be much more involved and take you into the depths of Listbase (and probably into private methods, etc).<br />
This is based on code from one of my previous blog posts: </p>
<p><a href="http://blog.flexmonkeypatches.com/2008/10/29/tilelist-with-popup-that-deletes-from-dataprovider/">TileList with popup that deletes from dataProvider</a></p>
<p>Here is the sample and code that demonstrates the approach one might take:</p>
<p>
<object type="application/x-shockwave-flash" width="495" height="500">
<param name="movie" value="http://blogcode.flexmonkeypatches.com/__FMP_TileList_popup_delete_zoom/app.swf" />
<embed src="http://blogcode.flexmonkeypatches.com/__FMP_TileList_popup_delete_zoom/app.swf" type="application/x-shockwave-flash" width="495" height="500" >
</object>
</p>
<p><a href="http://blogcode.flexmonkeypatches.com/__FMP_TileList_popup_delete_zoomte/srcview/__FMP_TileList_popup_delete_zoom.zip">Download a zipfile containing the source to this sample.<br />
</a></p>
<p><a href="http://blogcode.flexmonkeypatches.com/__FMP_TileList_popup_delete_zoom/srcview/index.html" target="">Browse the source of this example.</a></p>
<p>Or continue into the blog entry to see the source:<br />
<span id="more-377"></span><br />
Here is the app code:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:Application xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span> &nbsp;<br />
&nbsp; &nbsp; layout=<span class="st0">&quot;horizontal&quot;</span>&gt;</p>
<p>&lt;mx:Script&gt;<br />
&lt;!<span class="br0">&#91;</span>CDATA<span class="br0">&#91;</span><br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">effects</span>.<span class="me1">effectClasses</span>.<span class="me1">AnimatePropertyInstance</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">PopUpManager</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">PopUpManagerChildList</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">events</span>.<span class="me1">ListEvent</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">events</span>.<span class="me1">SliderEvent</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">controls</span>.<span class="me1">sliderClasses</span>.<span class="me1">Slider</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">collections</span>.<span class="me1">ArrayCollection</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">effects</span>.<span class="me1">easing</span>.<span class="me1">Cubic</span>;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp;<span class="br0">&#91;</span>Bindable<span class="br0">&#93;</span><br />
&nbsp; &nbsp;&nbsp;<span class="kw3">private</span> <span class="kw2">var</span> catalog:ArrayCollection;<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp;<span class="kw3">private</span> <span class="kw2">var</span> assets:<span class="kw3">Array</span> = <span class="br0">&#91;</span><span class="st0">&quot;assets/putty.jpg&quot;</span>, <span class="st0">&quot;assets/cantena.jpg&quot;</span>, <span class="st0">&quot;assets/orb.jpg&quot;</span>, <span class="st0">&quot;assets/globe.jpg&quot;</span>, <span class="st0">&quot;assets/usbfan.jpg&quot;</span>, <span class="st0">&quot;assets/hotsauce.jpg&quot;</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> initCatalog<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span><br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; catalog = <span class="kw2">new</span> ArrayCollection<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw2">var</span> i:<span class="kw3">int</span>=<span class="nu0">0</span>;i&lt;assets.<span class="kw3">length</span>;i++<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> vo:MyVO=<span class="kw2">new</span> MyVO<span class="br0">&#40;</span>assets<span class="br0">&#91;</span>i<span class="br0">&#93;</span>,assets<span class="br0">&#91;</span>i<span class="br0">&#93;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; catalog.<span class="me1">addItem</span><span class="br0">&#40;</span>vo<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> createPopup<span class="br0">&#40;</span>event:ListEvent<span class="br0">&#41;</span>:<span class="kw3">void</span><br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> foo:<span class="kw3">String</span>=<span class="st0">&quot;bar&quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> renderer:MyRenderer = event.<span class="me1">itemRenderer</span> as MyRenderer;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> <span class="kw3">pop</span>:MyPopup = MyPopup<span class="br0">&#40;</span>PopUpManager.<span class="me1">createPopUp</span><span class="br0">&#40;</span><span class="kw3">this</span>,MyPopup,<span class="kw2">false</span>,PopUpManagerChildList.<span class="me1">POPUP</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">pop</span>.<span class="me1">vo</span>=<span class="br0">&#40;</span>event.<span class="kw3">target</span> as TileList<span class="br0">&#41;</span>.<span class="me1">selectedItem</span> as MyVO;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">pop</span>.<span class="me1">myparentDP</span>=<span class="br0">&#40;</span>event.<span class="kw3">target</span> as TileList<span class="br0">&#41;</span>.<span class="me1">dataProvider</span> as ArrayCollection;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; tilePopUps<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> tilePopUps<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw2">var</span> i:<span class="kw3">int</span>=<span class="nu0">0</span>;i&lt;systemManager.<span class="me1">popUpChildren</span>.<span class="me1">numChildren</span>;i++<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="kw2">var</span> o:* = systemManager.<span class="me1">popUpChildren</span>.<span class="me1">getChildAt</span><span class="br0">&#40;</span>i<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;PopUpManager.<span class="me1">centerPopUp</span><span class="br0">&#40;</span>o<span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="kw1">if</span><span class="br0">&#40;</span>i!=<span class="nu0">0</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; o.<span class="me1">x</span>+=<span class="nu0">10</span>*i;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; o.<span class="me1">y</span>+=<span class="nu0">10</span>*i;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="co1">//http://www.actionscript.org/forums/showthread.php3?t=116021</span><br />
&nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> sliderChange<span class="br0">&#40;</span><span class="kw3">target</span>:TileList, event:SliderEvent<span class="br0">&#41;</span>:<span class="kw3">void</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> currentSlider:Slider=Slider<span class="br0">&#40;</span>event.<span class="me1">currentTarget</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">target</span>.<span class="me1">columnCount</span> = <span class="kw3">Math</span>.<span class="kw3">floor</span><span class="br0">&#40;</span><span class="kw3">target</span>.<span class="kw3">width</span>/currentSlider.<span class="me1">value</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">target</span>.<span class="me1">rowCount</span>= <span class="kw3">Math</span>.<span class="kw3">floor</span><span class="br0">&#40;</span><span class="kw3">target</span>.<span class="kw3">height</span>/currentSlider.<span class="me1">value</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">target</span>.<span class="me1">columnWidth</span> = currentSlider.<span class="me1">value</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">target</span>.<span class="me1">rowHeight</span> = currentSlider.<span class="me1">value</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#93;</span><span class="br0">&#93;</span>&gt;<br />
&lt;/mx:Script&gt;<br />
&lt;mx:VBox&gt;<br />
&nbsp; &nbsp; &lt;mx:<span class="kw3">Button</span> label=<span class="st0">&quot;grow&quot;</span> click=<span class="st0">&quot;gr.play()&quot;</span> /&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;mx:VSlider <br />
&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;id=<span class="st0">&quot;dim&quot;</span><br />
&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;value=<span class="st0">&quot;25&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; tickInterval=<span class="st0">&quot;5&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; snapInterval=<span class="st0">&quot;5&quot;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; labels=<span class="st0">&quot;['0', '200']&quot;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">height</span>=<span class="st0">&quot;146&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; minimum=<span class="st0">&quot;25&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; maximum=<span class="st0">&quot;200&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; change=<span class="st0">&quot;sliderChange(tileList,event)&quot;</span>/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;mx:<span class="kw3">Button</span> label=<span class="st0">&quot;shrink&quot;</span> click=<span class="st0">&quot;shr.play()&quot;</span>/&gt;</p>
<p>&lt;/mx:VBox&gt; <br />
&lt;mx:TileList id=<span class="st0">&quot;tileList&quot;</span><br />
&nbsp; &nbsp; dataProvider=<span class="st0">&quot;{catalog}&quot;</span><br />
&nbsp; &nbsp; itemRenderer=<span class="st0">&quot;MyRenderer&quot;</span><br />
&nbsp; &nbsp; themeColor=<span class="st0">&quot;haloSilver&quot;</span><br />
&nbsp; &nbsp; rowHeight=<span class="st0">&quot;25&quot;</span><br />
&nbsp; &nbsp; columnWidth=<span class="st0">&quot;25&quot;</span><br />
&nbsp; &nbsp; verticalScrollPolicy=<span class="st0">&quot;on&quot;</span><br />
&nbsp; &nbsp; itemClick=<span class="st0">&quot;createPopup(event);&quot;</span> <br />
&nbsp; &nbsp; creationComplete=<span class="st0">&quot;initCatalog();tileList.selectedIndex=0;&quot;</span><br />
&nbsp; &nbsp; <span class="kw3">height</span>=<span class="st0">&quot;200&quot;</span><br />
&nbsp; &nbsp; <span class="kw3">width</span>=<span class="st0">&quot;200&quot;</span><br />
&nbsp; &nbsp; itemsChangeEffect=<span class="st0">&quot;{myTileListEffect}&quot;</span><br />
&nbsp; &nbsp; /&gt;</p>
<p>&nbsp;&lt;mx:DefaultTileListEffect id=<span class="st0">&quot;myTileListEffect&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fadeOutDuration=<span class="st0">&quot;500&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fadeInDuration=<span class="st0">&quot;500&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; moveDuration=<span class="st0">&quot;1500&quot;</span> /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;mx:AnimateProperty id=<span class="st0">&quot;shr&quot;</span> <span class="kw3">target</span>=<span class="st0">&quot;{dim}&quot;</span> property=<span class="st0">&quot;value&quot;</span> fromValue=<span class="st0">&quot;200&quot;</span> toValue=<span class="st0">&quot;25&quot;</span> <span class="kw3">duration</span>=<span class="st0">&quot;2500&quot;</span> easingFunction=<span class="st0">&quot;Cubic.easeOut&quot;</span>/&gt;<br />
&nbsp; &nbsp; <br />
&lt;mx:Parallel id=<span class="st0">&quot;gr&quot;</span>&gt;<br />
&nbsp; &nbsp; &lt;mx:AnimateProperty <span class="kw3">target</span>=<span class="st0">&quot;{dim}&quot;</span> property=<span class="st0">&quot;value&quot;</span> fromValue=<span class="st0">&quot;25&quot;</span> toValue=<span class="st0">&quot;200&quot;</span> <span class="kw3">duration</span>=<span class="st0">&quot;2500&quot;</span> easingFunction=<span class="st0">&quot;Cubic.easeIn&quot;</span>/&gt;<br />
&nbsp; &nbsp; &lt;mx:AnimateProperty <span class="kw3">target</span>=<span class="st0">&quot;{tileList}&quot;</span> startDelay=<span class="st0">&quot;1000&quot;</span> property=<span class="st0">&quot;verticalScrollPosition&quot;</span> fromValue=<span class="st0">&quot;0&quot;</span> toValue=<span class="st0">&quot;{tileList.selectedIndex}&quot;</span> <span class="kw3">duration</span>=<span class="st0">&quot;1500&quot;</span> /&gt;<br />
&lt;/mx:Parallel&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;/mx:Application&gt;<br />
&nbsp;</div>
<p>Here is the popup:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:TitleWindow xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; horizontalAlign=<span class="st0">&quot;center&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; verticalAlign=<span class="st0">&quot;middle&quot;</span>&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:Script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!<span class="br0">&#91;</span>CDATA<span class="br0">&#91;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">collections</span>.<span class="me1">ArrayCollection</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">PopUpManager</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">var</span> myparentDP:ArrayCollection;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span>Bindable<span class="br0">&#93;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">var</span> vo:MyVO;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> removeItem<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> i:<span class="kw3">int</span> = myparentDP.<span class="me1">getItemIndex</span><span class="br0">&#40;</span>vo<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>i!=<span class="nu0">-1</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myparentDP.<span class="me1">removeItemAt</span><span class="br0">&#40;</span>i<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>&nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PopUpManager.<span class="me1">removePopUp</span><span class="br0">&#40;</span><span class="kw3">this</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#93;</span><span class="br0">&#93;</span>&gt;<br />
&nbsp; &nbsp; &lt;/mx:Script&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:Image source=<span class="st0">&quot;{vo.asset}&quot;</span> /&gt;<br />
&nbsp; &nbsp; &lt;mx:Label <span class="kw3">text</span>=<span class="st0">&quot;{vo.title}&quot;</span> /&gt;<br />
&nbsp; &nbsp; &lt;mx:HBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:<span class="kw3">Button</span> label=<span class="st0">&quot;close&quot;</span> click=<span class="st0">&quot;PopUpManager.removePopUp(this)&quot;</span>/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:<span class="kw3">Button</span> label=<span class="st0">&quot;remove item&quot;</span> click=<span class="st0">&quot;removeItem()&quot;</span>/&gt;<br />
&nbsp; &nbsp; &lt;/mx:HBox&gt;<br />
&lt;/mx:TitleWindow&gt;<br />
&nbsp;</div>
<p>Here is the custom renderer:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:Image xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span><br />
&nbsp; &nbsp; horizontalAlign=<span class="st0">&quot;center&quot;</span><br />
&nbsp; &nbsp; verticalAlign=<span class="st0">&quot;middle&quot;</span> <br />
&nbsp; &nbsp; source=<span class="st0">&quot;{data.asset}&quot;</span> <br />
&nbsp; &nbsp; toolTip=<span class="st0">&quot;{data.title}&quot;</span><br />
&gt;</p>
<p>&lt;/mx:Image&gt;<br />
&nbsp;</div>
<p>Here is the value object:</p>
<div class="dean_ch" style="white-space: wrap;">
package<br />
<span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="br0">&#91;</span>Bindable<span class="br0">&#93;</span><br />
&nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">class</span> MyVO<br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">var</span> _asset:<span class="kw3">String</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">var</span> _title:<span class="kw3">String</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> MyVO<span class="br0">&#40;</span>title:<span class="kw3">String</span>, asset:<span class="kw3">String</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="me1">title</span>=title;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="me1">asset</span>=asset;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">set</span> title<span class="br0">&#40;</span>title:<span class="kw3">String</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _title=title;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">get</span> title<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">String</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> _title;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">set</span> asset<span class="br0">&#40;</span>asset:<span class="kw3">String</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _asset=asset;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">get</span> asset<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">String</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> _asset;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></p>
<p>&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span><br />
&nbsp;</div>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;title=Poor%20man%27s%20zooming%20Flex%20TileList" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;title=Poor%20man%27s%20zooming%20Flex%20TileList" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;title=Poor%20man%27s%20zooming%20Flex%20TileList" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;t=Poor%20man%27s%20zooming%20Flex%20TileList" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;title=Poor%20man%27s%20zooming%20Flex%20TileList" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;title=Poor%20man%27s%20zooming%20Flex%20TileList" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Poor%20man%27s%20zooming%20Flex%20TileList&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F&amp;title=Poor%20man%27s%20zooming%20Flex%20TileList" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2009%2F01%2F20%2Fpoor-mans-zooming-flex-tilelist%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.flexmonkeypatches.com/2009/01/20/poor-mans-zooming-flex-tilelist/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New Flex Builder, Flex SDK, LCDS and BlazeDS releases</title>
		<link>http://blog.flexmonkeypatches.com/2008/11/19/new-flex-builder-flex-sdk-lcds-and-blazeds-releases/</link>
		<comments>http://blog.flexmonkeypatches.com/2008/11/19/new-flex-builder-flex-sdk-lcds-and-blazeds-releases/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 14:55:40 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Air]]></category>
		<category><![CDATA[BlazeDS]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[LCDS]]></category>
		<category><![CDATA[flexbuilder]]></category>

		<guid isPermaLink="false">http://blog.flexmonkeypatches.com/?p=356</guid>
		<description><![CDATA[<p>OK&#8230;so I guess I kind of passed over these yesterday in my announcements.  To me, the fact that there would be new releases timed with MAX was known and to anyone in the community there was probably a strong suspicion that there would at least be a new point release at MAX 2008.  But in an effort to correct my oversight, here are links to the announcements by the product managers:</p>
<p>Matt Chotin (PM for Flex SDK) announces <a href="http://www.adobe.com/devnet/flex/articles/sdk32_fb302.html">Flex Builder 3.0.2 and Flex SDK 3.2</a> (with support for AIR 1.5 and Flash Player 10).</p>
<p>Anil Channappa (PM for LCDS and BlazeDS) announces <a href="http://anilchannappa.org/2008/11/18/new-version-of-lc-ds-and-blaze-ds-available-today/">LCDS 2.6.1 and BlazeDS 3.2</a>.</p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;t=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></description>
			<content:encoded><![CDATA[<p>OK&#8230;so I guess I kind of passed over these yesterday in my announcements.  To me, the fact that there would be new releases timed with MAX was known and to anyone in the community there was probably a strong suspicion that there would at least be a new point release at MAX 2008.  But in an effort to correct my oversight, here are links to the announcements by the product managers:</p>
<p>Matt Chotin (PM for Flex SDK) announces <a href="http://www.adobe.com/devnet/flex/articles/sdk32_fb302.html">Flex Builder 3.0.2 and Flex SDK 3.2</a> (with support for AIR 1.5 and Flash Player 10).</p>
<p>Anil Channappa (PM for LCDS and BlazeDS) announces <a href="http://anilchannappa.org/2008/11/18/new-version-of-lc-ds-and-blaze-ds-available-today/">LCDS 2.6.1 and BlazeDS 3.2</a>.</p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;t=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F&amp;title=New%20Flex%20Builder%2C%20Flex%20SDK%2C%20LCDS%20and%20BlazeDS%20releases" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F19%2Fnew-flex-builder-flex-sdk-lcds-and-blazeds-releases%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.flexmonkeypatches.com/2008/11/19/new-flex-builder-flex-sdk-lcds-and-blazeds-releases/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New and Exciting on Adobe Labs!</title>
		<link>http://blog.flexmonkeypatches.com/2008/11/17/new-and-exciting-on-adobe-labs/</link>
		<comments>http://blog.flexmonkeypatches.com/2008/11/17/new-and-exciting-on-adobe-labs/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 20:53:57 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Adobe Labs]]></category>
		<category><![CDATA[Adobe Wave]]></category>
		<category><![CDATA[Cocomo]]></category>
		<category><![CDATA[RTMFP]]></category>

		<guid isPermaLink="false">http://blog.flexmonkeypatches.com/?p=347</guid>
		<description><![CDATA[<p>There were lots of exciting new things at Adobe MAX 2008 today, plus a lot of new stuff landed on Adobe LABs.  Here are the things I think are cool and showcase the innovation of the people at Adobe:</p>
<p><b><a href="http://labs.adobe.com/technologies/alchemy/">http://labs.adobe.com/technologies/alchemy/</a></b></p>
<p>Alchemy is a research project that allows users to compile C and C++ code that is targeted to run on the open source ActionScript Virtual Machine (AVM2). The purpose of this preview is to assess the level of community interest in reusing existing C and C++ libraries in Web applications that run on Adobe® Flash® Player and Adobe AIR®.</p>
<p><b><a href="http://labs.adobe.com/technologies/flashcatalyst/">http://labs.adobe.com/technologies/flashcatalyst/</a></b>(formerly Thermo)</p>
<p>&#8220;Adobe® Flash® Catalyst is a new professional interaction design tool for rapidly creating application interfaces and interactive content without coding. These can range from interactive Ads, product guides and design portfolios to user interfaces for applications. Flash Catalyst enables designers to start from static compositions created in Adobe Photoshop® CS4, Illustrator® CS4, or Adobe Fireworks® CS4 and convert the artwork into applications and interactive content. The designer does this by visually defining events, transitions and motion. Flash Catalyst can output a finished Flash SWF or AIR application that’s ready to publish on the web. In addition designers can provide the project file to developers who can use Adobe Flex® Builder™ to add additional functionality such as connection to back-end systems.&#8221;</p>
<p><b><a href="http://labs.adobe.com/technologies/cocomo/">http://labs.adobe.com/technologies/cocomo/</a></b></p>
<p>Codename &#8220;Cocomo&#8221; is a Platform as a Service that allows Flex developers to easily add real-time social capabilities into their RIA (rich Internet applications). Comprised of both Flex-based client components and a hosted services infrastructure, Cocomo allows you to build real-time, multi-user applications with Flex in less time than ever before. And because Acrobat.com hosts the service, issues like deployment, maintenance, and scalability are taken care of for you.</p>
<p>Add social features to your existing Flex apps or build totally new ones, such as real-time productivity/collaboration apps, multiplayer games, and audio/video chat.</p>
<p><b><a href="http://labs.adobe.com/wiki/index.php/Genesis">http://labs.adobe.com/wiki/index.php/Genesis</a></b></p>
<p>Genesis is the code-name for a new product initiative at Adobe with the objective of joining business applications, documents and the web on every knowledge workers desktop with integrated collaboration capabilities. Using the very intuitive interface of the Genesis desktop client (built on Adobe AIR) knowledge workers are able to create custom workspaces combining views into business applications, analytics, web sites and documents. Workspaces can be easily and securely shared with other colleagues or business partners outside the company and provide out-of-the-box real time collaboration capabilities like instant messaging, voice and video as well as screen sharing and white boarding.</p>
<p><b><a href="http://labs.adobe.com/wiki/index.php/Adobe_Wave">http://labs.adobe.com/wiki/index.php/Adobe_Wave</a></b></p>
<p>Adobe® Wave™ is an Adobe AIR application and Adobe hosted service that work together to enable desktop notifications. It helps publishers stay connected to your customers and lets users avoid the email clutter of dozens of newsletters and social network update messages. Adobe Wave is a single web service call that lets publishers reach users directly on their desktop: there&#8217;s no need to make them download a custom application or build it yourself. The Adobe Wave pre-release program is geared towards developers, so if you’re a user who wants to try it out, click here to send us an email. We’ll let you know when Adobe Wave is available for you to try!</p>
<p><b><a href="http://labs.adobe.com/wiki/index.php/Stratus">http://labs.adobe.com/wiki/index.php/Stratus</a></b></p>
<p>Flash Player 10 and Adobe AIR 1.5 introduce a new communications protocol called the Real-Time Media Flow Protocol (RTMFP). The most important features of RTMFP include low latency, end-to-end peering capability, security and scalability. These properties make RTMFP especially well suited for developing real-time collaboration applications by not only providing superior user experience but also reducing cost for operators.</p>
<p>In order to use RTMFP, Flash Player endpoints must connect to an RTMFP-capable server, such as the Adobe Stratus service. Stratus is a Beta hosted rendezvous service that aids establishing communications between Flash Player endpoints. Unlike Flash Media Server, Stratus does not support media relay, shared objects, scripting, etc. So by using Stratus, you can only develop applications where Flash Player endpoints are directly communicating with each other. </p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;title=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;title=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;title=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;t=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;title=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;title=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=New%20and%20Exciting%20on%20Adobe%20Labs%21&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;title=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></description>
			<content:encoded><![CDATA[<p>There were lots of exciting new things at Adobe MAX 2008 today, plus a lot of new stuff landed on Adobe LABs.  Here are the things I think are cool and showcase the innovation of the people at Adobe:</p>
<p><b><a href="http://labs.adobe.com/technologies/alchemy/">http://labs.adobe.com/technologies/alchemy/</a></b></p>
<p>Alchemy is a research project that allows users to compile C and C++ code that is targeted to run on the open source ActionScript Virtual Machine (AVM2). The purpose of this preview is to assess the level of community interest in reusing existing C and C++ libraries in Web applications that run on Adobe® Flash® Player and Adobe AIR®.</p>
<p><b><a href="http://labs.adobe.com/technologies/flashcatalyst/">http://labs.adobe.com/technologies/flashcatalyst/</a></b>(formerly Thermo)</p>
<p>&#8220;Adobe® Flash® Catalyst is a new professional interaction design tool for rapidly creating application interfaces and interactive content without coding. These can range from interactive Ads, product guides and design portfolios to user interfaces for applications. Flash Catalyst enables designers to start from static compositions created in Adobe Photoshop® CS4, Illustrator® CS4, or Adobe Fireworks® CS4 and convert the artwork into applications and interactive content. The designer does this by visually defining events, transitions and motion. Flash Catalyst can output a finished Flash SWF or AIR application that’s ready to publish on the web. In addition designers can provide the project file to developers who can use Adobe Flex® Builder™ to add additional functionality such as connection to back-end systems.&#8221;</p>
<p><b><a href="http://labs.adobe.com/technologies/cocomo/">http://labs.adobe.com/technologies/cocomo/</a></b></p>
<p>Codename &#8220;Cocomo&#8221; is a Platform as a Service that allows Flex developers to easily add real-time social capabilities into their RIA (rich Internet applications). Comprised of both Flex-based client components and a hosted services infrastructure, Cocomo allows you to build real-time, multi-user applications with Flex in less time than ever before. And because Acrobat.com hosts the service, issues like deployment, maintenance, and scalability are taken care of for you.</p>
<p>Add social features to your existing Flex apps or build totally new ones, such as real-time productivity/collaboration apps, multiplayer games, and audio/video chat.</p>
<p><b><a href="http://labs.adobe.com/wiki/index.php/Genesis">http://labs.adobe.com/wiki/index.php/Genesis</a></b></p>
<p>Genesis is the code-name for a new product initiative at Adobe with the objective of joining business applications, documents and the web on every knowledge workers desktop with integrated collaboration capabilities. Using the very intuitive interface of the Genesis desktop client (built on Adobe AIR) knowledge workers are able to create custom workspaces combining views into business applications, analytics, web sites and documents. Workspaces can be easily and securely shared with other colleagues or business partners outside the company and provide out-of-the-box real time collaboration capabilities like instant messaging, voice and video as well as screen sharing and white boarding.</p>
<p><b><a href="http://labs.adobe.com/wiki/index.php/Adobe_Wave">http://labs.adobe.com/wiki/index.php/Adobe_Wave</a></b></p>
<p>Adobe® Wave™ is an Adobe AIR application and Adobe hosted service that work together to enable desktop notifications. It helps publishers stay connected to your customers and lets users avoid the email clutter of dozens of newsletters and social network update messages. Adobe Wave is a single web service call that lets publishers reach users directly on their desktop: there&#8217;s no need to make them download a custom application or build it yourself. The Adobe Wave pre-release program is geared towards developers, so if you’re a user who wants to try it out, click here to send us an email. We’ll let you know when Adobe Wave is available for you to try!</p>
<p><b><a href="http://labs.adobe.com/wiki/index.php/Stratus">http://labs.adobe.com/wiki/index.php/Stratus</a></b></p>
<p>Flash Player 10 and Adobe AIR 1.5 introduce a new communications protocol called the Real-Time Media Flow Protocol (RTMFP). The most important features of RTMFP include low latency, end-to-end peering capability, security and scalability. These properties make RTMFP especially well suited for developing real-time collaboration applications by not only providing superior user experience but also reducing cost for operators.</p>
<p>In order to use RTMFP, Flash Player endpoints must connect to an RTMFP-capable server, such as the Adobe Stratus service. Stratus is a Beta hosted rendezvous service that aids establishing communications between Flash Player endpoints. Unlike Flash Media Server, Stratus does not support media relay, shared objects, scripting, etc. So by using Stratus, you can only develop applications where Flash Player endpoints are directly communicating with each other. </p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;title=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;title=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;title=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;t=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;title=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;title=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=New%20and%20Exciting%20on%20Adobe%20Labs%21&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F&amp;title=New%20and%20Exciting%20on%20Adobe%20Labs%21" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fnew-and-exciting-on-adobe-labs%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.flexmonkeypatches.com/2008/11/17/new-and-exciting-on-adobe-labs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flex Showcase app &#8211; Tour de Flex</title>
		<link>http://blog.flexmonkeypatches.com/2008/11/17/flex-showcase-app-tour-de-flex/</link>
		<comments>http://blog.flexmonkeypatches.com/2008/11/17/flex-showcase-app-tour-de-flex/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 18:41:38 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[component gallery]]></category>
		<category><![CDATA[showcase]]></category>

		<guid isPermaLink="false">http://blog.flexmonkeypatches.com/?p=341</guid>
		<description><![CDATA[<p>I pointed one of my customers at this app last week.  I had no idea it would be all the rage at MAX <img src='http://blog.flexmonkeypatches.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://flex.org/tour">http://flex.org/tour</a></p>
<p>&#8220;Tour de Flex is a desktop application for exploring Flex capabilities and resources, including the core Flex components, Adobe AIR and data integration, as well as a variety of third-party components, effects, skins, and more.&#8221;</p>
<p>I have posted an install badge in my sidebar (below my paypal badge)&#8230;check it out.</p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;t=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></description>
			<content:encoded><![CDATA[<p>I pointed one of my customers at this app last week.  I had no idea it would be all the rage at MAX <img src='http://blog.flexmonkeypatches.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://flex.org/tour">http://flex.org/tour</a></p>
<p>&#8220;Tour de Flex is a desktop application for exploring Flex capabilities and resources, including the core Flex components, Adobe AIR and data integration, as well as a variety of third-party components, effects, skins, and more.&#8221;</p>
<p>I have posted an install badge in my sidebar (below my paypal badge)&#8230;check it out.</p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;t=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F&amp;title=Flex%20Showcase%20app%20-%20Tour%20de%20Flex" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fflex-showcase-app-tour-de-flex%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.flexmonkeypatches.com/2008/11/17/flex-showcase-app-tour-de-flex/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sessions not to miss at Adobe MAX 2008</title>
		<link>http://blog.flexmonkeypatches.com/2008/11/17/sessions-not-to-miss-at-adobe-max-2008/</link>
		<comments>http://blog.flexmonkeypatches.com/2008/11/17/sessions-not-to-miss-at-adobe-max-2008/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 17:13:39 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Adobe MAX]]></category>
		<category><![CDATA[Cocomo]]></category>
		<category><![CDATA[Genesis]]></category>

		<guid isPermaLink="false">http://blog.flexmonkeypatches.com/?p=336</guid>
		<description><![CDATA[<p>Two things really excite me that there will be more info on at MAX NA, 2008.</p>
<p><b>Cocomo and Genesis.</b></p>
<p><b>Cocomo is now on Adobe Labs: <a href="http://labs.adobe.com/technologies/cocomo/">http://labs.adobe.com/technologies/cocomo/</a></b></p>
<p>Do not miss these sessions:<br />
Real-Time Collaboration Apps with Flex and Cocomo<br />
Explore Cocomo, Adobe&#8217;s new Platform-as-a-Service for developing real-time, multiuser Flex applications. Learn how any Flex developer can use Adobe&#8217;s services infrastructure to build stunningly rich real-time social apps, including robust data messaging and streaming live video and VoIP. In this session we&#8217;ll be showing live coding with the Cocomo Flex SDK and Adobe&#8217;s services. Bring a laptop and be ready to join in.</p>
<p>Speakers:	Nigel Pegg<br />
Audience:	IS/IT, Creative Designer, Business Decision Maker, Architect, Application Developer<br />
Skill:	Intermediate<br />
Products:	Flex Builder, Flex, Flash Player, Flash Media Server, Connect, AIR, ActionScript, Acrobat<br />
When:	Monday, November 17, 3:30 pm &#8211; 4:30 pm, Moscone West 2007</p>
<p>Cocomo Deep Dive: Building Social RIAs with Flex + Adobe Hosted Services<br />
Learn to build your first multiuser Adobe AIR application using the new Cocomo Flex SDK. In this session, we&#8217;ll walk you through the philosophy and design considerations of this new breed of application, all the way to the nuts and bolts of coding, debugging, and deploying it. Follow along as a real-time collaborative AIR app is built from scratch and deployed on stage. There will be code — bring a laptop!</p>
<p>Speakers:	Nigel Pegg<br />
Audience:	IS/IT, Creative Designer, Business Decision Maker, Architect, Application Developer<br />
Skill:	Intermediate<br />
Products:	Flex Builder, Flex, Flash Player, Flash Media Server, Connect, AIR, ActionScript, Acrobat<br />
When:	Wednesday, November 19, 3:30 pm &#8211; 4:30 pm, Moscone West 2003</p>
<p><b>The Genesis Blog is here: <a href="http://blogs.adobe.com/mashup/">http://blogs.adobe.com/mashup/</a></b></p>
<p>Don&#8217;t miss this session either:</p>
<p>Genesis: A Collaborative Mashup Client for Business Users<br />
Learn how Genesis enables knowledge workers to combine web applications, enterprise apps, and documents within one workspace on their desktop and provides sharing as well as real-time collaboration. Genesis is a code name for a new Adobe product in development that includes a desktop client based on Adobe AIR and Flex as well as hosted collaboration services that leverage Adobe Acrobat Connect via Cocomo. We&#8217;ll discuss business use cases for Genesis and demonstrate features and functionality. For Flex developers, we&#8217;ll explain the architecture and opportunities to create Flex widgets that can be distributed via the Genesis catalog.</p>
<p>Speakers:	Mattias Zeller, Steve Yankovich<br />
Audience:	Partner Decision Maker, IS/IT, Business Decision Maker, Architect<br />
Skill:	General Audience<br />
Products:	Flex<br />
When:<br />
Monday, November 17, 2:00 pm &#8211; 3:00 pm, Moscone West 2014</p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;t=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></description>
			<content:encoded><![CDATA[<p>Two things really excite me that there will be more info on at MAX NA, 2008.</p>
<p><b>Cocomo and Genesis.</b></p>
<p><b>Cocomo is now on Adobe Labs: <a href="http://labs.adobe.com/technologies/cocomo/">http://labs.adobe.com/technologies/cocomo/</a></b></p>
<p>Do not miss these sessions:<br />
Real-Time Collaboration Apps with Flex and Cocomo<br />
Explore Cocomo, Adobe&#8217;s new Platform-as-a-Service for developing real-time, multiuser Flex applications. Learn how any Flex developer can use Adobe&#8217;s services infrastructure to build stunningly rich real-time social apps, including robust data messaging and streaming live video and VoIP. In this session we&#8217;ll be showing live coding with the Cocomo Flex SDK and Adobe&#8217;s services. Bring a laptop and be ready to join in.</p>
<p>Speakers:	Nigel Pegg<br />
Audience:	IS/IT, Creative Designer, Business Decision Maker, Architect, Application Developer<br />
Skill:	Intermediate<br />
Products:	Flex Builder, Flex, Flash Player, Flash Media Server, Connect, AIR, ActionScript, Acrobat<br />
When:	Monday, November 17, 3:30 pm &#8211; 4:30 pm, Moscone West 2007</p>
<p>Cocomo Deep Dive: Building Social RIAs with Flex + Adobe Hosted Services<br />
Learn to build your first multiuser Adobe AIR application using the new Cocomo Flex SDK. In this session, we&#8217;ll walk you through the philosophy and design considerations of this new breed of application, all the way to the nuts and bolts of coding, debugging, and deploying it. Follow along as a real-time collaborative AIR app is built from scratch and deployed on stage. There will be code — bring a laptop!</p>
<p>Speakers:	Nigel Pegg<br />
Audience:	IS/IT, Creative Designer, Business Decision Maker, Architect, Application Developer<br />
Skill:	Intermediate<br />
Products:	Flex Builder, Flex, Flash Player, Flash Media Server, Connect, AIR, ActionScript, Acrobat<br />
When:	Wednesday, November 19, 3:30 pm &#8211; 4:30 pm, Moscone West 2003</p>
<p><b>The Genesis Blog is here: <a href="http://blogs.adobe.com/mashup/">http://blogs.adobe.com/mashup/</a></b></p>
<p>Don&#8217;t miss this session either:</p>
<p>Genesis: A Collaborative Mashup Client for Business Users<br />
Learn how Genesis enables knowledge workers to combine web applications, enterprise apps, and documents within one workspace on their desktop and provides sharing as well as real-time collaboration. Genesis is a code name for a new Adobe product in development that includes a desktop client based on Adobe AIR and Flex as well as hosted collaboration services that leverage Adobe Acrobat Connect via Cocomo. We&#8217;ll discuss business use cases for Genesis and demonstrate features and functionality. For Flex developers, we&#8217;ll explain the architecture and opportunities to create Flex widgets that can be distributed via the Genesis catalog.</p>
<p>Speakers:	Mattias Zeller, Steve Yankovich<br />
Audience:	Partner Decision Maker, IS/IT, Business Decision Maker, Architect<br />
Skill:	General Audience<br />
Products:	Flex<br />
When:<br />
Monday, November 17, 2:00 pm &#8211; 3:00 pm, Moscone West 2014</p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;t=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F&amp;title=Sessions%20not%20to%20miss%20at%20Adobe%20MAX%202008" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fsessions-not-to-miss-at-adobe-max-2008%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.flexmonkeypatches.com/2008/11/17/sessions-not-to-miss-at-adobe-max-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Specifying BlazeDS/LCDS Configuration token as JVM args</title>
		<link>http://blog.flexmonkeypatches.com/2008/11/17/specifying-blazedslcds-configuration-token-as-jvm-args/</link>
		<comments>http://blog.flexmonkeypatches.com/2008/11/17/specifying-blazedslcds-configuration-token-as-jvm-args/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 14:47:54 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[BlazeDS]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[LCDS]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[config file]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[j2ee war]]></category>
		<category><![CDATA[services-confg.xml]]></category>
		<category><![CDATA[token]]></category>
		<category><![CDATA[tokens]]></category>
		<category><![CDATA[war]]></category>

		<guid isPermaLink="false">http://blog.flexmonkeypatches.com/?p=333</guid>
		<description><![CDATA[<p>Kind of related to an earlier post: <a href="http://blog.flexmonkeypatches.com/2008/10/17/deploying-multiple-lcds-wars-to-the-same-servlet-container/">Deploying Multiple LCDS wars to the same servlet container</a></p>
<p>I found out that you can specify config file tokens as JVM args.  This makes deploying the same war file to various deployments that have slight variations for certain parameters easier, since you can deploy the same war, but &#8220;tokenize&#8221; (and/or use some of the default tokens).</p>
<p><a href="http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=lcarch_4.html">http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=lcarch_4.html</a></p>
<p>&#8220;You can also use custom run-time tokens in service configuration files; for example, {messaging-channel} and {my.token}. You specify values for these tokens in Java Virtual Machine (JVM) options. The server reads these JVM options to determine what values are defined for them, and replaces the tokens with the specified values. If you have a custom token for which a value cannot be found, an error is thrown. Because {server.name}, {server.port}, and {context.root} are special tokens, no errors occur when these tokens are not specified in JVM options.&#8221;</p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;t=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></description>
			<content:encoded><![CDATA[<p>Kind of related to an earlier post: <a href="http://blog.flexmonkeypatches.com/2008/10/17/deploying-multiple-lcds-wars-to-the-same-servlet-container/">Deploying Multiple LCDS wars to the same servlet container</a></p>
<p>I found out that you can specify config file tokens as JVM args.  This makes deploying the same war file to various deployments that have slight variations for certain parameters easier, since you can deploy the same war, but &#8220;tokenize&#8221; (and/or use some of the default tokens).</p>
<p><a href="http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=lcarch_4.html">http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=lcarch_4.html</a></p>
<p>&#8220;You can also use custom run-time tokens in service configuration files; for example, {messaging-channel} and {my.token}. You specify values for these tokens in Java Virtual Machine (JVM) options. The server reads these JVM options to determine what values are defined for them, and replaces the tokens with the specified values. If you have a custom token for which a value cannot be found, an error is thrown. Because {server.name}, {server.port}, and {context.root} are special tokens, no errors occur when these tokens are not specified in JVM options.&#8221;</p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;t=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F&amp;title=Specifying%20BlazeDS%2FLCDS%20Configuration%20token%20as%20JVM%20args" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F11%2F17%2Fspecifying-blazedslcds-configuration-token-as-jvm-args%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.flexmonkeypatches.com/2008/11/17/specifying-blazedslcds-configuration-token-as-jvm-args/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TileList with popup that deletes from dataProvider</title>
		<link>http://blog.flexmonkeypatches.com/2008/10/29/tilelist-with-popup-that-deletes-from-dataprovider/</link>
		<comments>http://blog.flexmonkeypatches.com/2008/10/29/tilelist-with-popup-that-deletes-from-dataprovider/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 17:16:22 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[itemrenderer]]></category>
		<category><![CDATA[popup]]></category>

		<guid isPermaLink="false">http://blog.flexmonkeypatches.com/?p=319</guid>
		<description><![CDATA[<p>I wrote a demo a while back for a customer to demonstrate the following scenario:</p>
<li>Tilelist populated by an arrayCollection of typed objects.</li>
<li>Tilelist has a custom itemRender that pops up a &#8220;view&#8221; of the data for the item in the tilelist that was clicked.</li>
<li>The popup can delete the related object from the dataProvider of the TileList, removing the popup and the corresponding item from the Tilelist.
<p>Here is the app:</p>
<p>
<object type="application/x-shockwave-flash" width="495" height="500">
<param name="movie" value="http://blogcode.flexmonkeypatches.com/___FMP_TileList_popup_delete/app.swf" />
<embed src="http://blogcode.flexmonkeypatches.com/___FMP_TileList_popup_delete/app.swf" type="application/x-shockwave-flash" width="495" height="500" >
</object>
</p>
<p><a href="http://blogcode.flexmonkeypatches.com/___FMP_TileList_popup_delete/srcview/___FMP_TileList_popup_delete.zip">Download a zipfile containing the source to this sample.<br />
</a></p>
<p><a href="http://blogcode.flexmonkeypatches.com/___FMP_TileList_popup_delete/srcview/index.html" target="">Browse the source of this example.</a></p>
<p>Or continue into the blog entry to see the source:<br />
<span id="more-319"></span><br />
Here is the app code:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:Application xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span> &nbsp;viewSourceURL=<span class="st0">&quot;srcview/index.html&quot;</span>&gt;</p>
<p>&lt;mx:Script&gt;<br />
&lt;!<span class="br0">&#91;</span>CDATA<span class="br0">&#91;</span><br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">PopUpManager</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">PopUpManagerChildList</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">events</span>.<span class="me1">ListEvent</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">collections</span>.<span class="me1">ArrayCollection</span>;<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<span class="br0">&#91;</span>Bindable<span class="br0">&#93;</span><br />
&nbsp; &nbsp;<span class="kw3">private</span> <span class="kw2">var</span> catalog:ArrayCollection;</p>
<p>&nbsp; &nbsp;<span class="kw3">private</span> <span class="kw2">var</span> assets:<span class="kw3">Array</span> = <span class="br0">&#91;</span><span class="st0">&quot;assets/putty.jpg&quot;</span>, <span class="st0">&quot;assets/cantena.jpg&quot;</span>, <span class="st0">&quot;assets/orb.jpg&quot;</span>, <span class="st0">&quot;assets/globe.jpg&quot;</span>, <span class="st0">&quot;assets/usbfan.jpg&quot;</span>, <span class="st0">&quot;assets/hotsauce.jpg&quot;</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> initCatalog<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span><br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; catalog = <span class="kw2">new</span> ArrayCollection<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw2">var</span> i:<span class="kw3">int</span>=<span class="nu0">0</span>;i&lt;assets.<span class="kw3">length</span>;i++<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> vo:MyVO=<span class="kw2">new</span> MyVO<span class="br0">&#40;</span>assets<span class="br0">&#91;</span>i<span class="br0">&#93;</span>,assets<span class="br0">&#91;</span>i<span class="br0">&#93;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; catalog.<span class="me1">addItem</span><span class="br0">&#40;</span>vo<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> createPopup<span class="br0">&#40;</span>event:ListEvent<span class="br0">&#41;</span>:<span class="kw3">void</span><br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> foo:<span class="kw3">String</span>=<span class="st0">&quot;bar&quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> renderer:MyRenderer = event.<span class="me1">itemRenderer</span> as MyRenderer;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> <span class="kw3">pop</span>:MyPopup = MyPopup<span class="br0">&#40;</span>PopUpManager.<span class="me1">createPopUp</span><span class="br0">&#40;</span><span class="kw3">this</span>,MyPopup,<span class="kw2">false</span>,PopUpManagerChildList.<span class="me1">POPUP</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">pop</span>.<span class="me1">vo</span>=<span class="br0">&#40;</span>event.<span class="kw3">target</span> as TileList<span class="br0">&#41;</span>.<span class="me1">selectedItem</span> as MyVO;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">pop</span>.<span class="me1">myparentDP</span>=<span class="br0">&#40;</span>event.<span class="kw3">target</span> as TileList<span class="br0">&#41;</span>.<span class="me1">dataProvider</span> as ArrayCollection;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; tilePopUps<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> tilePopUps<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw2">var</span> i:<span class="kw3">int</span>=<span class="nu0">0</span>;i&lt;systemManager.<span class="me1">popUpChildren</span>.<span class="me1">numChildren</span>;i++<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="kw2">var</span> o:* = systemManager.<span class="me1">popUpChildren</span>.<span class="me1">getChildAt</span><span class="br0">&#40;</span>i<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;PopUpManager.<span class="me1">centerPopUp</span><span class="br0">&#40;</span>o<span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="kw1">if</span><span class="br0">&#40;</span>i!=<span class="nu0">0</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; o.<span class="me1">x</span>+=<span class="nu0">10</span>*i;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; o.<span class="me1">y</span>+=<span class="nu0">10</span>*i;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
<span class="br0">&#93;</span><span class="br0">&#93;</span>&gt;<br />
&lt;/mx:Script&gt;</p>
<p>&lt;mx:TileList id=<span class="st0">&quot;tileList&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataProvider=<span class="st0">&quot;{catalog}&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; itemRenderer=<span class="st0">&quot;MyRenderer&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; columnCount=<span class="st0">&quot;3&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; columnWidth=<span class="st0">&quot;140&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rowCount=<span class="st0">&quot;1&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rowHeight=<span class="st0">&quot;140&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; themeColor=<span class="st0">&quot;haloSilver&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; verticalScrollPolicy=<span class="st0">&quot;on&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; itemClick=<span class="st0">&quot;createPopup(event);&quot;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; creationComplete=<span class="st0">&quot;initCatalog();&quot;</span>/&gt;</p>
<p>&lt;/mx:Application&gt;<br />
&nbsp;</div>
<p>Here is the itemRenderer:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:VBox xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; horizontalAlign=<span class="st0">&quot;center&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; verticalAlign=<span class="st0">&quot;middle&quot;</span>&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:Image source=<span class="st0">&quot;{data.asset}&quot;</span> scaleX=<span class="st0">&quot;.25&quot;</span> scaleY=<span class="st0">&quot;.25&quot;</span>/&gt;<br />
&nbsp; &nbsp; &lt;mx:Label <span class="kw3">text</span>=<span class="st0">&quot;{data.title}&quot;</span> /&gt;<br />
&lt;/mx:VBox&gt;<br />
&nbsp;</div>
<p>Here is the simple popup:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:TitleWindow xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; horizontalAlign=<span class="st0">&quot;center&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; verticalAlign=<span class="st0">&quot;middle&quot;</span>&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:Script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!<span class="br0">&#91;</span>CDATA<span class="br0">&#91;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">collections</span>.<span class="me1">ArrayCollection</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">PopUpManager</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">var</span> myparentDP:ArrayCollection;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span>Bindable<span class="br0">&#93;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">var</span> vo:MyVO;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> removeItem<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> i:<span class="kw3">int</span> = myparentDP.<span class="me1">getItemIndex</span><span class="br0">&#40;</span>vo<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>i!=<span class="nu0">-1</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myparentDP.<span class="me1">removeItemAt</span><span class="br0">&#40;</span>i<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>&nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PopUpManager.<span class="me1">removePopUp</span><span class="br0">&#40;</span><span class="kw3">this</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#93;</span><span class="br0">&#93;</span>&gt;<br />
&nbsp; &nbsp; &lt;/mx:Script&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:Image source=<span class="st0">&quot;{vo.asset}&quot;</span> /&gt;<br />
&nbsp; &nbsp; &lt;mx:Label <span class="kw3">text</span>=<span class="st0">&quot;{vo.title}&quot;</span> /&gt;<br />
&nbsp; &nbsp; &lt;mx:HBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:<span class="kw3">Button</span> label=<span class="st0">&quot;close&quot;</span> click=<span class="st0">&quot;PopUpManager.removePopUp(this)&quot;</span>/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:<span class="kw3">Button</span> label=<span class="st0">&quot;remove item&quot;</span> click=<span class="st0">&quot;removeItem()&quot;</span>/&gt;<br />
&nbsp; &nbsp; &lt;/mx:HBox&gt;<br />
&lt;/mx:TitleWindow&gt;<br />
&nbsp;</div>
<p>Here is the type value object that populates the ArrayCollection:</p>
<div class="dean_ch" style="white-space: wrap;">
package<br />
<span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="br0">&#91;</span>Bindable<span class="br0">&#93;</span><br />
&nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">class</span> MyVO<br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">var</span> _asset:<span class="kw3">String</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">var</span> _title:<span class="kw3">String</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> MyVO<span class="br0">&#40;</span>title:<span class="kw3">String</span>, asset:<span class="kw3">String</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="me1">title</span>=title;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="me1">asset</span>=asset;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">set</span> title<span class="br0">&#40;</span>title:<span class="kw3">String</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _title=title;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">get</span> title<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">String</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> _title;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">set</span> asset<span class="br0">&#40;</span>asset:<span class="kw3">String</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _asset=asset;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">get</span> asset<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">String</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> _asset;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></p>
<p>&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span><br />
&nbsp;</div>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;t=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></description>
			<content:encoded><![CDATA[<p>I wrote a demo a while back for a customer to demonstrate the following scenario:</p>
<li>Tilelist populated by an arrayCollection of typed objects.</li>
<li>Tilelist has a custom itemRender that pops up a &#8220;view&#8221; of the data for the item in the tilelist that was clicked.</li>
<li>The popup can delete the related object from the dataProvider of the TileList, removing the popup and the corresponding item from the Tilelist.
<p>Here is the app:</p>
<p>
<object type="application/x-shockwave-flash" width="495" height="500">
<param name="movie" value="http://blogcode.flexmonkeypatches.com/___FMP_TileList_popup_delete/app.swf" />
<embed src="http://blogcode.flexmonkeypatches.com/___FMP_TileList_popup_delete/app.swf" type="application/x-shockwave-flash" width="495" height="500" >
</object>
</p>
<p><a href="http://blogcode.flexmonkeypatches.com/___FMP_TileList_popup_delete/srcview/___FMP_TileList_popup_delete.zip">Download a zipfile containing the source to this sample.<br />
</a></p>
<p><a href="http://blogcode.flexmonkeypatches.com/___FMP_TileList_popup_delete/srcview/index.html" target="">Browse the source of this example.</a></p>
<p>Or continue into the blog entry to see the source:<br />
<span id="more-319"></span><br />
Here is the app code:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:Application xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span> &nbsp;viewSourceURL=<span class="st0">&quot;srcview/index.html&quot;</span>&gt;</p>
<p>&lt;mx:Script&gt;<br />
&lt;!<span class="br0">&#91;</span>CDATA<span class="br0">&#91;</span><br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">PopUpManager</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">PopUpManagerChildList</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">events</span>.<span class="me1">ListEvent</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">collections</span>.<span class="me1">ArrayCollection</span>;<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<span class="br0">&#91;</span>Bindable<span class="br0">&#93;</span><br />
&nbsp; &nbsp;<span class="kw3">private</span> <span class="kw2">var</span> catalog:ArrayCollection;</p>
<p>&nbsp; &nbsp;<span class="kw3">private</span> <span class="kw2">var</span> assets:<span class="kw3">Array</span> = <span class="br0">&#91;</span><span class="st0">&quot;assets/putty.jpg&quot;</span>, <span class="st0">&quot;assets/cantena.jpg&quot;</span>, <span class="st0">&quot;assets/orb.jpg&quot;</span>, <span class="st0">&quot;assets/globe.jpg&quot;</span>, <span class="st0">&quot;assets/usbfan.jpg&quot;</span>, <span class="st0">&quot;assets/hotsauce.jpg&quot;</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> initCatalog<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span><br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; catalog = <span class="kw2">new</span> ArrayCollection<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw2">var</span> i:<span class="kw3">int</span>=<span class="nu0">0</span>;i&lt;assets.<span class="kw3">length</span>;i++<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> vo:MyVO=<span class="kw2">new</span> MyVO<span class="br0">&#40;</span>assets<span class="br0">&#91;</span>i<span class="br0">&#93;</span>,assets<span class="br0">&#91;</span>i<span class="br0">&#93;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; catalog.<span class="me1">addItem</span><span class="br0">&#40;</span>vo<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> createPopup<span class="br0">&#40;</span>event:ListEvent<span class="br0">&#41;</span>:<span class="kw3">void</span><br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> foo:<span class="kw3">String</span>=<span class="st0">&quot;bar&quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> renderer:MyRenderer = event.<span class="me1">itemRenderer</span> as MyRenderer;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> <span class="kw3">pop</span>:MyPopup = MyPopup<span class="br0">&#40;</span>PopUpManager.<span class="me1">createPopUp</span><span class="br0">&#40;</span><span class="kw3">this</span>,MyPopup,<span class="kw2">false</span>,PopUpManagerChildList.<span class="me1">POPUP</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">pop</span>.<span class="me1">vo</span>=<span class="br0">&#40;</span>event.<span class="kw3">target</span> as TileList<span class="br0">&#41;</span>.<span class="me1">selectedItem</span> as MyVO;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">pop</span>.<span class="me1">myparentDP</span>=<span class="br0">&#40;</span>event.<span class="kw3">target</span> as TileList<span class="br0">&#41;</span>.<span class="me1">dataProvider</span> as ArrayCollection;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; tilePopUps<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> tilePopUps<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw2">var</span> i:<span class="kw3">int</span>=<span class="nu0">0</span>;i&lt;systemManager.<span class="me1">popUpChildren</span>.<span class="me1">numChildren</span>;i++<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="kw2">var</span> o:* = systemManager.<span class="me1">popUpChildren</span>.<span class="me1">getChildAt</span><span class="br0">&#40;</span>i<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;PopUpManager.<span class="me1">centerPopUp</span><span class="br0">&#40;</span>o<span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="kw1">if</span><span class="br0">&#40;</span>i!=<span class="nu0">0</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; o.<span class="me1">x</span>+=<span class="nu0">10</span>*i;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; o.<span class="me1">y</span>+=<span class="nu0">10</span>*i;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
<span class="br0">&#93;</span><span class="br0">&#93;</span>&gt;<br />
&lt;/mx:Script&gt;</p>
<p>&lt;mx:TileList id=<span class="st0">&quot;tileList&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataProvider=<span class="st0">&quot;{catalog}&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; itemRenderer=<span class="st0">&quot;MyRenderer&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; columnCount=<span class="st0">&quot;3&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; columnWidth=<span class="st0">&quot;140&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rowCount=<span class="st0">&quot;1&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rowHeight=<span class="st0">&quot;140&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; themeColor=<span class="st0">&quot;haloSilver&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; verticalScrollPolicy=<span class="st0">&quot;on&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; itemClick=<span class="st0">&quot;createPopup(event);&quot;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; creationComplete=<span class="st0">&quot;initCatalog();&quot;</span>/&gt;</p>
<p>&lt;/mx:Application&gt;<br />
&nbsp;</div>
<p>Here is the itemRenderer:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:VBox xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; horizontalAlign=<span class="st0">&quot;center&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; verticalAlign=<span class="st0">&quot;middle&quot;</span>&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:Image source=<span class="st0">&quot;{data.asset}&quot;</span> scaleX=<span class="st0">&quot;.25&quot;</span> scaleY=<span class="st0">&quot;.25&quot;</span>/&gt;<br />
&nbsp; &nbsp; &lt;mx:Label <span class="kw3">text</span>=<span class="st0">&quot;{data.title}&quot;</span> /&gt;<br />
&lt;/mx:VBox&gt;<br />
&nbsp;</div>
<p>Here is the simple popup:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:TitleWindow xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; horizontalAlign=<span class="st0">&quot;center&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; verticalAlign=<span class="st0">&quot;middle&quot;</span>&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:Script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!<span class="br0">&#91;</span>CDATA<span class="br0">&#91;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">collections</span>.<span class="me1">ArrayCollection</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">PopUpManager</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">var</span> myparentDP:ArrayCollection;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span>Bindable<span class="br0">&#93;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">var</span> vo:MyVO;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> removeItem<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> i:<span class="kw3">int</span> = myparentDP.<span class="me1">getItemIndex</span><span class="br0">&#40;</span>vo<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>i!=<span class="nu0">-1</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myparentDP.<span class="me1">removeItemAt</span><span class="br0">&#40;</span>i<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>&nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PopUpManager.<span class="me1">removePopUp</span><span class="br0">&#40;</span><span class="kw3">this</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#93;</span><span class="br0">&#93;</span>&gt;<br />
&nbsp; &nbsp; &lt;/mx:Script&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:Image source=<span class="st0">&quot;{vo.asset}&quot;</span> /&gt;<br />
&nbsp; &nbsp; &lt;mx:Label <span class="kw3">text</span>=<span class="st0">&quot;{vo.title}&quot;</span> /&gt;<br />
&nbsp; &nbsp; &lt;mx:HBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:<span class="kw3">Button</span> label=<span class="st0">&quot;close&quot;</span> click=<span class="st0">&quot;PopUpManager.removePopUp(this)&quot;</span>/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:<span class="kw3">Button</span> label=<span class="st0">&quot;remove item&quot;</span> click=<span class="st0">&quot;removeItem()&quot;</span>/&gt;<br />
&nbsp; &nbsp; &lt;/mx:HBox&gt;<br />
&lt;/mx:TitleWindow&gt;<br />
&nbsp;</div>
<p>Here is the type value object that populates the ArrayCollection:</p>
<div class="dean_ch" style="white-space: wrap;">
package<br />
<span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="br0">&#91;</span>Bindable<span class="br0">&#93;</span><br />
&nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">class</span> MyVO<br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">var</span> _asset:<span class="kw3">String</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">var</span> _title:<span class="kw3">String</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> MyVO<span class="br0">&#40;</span>title:<span class="kw3">String</span>, asset:<span class="kw3">String</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="me1">title</span>=title;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="me1">asset</span>=asset;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">set</span> title<span class="br0">&#40;</span>title:<span class="kw3">String</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _title=title;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">get</span> title<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">String</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> _title;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">set</span> asset<span class="br0">&#40;</span>asset:<span class="kw3">String</span><span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _asset=asset;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">function</span> <span class="kw3">get</span> asset<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">String</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> _asset;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></p>
<p>&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span><br />
&nbsp;</div>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;t=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F&amp;title=TileList%20with%20popup%20that%20deletes%20from%20dataProvider" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F29%2Ftilelist-with-popup-that-deletes-from-dataprovider%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.flexmonkeypatches.com/2008/10/29/tilelist-with-popup-that-deletes-from-dataprovider/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Use the focus, Luke&#8230;er, force combobox focus on mouseover</title>
		<link>http://blog.flexmonkeypatches.com/2008/10/24/use-the-focus-lukeer-force-combobox-focus-on-mouseover/</link>
		<comments>http://blog.flexmonkeypatches.com/2008/10/24/use-the-focus-lukeer-force-combobox-focus-on-mouseover/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 15:05:15 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[combobox]]></category>
		<category><![CDATA[focus]]></category>
		<category><![CDATA[focusManager]]></category>

		<guid isPermaLink="false">http://blog.flexmonkeypatches.com/?p=310</guid>
		<description><![CDATA[<p>I was helping a customer with an interesting question and it resulted in a nice little bit of code that I am demoing here.</p>
<p>The basic idea was to force the combobox to receive focus when it is moused over rather than when clicked.  Also, it would be useful to have the combobox get focus only if the previously focused component was a particular component.</p>
<p>If you look at the docs:<br />
<a href="http://livedocs.adobe.com/flex/3/langref/mx/managers/FocusManager.html">http://livedocs.adobe.com/flex/3/langref/mx/managers/FocusManager.html</a></p>
<p>you will see that:</p>
<p>Each FocusManager instance is responsible for a set of components that comprise a &#8220;tab loop&#8221;. If you hit Tab enough times, focus traverses through a set of components and eventually get back to the first component that had focus. That is a &#8220;tab loop&#8221; and a FocusManager instance manages that loop.</p>
<p>You can use the focusManager.getFocus(); method to get the currently focussed item and you can also use focusManager. getNextFocusManagerComponent(backward:Boolean = false):IFocusManagerComponent to get you the next and previous items in the loop.</p>
<p>
<object type="application/x-shockwave-flash" width="495" height="200">
<param name="movie" value="http://blogcode.flexmonkeypatches.com/___FMP_force_cbo_focus_on_mouseover/app.swf" />
<embed src="http://blogcode.flexmonkeypatches.com/___FMP_force_cbo_focus_on_mouseover/app.swf" type="application/x-shockwave-flash" width="495" height="200" >
</object>
</p>
<p>The sample shows how to set the focus to the combobox when you hover over the combobox instead of setting focus only when you click on it(watch the blue focus ring), but only if the textInput whose id is &#8220;ti&#8221; first had focus.  If the &#8220;ti2&#8243; textinput had focus (or nothing had focus) before you hover over the combobox, then focus is not stolen.</p>
<p><a href="http://blogcode.flexmonkeypatches.com/___FMP_force_cbo_focus_on_mouseover/srcview/___FMP_force_cbo_focus_on_mouseover.zip">Download a zipfile containing the source to this sample.<br />
</a></p>
<p><a href="http://blogcode.flexmonkeypatches.com/___FMP_force_cbo_focus_on_mouseover/srcview/index.html" target="">Browse the source of this example.</a></p>
<p>Or continue into the blog entry to see the source:<br />
<span id="more-310"></span><br />
Here is the app code:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:Application xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span> <span class="kw3">backgroundColor</span>=<span class="st0">&quot;white&quot;</span> viewSourceURL=<span class="st0">&quot;srcview/index.html&quot;</span>&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:Script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!<span class="br0">&#91;</span>CDATA<span class="br0">&#91;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">FocusManager</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> checkFocus<span class="br0">&#40;</span>event:Event<span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//find component that has focus</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> c:* = focusManager.<span class="kw3">getFocus</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">trace</span><span class="br0">&#40;</span><span class="br0">&#40;</span>c ? c.<span class="me1">id</span>:<span class="st0">&#8221;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>c &amp;&amp; c.<span class="me1">id</span>==<span class="st0">&quot;ti&quot;</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//target is actually the button encapsulated within the cbo box&#8230;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//currentTarget is the cbo</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; event.<span class="me1">currentTarget</span>.<span class="kw3">setFocus</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#93;</span><span class="br0">&#93;</span>&gt;<br />
&nbsp; &nbsp; &lt;/mx:Script&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:TextInput id=<span class="st0">&quot;ti&quot;</span> <span class="kw3">width</span>=<span class="st0">&quot;200&quot;</span> /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;mx:ComboBox id=<span class="st0">&quot;cbo&quot;</span> mouseOver=<span class="st0">&quot;checkFocus(event)&quot;</span> &gt; <br />
&nbsp; &nbsp; &nbsp; &lt;mx:ArrayCollection&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;mx:String&gt;AK&lt;/mx:String&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;mx:String&gt;AL&lt;/mx:String&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;mx:String&gt;AR&lt;/mx:String&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/mx:ArrayCollection&gt;<br />
&nbsp; &nbsp;&lt;/mx:ComboBox&gt;<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;&lt;mx:TextInput id=<span class="st0">&quot;ti2&quot;</span> <span class="kw3">width</span>=<span class="st0">&quot;200&quot;</span> /&gt;<br />
&lt;/mx:Application&gt;<br />
&nbsp;</div>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;t=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></description>
			<content:encoded><![CDATA[<p>I was helping a customer with an interesting question and it resulted in a nice little bit of code that I am demoing here.</p>
<p>The basic idea was to force the combobox to receive focus when it is moused over rather than when clicked.  Also, it would be useful to have the combobox get focus only if the previously focused component was a particular component.</p>
<p>If you look at the docs:<br />
<a href="http://livedocs.adobe.com/flex/3/langref/mx/managers/FocusManager.html">http://livedocs.adobe.com/flex/3/langref/mx/managers/FocusManager.html</a></p>
<p>you will see that:</p>
<p>Each FocusManager instance is responsible for a set of components that comprise a &#8220;tab loop&#8221;. If you hit Tab enough times, focus traverses through a set of components and eventually get back to the first component that had focus. That is a &#8220;tab loop&#8221; and a FocusManager instance manages that loop.</p>
<p>You can use the focusManager.getFocus(); method to get the currently focussed item and you can also use focusManager. getNextFocusManagerComponent(backward:Boolean = false):IFocusManagerComponent to get you the next and previous items in the loop.</p>
<p>
<object type="application/x-shockwave-flash" width="495" height="200">
<param name="movie" value="http://blogcode.flexmonkeypatches.com/___FMP_force_cbo_focus_on_mouseover/app.swf" />
<embed src="http://blogcode.flexmonkeypatches.com/___FMP_force_cbo_focus_on_mouseover/app.swf" type="application/x-shockwave-flash" width="495" height="200" >
</object>
</p>
<p>The sample shows how to set the focus to the combobox when you hover over the combobox instead of setting focus only when you click on it(watch the blue focus ring), but only if the textInput whose id is &#8220;ti&#8221; first had focus.  If the &#8220;ti2&#8243; textinput had focus (or nothing had focus) before you hover over the combobox, then focus is not stolen.</p>
<p><a href="http://blogcode.flexmonkeypatches.com/___FMP_force_cbo_focus_on_mouseover/srcview/___FMP_force_cbo_focus_on_mouseover.zip">Download a zipfile containing the source to this sample.<br />
</a></p>
<p><a href="http://blogcode.flexmonkeypatches.com/___FMP_force_cbo_focus_on_mouseover/srcview/index.html" target="">Browse the source of this example.</a></p>
<p>Or continue into the blog entry to see the source:<br />
<span id="more-310"></span><br />
Here is the app code:</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:Application xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span> <span class="kw3">backgroundColor</span>=<span class="st0">&quot;white&quot;</span> viewSourceURL=<span class="st0">&quot;srcview/index.html&quot;</span>&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:Script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!<span class="br0">&#91;</span>CDATA<span class="br0">&#91;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">managers</span>.<span class="me1">FocusManager</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">private</span> <span class="kw2">function</span> checkFocus<span class="br0">&#40;</span>event:Event<span class="br0">&#41;</span>:<span class="kw3">void</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//find component that has focus</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> c:* = focusManager.<span class="kw3">getFocus</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">trace</span><span class="br0">&#40;</span><span class="br0">&#40;</span>c ? c.<span class="me1">id</span>:<span class="st0">&#8221;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>c &amp;&amp; c.<span class="me1">id</span>==<span class="st0">&quot;ti&quot;</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//target is actually the button encapsulated within the cbo box&#8230;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//currentTarget is the cbo</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; event.<span class="me1">currentTarget</span>.<span class="kw3">setFocus</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#93;</span><span class="br0">&#93;</span>&gt;<br />
&nbsp; &nbsp; &lt;/mx:Script&gt;</p>
<p>&nbsp; &nbsp; &lt;mx:TextInput id=<span class="st0">&quot;ti&quot;</span> <span class="kw3">width</span>=<span class="st0">&quot;200&quot;</span> /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;mx:ComboBox id=<span class="st0">&quot;cbo&quot;</span> mouseOver=<span class="st0">&quot;checkFocus(event)&quot;</span> &gt; <br />
&nbsp; &nbsp; &nbsp; &lt;mx:ArrayCollection&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;mx:String&gt;AK&lt;/mx:String&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;mx:String&gt;AL&lt;/mx:String&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;mx:String&gt;AR&lt;/mx:String&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/mx:ArrayCollection&gt;<br />
&nbsp; &nbsp;&lt;/mx:ComboBox&gt;<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;&lt;mx:TextInput id=<span class="st0">&quot;ti2&quot;</span> <span class="kw3">width</span>=<span class="st0">&quot;200&quot;</span> /&gt;<br />
&lt;/mx:Application&gt;<br />
&nbsp;</div>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="Digg"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="Sphinn"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="del.icio.us"><img src="http://blog.flexmonkeypatches.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/sharer.php?u=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;t=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="Facebook"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="Mixx"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="Google"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover&amp;url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F" title="Slashdot"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F&amp;title=Use%20the%20focus%2C%20Luke...er%2C%20force%20combobox%20focus%20on%20mouseover" title="StumbleUpon"><img src="http://blog.flexmonkeypatches.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%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F" title="Technorati"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=http%3A%2F%2Fblog.flexmonkeypatches.com%2F2008%2F10%2F24%2Fuse-the-focus-lukeer-force-combobox-focus-on-mouseover%2F" title="TwitThis"><img src="http://blog.flexmonkeypatches.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.flexmonkeypatches.com/2008/10/24/use-the-focus-lukeer-force-combobox-focus-on-mouseover/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
