<?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>grimmwerks &#187; Flex</title>
	<atom:link href="http://www.grimmwerks.com/category/blog/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.grimmwerks.com</link>
	<description>interactive  +  musical  +  geekery</description>
	<lastBuildDate>Wed, 23 Nov 2011 04:46:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	

<!-- Debugging help, do not remove -->
<meta name="Framework" content="Kpress" />
<meta name="Theme Version" content="1.1" />
<meta name="Framework Version" content="1.1" />


		<item>
		<title>Lupo &#8211; Flex localization</title>
		<link>http://www.grimmwerks.com/blog/flex/lupo-flex-localization/</link>
		<comments>http://www.grimmwerks.com/blog/flex/lupo-flex-localization/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 02:56:38 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.grimmwerks.com/?p=1603</guid>
		<description><![CDATA[This looks interesting: two Air Apps that help localize languages for Flex apps; made free by David Deraedt:]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>This looks interesting: two Air Apps that help localize languages for Flex apps; made free by David Deraedt:</p>
<p><a href="http://www.dehats.com/drupal/?q=node/81"><img style="float: right;" src="http://www.grimmwerks.com/wp-content/uploads/2011/01/lupo_translater.jpg" border="0" alt="lupo_translater.jpg" width="128" height="128" /></a></p>
<p><a href="http://www.dehats.com/drupal/?q=node/87"><img style="float: left;" src="http://www.grimmwerks.com/wp-content/uploads/2011/01/lugo.jpg" border="0" alt="lugo.jpg" width="128" height="128" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/lupo-flex-localization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IBM ILOG Elixir 3.0 beta</title>
		<link>http://www.grimmwerks.com/blog/flex/ibm-ilog-elixir-3-0-beta%c2%a0%c2%a0riagora/</link>
		<comments>http://www.grimmwerks.com/blog/flex/ibm-ilog-elixir-3-0-beta%c2%a0%c2%a0riagora/#comments</comments>
		<pubDate>Wed, 19 May 2010 17:38:04 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[data visualization]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.grimmwerks.com/?p=1520</guid>
		<description><![CDATA[Hmm &#8211; this looks interesting:  advanced data vis components for Flex &#8211; Diagram, Timeline, Gauges and Maps with spark-like renderers (mxml). IBM ILOG Elixir 3.0 beta &#124; RIAgora.]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>Hmm &#8211; this looks interesting:  advanced data vis components for Flex &#8211; Diagram, Timeline, Gauges and Maps with spark-like renderers (mxml).</p>
<p><a href="http://www.riagora.com/2010/05/ibm-elixir-3-0-beta/">IBM ILOG Elixir 3.0 beta | RIAgora</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/ibm-ilog-elixir-3-0-beta%c2%a0%c2%a0riagora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Catalyst intro</title>
		<link>http://www.grimmwerks.com/blog/flex/flash-catalyst-intro/</link>
		<comments>http://www.grimmwerks.com/blog/flex/flash-catalyst-intro/#comments</comments>
		<pubDate>Sun, 02 May 2010 14:12:03 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Flex skinning]]></category>

		<guid isPermaLink="false">http://www.grimmwerks.com/?p=1490</guid>
		<description><![CDATA[A few good videos by Doug Winnie showing the steps from inception, wireframing to handing off the UI to a developer: All the episodes can be found here.]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>A few good videos by Doug Winnie showing the steps from inception, wireframing to handing off the UI to a developer:</p>
<p><object width="610" height="367"><param name="movie" value="http://images.tv.adobe.com/swf/player.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="FlashVars" value="fileID=5856&#038;context=481&#038;embeded=true&#038;environment=production"></param><embed src="http://images.tv.adobe.com/swf/player.swf" flashvars="fileID=5856&#038;context=481&#038;embeded=true&#038;environment=production" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="610" height="367"></embed></object></p>
<p>All the episodes can be found <a href="http://tv.adobe.com/show/flash-catalyst-1-1-with-doug-winnie/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/flash-catalyst-intro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3: Labels in Loops&#8230;</title>
		<link>http://www.grimmwerks.com/blog/flex/as3-labels-in-loops/</link>
		<comments>http://www.grimmwerks.com/blog/flex/as3-labels-in-loops/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 17:09:54 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.grimmwerks.com/technology/as3-labels-in-loops/</guid>
		<description><![CDATA[Christian Cantrell showed an example of how to better control nested loops by labeling each of the loops&#8230; very cool, had no idea.]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>Christian Cantrell <a href='http://blogs.adobe.com/cantrell/archives/2009/12/labels_in_actionscript_3.html' >showed an example</a> of how to better control nested loops by labeling each of the loops&#8230; very cool, had no idea.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/as3-labels-in-loops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex: Macros available in html template files</title>
		<link>http://www.grimmwerks.com/blog/flex/flex-macros-available-in-html-template-files/</link>
		<comments>http://www.grimmwerks.com/blog/flex/flex-macros-available-in-html-template-files/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 03:06:09 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://grimmwerks.com/blog/?p=730</guid>
		<description><![CDATA[Mike Morearty, developer of the Flex Builder team listed all the macros available in Flex Builder here: http://www.morearty.com/blog/2007/01/24/macros-that-are-available-in-html-template-files/ ${project} The name of the project, e.g. MyProject. ${application} The name of the application, e.g. MyApp. ${version_major} The major version number of the version of Flash that is required to run this app, e.g. 9 for version [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>Mike Morearty, developer of the Flex Builder team listed all the macros available in Flex Builder here:<br />
<a href="http://www.morearty.com/blog/2007/01/24/macros-that-are-available-in-html-template-files/">http://www.morearty.com/blog/2007/01/24/macros-that-are-available-in-html-template-files/</a></p>
<p><span id="more-730"></span><br />
<code><br />
${project}<br />
The name of the project, e.g. MyProject.<br />
${application}<br />
The name of the application, e.g. MyApp.<br />
${version_major}<br />
The major version number of the version of Flash that is required to run this app, e.g. 9 for version 9.0 r28. You can change this and the other ${version_...} macros by going to Project &gt; Properties, then â??Flex Compilerâ? or â??ActionScript Compiler,â? and then changing the player version number in the â??HTML wrapperâ? section.<br />
${version_minor}<br />
The minor version number of the version of Flash that is required to run this app, e.g. 0 for version 9.0 r28.<br />
${version_revision}<br />
The revision number of the version of Flash that is required to run this app, e.g. 28 for version 9.0 r28.<br />
${build_suffix}<br />
This is equal to "-debug" when building the debug version of the SWF, and "" when building the release version.<br />
${swf}<br />
The name of the SWF, not including the .swf extension, e.g. MyApp or MyApp-debug. This is essentially a convenience macro which is equivalent to ${application}${build_suffix}.<br />
${bgcolor}<br />
The background color of the application, as specified in the backgroundColor attribute of the  tag, or, in the case of ActionScript-only projects, in the backgroundColor field of the [SWF] metadata attribute of the main application class, e.g. [SWF(backgroundColor="#ffffff")] public class MyApp extends Sprite (see this post for more information on setting the width, height, and background color of an ActionScript project). The result is in the form #rrggbb, e.g. #ffffff. This can actually be a little tricky to use, because by default, the background of a Flex app is actually a gentle gradient from one color to another; if you want the HTML background to match the background of your Flex app, you may need to fiddle with both the backgroundColor and backgroundGradientColors attributes of the  tag.<br />
${width}<br />
The width of the application, as specified in the width attribute of the  tag, or, in the case of ActionScript-only projects, in the width field of the [SWF] metadata attribute of the main application class, e.g. [SWF(width="300", height="400")] public class MyApp extends Sprite.<br />
${height}<br />
The height of the application, as specified in the height attribute of the  tag, or, in the case of ActionScript-only projects, in the height field of the [SWF] metadata attribute of the main application class, e.g. [SWF(width="300", height="400")] public class MyApp extends Sprite.<br />
${title}<br />
The title of the application, as specified in the pageTitle attribute of the  tag, or, in the case of ActionScript-only projects, in the pageTitle field of the [SWF] metadata attribute of the main application class, e.g. [SWF(pageTitle="flex r00lz")] public class MyApp extends Sprite.<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/flex-macros-available-in-html-template-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice To Meet You Catalyst*</title>
		<link>http://www.grimmwerks.com/blog/flex/nice-to-meet-you-catalyst/</link>
		<comments>http://www.grimmwerks.com/blog/flex/nice-to-meet-you-catalyst/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 12:22:29 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Catalyst]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://grimmwerks.com/blog/?p=592</guid>
		<description><![CDATA[* this is not overheard at a Superhero convention.]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>* this is not overheard at a Superhero convention.  <object width="560" height="340" data="http://www.youtube.com/v/tNAde32pWT0&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/tNAde32pWT0&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/nice-to-meet-you-catalyst/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gumbo == Flash Builder</title>
		<link>http://www.grimmwerks.com/blog/flex/gumbo-flash-builder/</link>
		<comments>http://www.grimmwerks.com/blog/flex/gumbo-flash-builder/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 12:35:56 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex skinning]]></category>
		<category><![CDATA[gumbo]]></category>

		<guid isPermaLink="false">http://grimmwerks.com/blog/?p=558</guid>
		<description><![CDATA[Adobe recently announced that Flex will now be known by Flash Builder; my feelings about this are mixed however.Â  There were many times I had to explain the differences between Flex and Flash (and, saying &#8216;Flash&#8217; in that sentence I mean the capital &#8216;F&#8217; Flash CS4 authoring vs the little &#8216;f&#8217; flash which is the [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p><a rel="shadowbox[f4]&quot;" href="http://grimmwerks.com/blog/wp-content/uploads/2009/06/flex4-splash.jpg"><img class="alignnone size-thumbnail wp-image-559" title="Flash Builder / Flex 4 / Gumbo" src="http://grimmwerks.com/blog/wp-content/uploads/2009/06/flex4-splash-50x50.jpg" alt="Flash Builder / Flex 4 / Gumbo" width="50" height="50" /></a></p>
<p>Adobe recently announced that Flex will now be known by Flash Builder; my feelings about this are mixed however.Â  There were many times I had to explain the differences between Flex and Flash (and, saying &#8216;Flash&#8217; in that sentence I mean the capital &#8216;F&#8217; Flash CS4 authoring vs the little &#8216;f&#8217; flash which is the compiled output), as well as explain in the end that there really WAS no difference as it was all flash in the end (note the little &#8216;f&#8217;).</p>
<p><span id="more-558"></span></p>
<p>But at the same time being an old Macromedia Director developer who remembers when Flash was still FutureSplash, was part of the Flash 3 and 4 beta team and was one of the first using Flash inside of Director for my work for Marvel &#8212; I still shy away from saying I &#8216;do Flash&#8217;.  Why? Because my experience with Flash (big &#8216;F&#8217;) as an authoring environment has been painful to say the least.Â  FutureSplash originally was just a little vector graphics drawing and animation package; there was never really any room for any scripting other than the most simplest imaginable.  When Macromedia bought it and renamed it Flash, Actionscript 1 was things like the old &#8216;goto(20)&#8217; stuff; Flash was still very much an animations package and tied down to the use of a timeline.  Even coming from Director &#8211; where one could use the MessageWindow to create objects in memory and manipulate them without ever committing anything to a script as such (and common now with things like Ruby and the irb) Flash seemed like a step BACKWARDS.  Director had objects &#8211; Flash didn&#8217;t.  Director had bitmaps. Flash didn&#8217;t. Vector graphics? Really? Why then was Photoshop the standard and Illustrator not so much?</p>
<p>But for the web, Flash started to grow, to overtake it&#8217;s big brother. Now I could go off on Macromedia&#8217;s choices in this and why this happened (the difference with the plugin installs, Director&#8217;s unfocus in regards to platform, it&#8217;s shirking of really interesting technologies such as Beatnik which I have strong opinions about, how Macromedia just kept glomming onto a busted engine without re-writing it) but irregardless of grandpa&#8217;s tirades, it DID happen.  Flash became the standard, and I left Director behind. But it was painful; having seen what an (almost real) programming tool could offer, Flash 4/MX/CS3 was just&#8230;urrrgh.</p>
<p>But then I picked up Flex and it was &#8230;. different. In some ways I&#8217;d say it was BETTER than Director &#8212; ok in a LOT of ways. Here was a true programming language (either with ActionScript3 or MXML), and EXTENSIBLE in ways that Director never was. A real skinnable interface.  Things that originally were first in Director (bitmapData) were now in Flash.  Now once in awhile I do still miss the MessageWindow but on the whole, I&#8217;ve drunk the Kool Aid and found that it was good&#8230;</p>
<p>At AdobeMax in 2007 I got to see what was coming &#8211; Gumbo (Flex 4) looked fantastic, and Thermo took photoshop and allowed designers to add the rudimentary logic to an interface. I&#8217;ve been waiting&#8230;</p>
<p>And so Gumbo &#8212; I&#8217;m sorry, Flex 4 &#8212; I&#8217;m sorry, Flash Builder beta has just been released.  And I&#8217;m still drinking the Kool Aid.  I&#8217;ve had a little bit of a poke around it today (I&#8217;ve got work I gotta do!) and there are some really cool things I&#8217;ve found..</p>
<p>First off, while scripting I found you were given hints and additional information while adding components; this will save time if a developer just needs some quick information rather than have them open up the full help. Another huge time saver is having the IDE generate additional functions automatically either while scripting or in a component&#8217;s properties window for all the scriptable items.</p>
<p><a rel="shadowbox[f4]" href="http://grimmwerks.com/blog/wp-content/uploads/2009/06/info.jpg"><img class="alignnone size-thumbnail wp-image-562" title="info" src="http://grimmwerks.com/blog/wp-content/uploads/2009/06/info-50x50.jpg" alt="info" width="50" height="50" /></a><a rel="shadowbox[f4]" href="http://grimmwerks.com/blog/wp-content/uploads/2009/06/generate.jpg"><img class="alignnone size-thumbnail wp-image-563" title="generate" src="http://grimmwerks.com/blog/wp-content/uploads/2009/06/generate-50x50.jpg" alt="generate" width="50" height="50" /></a><a rel="shadowbox[f4]" href="http://grimmwerks.com/blog/wp-content/uploads/2009/06/props.jpg"><img class="alignnone size-thumbnail wp-image-564" title="props" src="http://grimmwerks.com/blog/wp-content/uploads/2009/06/props-50x50.jpg" alt="props" width="50" height="50" /></a></p>
<p>Themes are huge as well &#8211; especially after developers like Juan Sanchez of <a href="http://www.scalenine.com">ScaleNine</a> and <a href="http://www.degrafa.org/">Degrafa</a> fame brought Flex&#8217;s skinning engine the attention it deserved.Â  Though I really don&#8217;t like the new default &#8216;spark&#8217; theme (it seems like we&#8217;ve gone back in time to retro computer land) support for the extension, creation and packaging of themes are stronger than ever.Â  Working hand in hand with Flash Catalyst the skins output can be selected with Flash Builder&#8217;s new theme browser, with single items still being customizable.</p>
<p><a rel="shadowbox[f4]" href="http://grimmwerks.com/blog/wp-content/uploads/2009/06/themes1.jpg"><img class="alignnone size-thumbnail wp-image-569" title="themes1" src="http://grimmwerks.com/blog/wp-content/uploads/2009/06/themes1-50x50.jpg" alt="themes1" width="50" height="50" /></a><a rel="shadowbox[f4]" href="http://grimmwerks.com/blog/wp-content/uploads/2009/06/themes2.jpg"><img class="alignnone size-thumbnail wp-image-570" title="themes2" src="http://grimmwerks.com/blog/wp-content/uploads/2009/06/themes2-50x50.jpg" alt="themes2" width="50" height="50" /></a></p>
<p>I&#8217;ve yet to really play yet though; I want to dive into the CSS support; I was confused by the previous incarnation of Gumbo&#8217;s CSS editor &#8212; it seemed as if one couldn&#8217;t get to the visual representation of the ui elements as one could in Flex 3, but it might have been my bunglings&#8230; I had a weird issue with this version of Gumbo &#8211; the Flash Builder beta &#8212; when &#8216;tab&#8217; wasn&#8217;t finishing the autocomplete, but was instead tabbing out of eclipse, but again, suppose that was my fault as well&#8230;</p>
<p>Strangely enough, I&#8217;d probably have more time for play from work if I was using &#8216;Flash Builder&#8217; &#8211; as I&#8217;m dealing with skinning issues in Flex 3. The universe mocks me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/gumbo-flash-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Abercrombie and Fitch: Crestron and Flex</title>
		<link>http://www.grimmwerks.com/blog/flex/abercrombie-and-fitch-crestron-and-flex/</link>
		<comments>http://www.grimmwerks.com/blog/flex/abercrombie-and-fitch-crestron-and-flex/#comments</comments>
		<pubDate>Wed, 27 May 2009 19:08:07 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[crestron]]></category>
		<category><![CDATA[Flex skinning]]></category>

		<guid isPermaLink="false">http://grimmwerks.com/blog/?p=254</guid>
		<description><![CDATA[A quick test of the current Flex interface for iDesign communicating to the Creston control system 2 states away.. Using the Flash Crestron SDK, no longer is e-Control tied to a windows only system. Created in such a way that the subcomponents listen for their own joins, the Flex UI loads in the XML that [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>A quick test of the current Flex interface for <a href="http://www.avdesignengineer.com/">iDesign</a> communicating to the Creston control system 2 states away..<span id="more-254"></span><br />
Using the <a href="http://www.crestron.com/products/show_products.asp?jump=1&amp;model=SDK-F">Flash Crestron SDK</a>, no longer is e-Control tied to a windows only system. Created in such a way that the subcomponents listen for their own joins, the Flex UI loads in the XML that is created by the installer and displays the proper devices listening on the system.
</p>
<p><!--more--></p>
<p>
The amp audio channel templates are programmed in such a way that it is repeated for the amount of audio channels the amplifier has; iDesign created the joins in such a way that the channels are iterated 21+ for every channel so that the system can &#8216;find&#8217; itself.
</p>
<p>Added more flexified goodness for the Flex to Crestron interface I&#8217;m building for Abercrombie and Fitch that I described <a href="http://grimmwerks.com/blog/work/052009-abercrombie-and-fitch-for-idesign/">here</a>.I have to say, being an old Macromedia Director guyÂ  that migrated to Flash (grumpily as the world did) I find Adobe Flex to be &#8230;well&#8230; it&#8217;s a joy to work with; I&#8217;ve actually become very excited about coding again.</p>
<p><object width="610" height="481" data="http://www.youtube.com/v/VS_yP3pA8G8&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/VS_yP3pA8G8&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6" /><param name="allowfullscreen" value="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/abercrombie-and-fitch-crestron-and-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Papervision 3d in Flex</title>
		<link>http://www.grimmwerks.com/blog/flex/papervision-3d-in-flex/</link>
		<comments>http://www.grimmwerks.com/blog/flex/papervision-3d-in-flex/#comments</comments>
		<pubDate>Mon, 25 May 2009 15:12:11 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[papervision3d]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://grimmwerks.com/blog/?p=257</guid>
		<description><![CDATA[Have to say it&#8217;s quite fun &#8212; sort of reminds me of the old Director3d &#8212; or at the least the stuff that Barry Swan was coding as billboards before Director added true 3d support. I&#8217;m writing a class for it for a sort of flipping card interface; I&#8217;ve seen this done before in Flash [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>Have to say it&#8217;s quite fun &#8212; sort of reminds me of the old Director3d &#8212; or at the least the stuff that Barry Swan was coding as billboards before Director added true 3d support.</p>
<p><a href="http://s3.amazonaws.com/trailer_test/trailer_pv3d.html" rel="shadowbox;width=988;height=356" title="Papervision 3d Video Player"><img src="http://grimmwerks.com/wp-content/uploads/2009/05/trailer_pv3d.jpg" alt="Papervision 3d Video Player" title="Papervision 3d Video Player" width="560" height="225" /></a></p>
<p>I&#8217;m writing a class for it for a sort of flipping card interface; I&#8217;ve seen this done before in Flash but not in Flex (if anyone has examples, feel free to send them my way).</p>
<p>Click the above image to launch it in a new window from it&#8217;s home on Amazon S3; for the time being it&#8217;s a bit large. Once I finish debugging I&#8217;ll post an example here.</p>
<p><strong>Note</strong>: Flash does seem to play much slower in the lightbox; click on the top right video tab to see the 3d action.. it really seems to chug in the iframe.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/papervision-3d-in-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How I Love You Flex</title>
		<link>http://www.grimmwerks.com/blog/flex/how-i-love-you-flex/</link>
		<comments>http://www.grimmwerks.com/blog/flex/how-i-love-you-flex/#comments</comments>
		<pubDate>Sun, 17 May 2009 13:20:33 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[crestron]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[sockets]]></category>

		<guid isPermaLink="false">http://grimmwerks.com/blog/?p=72</guid>
		<description><![CDATA[I&#8217;m working on a Flex front end talking to a Crestron backend &#8211; and one of the things we&#8217;re doing is creating templates of different devices, one being a family of Crown amplifiers, each of which might have 2, 4 or 8 channels of audio to display. Each channel starts out with a Crestron join, [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>I&#8217;m working on a Flex front end talking to a Crestron backend &#8211; and one of the things we&#8217;re doing is creating templates of different devices, one being a family of Crown amplifiers, each of which might have 2, 4 or 8 channels of audio to display. Each channel starts out with a Crestron join, but the next channel up it&#8217;s join begins at 21+ from the previous channel&#8217;s (if you know Crestron you&#8217;ll know what I mean).</p>
<p><img class="alignnone" style="margin: 10px;" src="/wp-content/uploads/2009/05/channels.jpg" alt="" width="610" height="396" /></p>
<p><span id="more-72"></span></p>
<p>What I love about the extensibility of Flex and it&#8217;s MXML Components: I&#8217;ve created one channel with all it&#8217;s internal joins as private properties. The parent amp template has only one property it needs to keep track of &#8211; channelCount &#8211; and I instantiate channels on the fly and only tell them their channel &#8211; both to display information (ie <strong>&#8216;Channel 1&#8242;</strong>) but also so each channel can remap it&#8217;s internal joins to send and receive the correct information &#8211; ie (channel-1) * 21 basically gives each channel&#8217;s subitem it&#8217;s join. All they have to do now is listen to the Singleton I&#8217;ve created for communicating to Crestron and they get their values by the event broadcast. Very cool.  Also have to add I love how easy it is to make things pretty. Just these few lines:</p>
<p><img class="alignnone" style="margin: 10px;" src="/wp-content/uploads/2009/05/code.jpg" alt="" width="610" height="273" /></p>
<p>Give me these nicely animated volume controls by merely controlling the height of the mask.</p>
<p><img class="alignnone" style="margin: 30px;" src="/wp-content/uploads/2009/05/big_volume.jpg" alt="" width="411" height="266" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/how-i-love-you-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Rich Text Editor exporting xhtml</title>
		<link>http://www.grimmwerks.com/blog/flex/flex-rich-text-editor-exporting-xhtml/</link>
		<comments>http://www.grimmwerks.com/blog/flex/flex-rich-text-editor-exporting-xhtml/#comments</comments>
		<pubDate>Sun, 17 May 2009 11:56:42 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://grimmwerks.com/blog/?p=6</guid>
		<description><![CDATA[http://www.axelscript.com/2008/04/02/introducing-acjeditor-its-a-rte/]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p style=\"clear: both\">http://www.axelscript.com/2008/04/02/introducing-acjeditor-its-a-rte/</p>
<p><br class=\"final-break\" style=\"clear: both\" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/flex-rich-text-editor-exporting-xhtml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lovely Lita .. er SQLite Admin*</title>
		<link>http://www.grimmwerks.com/blog/flex/lovely-lita-er-sqlite-admin/</link>
		<comments>http://www.grimmwerks.com/blog/flex/lovely-lita-er-sqlite-admin/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 13:12:35 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[SQLite]]></category>

		<guid isPermaLink="false">http://grimmwerks.com/blog/?p=7</guid>
		<description><![CDATA[* sung to the tune of Â "Lovely Rita" by The Beatles. Â Yeah, ok - doesn't make it any funnier... David Deraedt created this nifty little Air/Flex app for administrating your SQLite databases &#8212; helpful for developing your own Air applications. How very meta.]]></description>
			<content:encoded><![CDATA[<p id="top" />
<pre>* sung to the tune of Â "Lovely Rita" by The Beatles. Â Yeah, ok - doesn't make it any funnier...</pre>
<p><img class="alignnone" src="http://www.dehats.com/drupal/files/pic_web.jpg" alt="" width="300" height="202" /></p>
<p>David Deraedt created <a href="http://www.dehats.com/drupal/?q=node/59">this nifty little Air/Flex app</a> for administrating your SQLite databases &#8212; helpful for developing your own Air applications. How very meta.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/lovely-lita-er-sqlite-admin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex, Limelight and Edge Servers</title>
		<link>http://www.grimmwerks.com/blog/flex/flex-limelight-and-edge-servers/</link>
		<comments>http://www.grimmwerks.com/blog/flex/flex-limelight-and-edge-servers/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 23:04:36 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[limelight]]></category>

		<guid isPermaLink="false">http://grimmwerks.com/blog/?p=43</guid>
		<description><![CDATA[Former Limelight employee John C Bland helps me out with getting Flex to see the live Limelight stream...]]></description>
			<content:encoded><![CDATA[<p id="top" />Diving into programming ScribeLive, the 2.0 version â?? which is being done entirely in Flex â?? Iâ??ve run into the problem of not being able to pull in the Limelight video stream properly.  I was banging my head against the wall â?? since I was capable of pulling in a live stream into Flex from our own FMS server, but any attempt to pull in a stream from Limelight would result in frustration. <span id="more-43"></span></p>
<p>Looking at older code I could see that the FCSubscribe was being polled &#8211; but I couldnâ??t understand why the new code in Flex not using this FCSubscribe would work with our own FMS servers, but not with Limelight.</p>
<p>I tried looking up what the problem could be via google but found nothing. I asked the flexcoders list but was pretty much ignored. Through searching Flex blogs, I found <a href="http://johncblandii.com/">John C Bland II</a>, who recently left Limelight as an AS3 coder.</p>
<p>John was kind enough to explain to me that the real problem was how FCSubscribe works with Edge Servers:</p>
<blockquote><p>A normal FMS install is just a straight up 1 server install. A CDN install uses edge servers which means there is an origin server with many other servers on the â??edgeâ? that communicate back to the origin. In order to connect to the proper stream, an FCSubscribe has to be called. That call basically calls the edge server which does a â??searchâ? to find the stream. Thatâ??s why you have to do the â??timerâ? trick to continuously ping to see if the server found the stream yet. My method isnâ??t a timer. It is with â??connected callsâ?. So, try to connect (subscribe), if it fails, wait 1 second (setInterval) and subscribe, if it fails, wait 1 second again and subscribe. Do that over and over until the maximum amount of connects is reached. Of course before each setInterval I clearInterval so I donâ??t have multiple running at once. You get a pretty much immediate response from the server so you can get away with firing off multiple setIntervals/subscribes but it could get hairy. I prefer to try and only try again if it fails (with a 1 second pause between the retries).</p></blockquote>
<p>Kind enough to show me some example code, I changed it just a tad to fit in the way I was calling it (and I believe Iâ??ll make it into a subcomponent as part of the cleanup:</p>
<blockquote><p>private var connection:NetConnection;</p>
<p>private var stream:NetStream;</p>
<p>private var video:Video = new Video();</p>
<p>private var vidTimer:Timer;</p>
<p>private var _fcSubscribeCount:int = 0;</p>
<p>private var _fcSubscribeMaxRetries:int = 3;</p>
<p>private var _fcSubscribeInterval:Number;</p>
<p>public function videoInit():void {</p>
<p>connection = new NetConnection();</p>
<p>connection.client = this;</p>
<p>connection.addEventListener(NetStatusEvent.NET_STATUS, videoStatusHandler);</p>
<p>connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, vidSecurityErrorHandler);</p>
<p>connection.connect(streamURL);</p>
<p>}</p>
<p>private function subscribe():void{</p>
<p>connection.call(â?FCSubscribeâ?, null, streamName);</p>
<p>var nsClient:Object = {};</p>
<p>nsClient.onMetaData = ns_onMetaData;</p>
<p>}</p>
<p>public function onFCSubscribe(info:Object):void{</p>
<p>switch(info.code){</p>
<p>case â??NetStream.Play.StreamNotFoundâ?:</p>
<p>clearInterval(_fcSubscribeInterval);</p>
<p>if(_fcSubscribeCount &gt;= _fcSubscribeMaxRetries){</p>
<p>_fcSubscribeCount = 0;</p>
<p>}else{</p>
<p>_fcSubscribeCount++;</p>
<p>//subscribe failed; wait 1 second then try again</p>
<p>_fcSubscribeInterval = setInterval(subscribe, 1000);</p>
<p>}</p>
<p>break;</p>
<p>case â??NetStream.Play.Startâ?:</p>
<p>_fcSubscribeCount = 0;</p>
<p>clearInterval(_fcSubscribeInterval);</p>
<p>connectStream();</p>
<p>break;</p>
<p>}</p>
<p>}</p>
<p>private function videoStatusHandler(event:NetStatusEvent):void {</p>
<p>//Alert.show(event.info.code);</p>
<p>switch (event.info.code) {</p>
<p>case â??NetConnection.Connect.Successâ?:</p>
<p>subscribe();</p>
<p>break;</p>
<p>case â??NetStream.Play.Startâ?:</p>
<p>//Alert.show(â?netstream play startâ?);</p>
<p>break;</p>
<p>case â??NetStream.Play.StreamNotFoundâ?:</p>
<p>//Alert.show(â?Stream not found: â? + streamName);</p>
<p>break;</p>
<p>}</p>
<p>}</p>
<p>private function vidSecurityErrorHandler(event:SecurityErrorEvent):void {</p>
<p>Alert.show(â?securityErrorHandler: â? + event);</p>
<p>}</p>
<p>private function connectStream():void {</p>
<p>var nsClient:Object = {};</p>
<p>nsClient.onMetaData = ns_onMetaData;</p>
<p>stream = new NetStream(connection);</p>
<p>stream.addEventListener(NetStatusEvent.NET_STATUS, videoStatusHandler);</p>
<p>video.attachNetStream(stream);</p>
<p>stream.play(streamName);</p>
<p>stream.client = nsClient;</p>
<p>uic.addChild(video);</p>
<p>uic.addEventListener(ResizeEvent.RESIZE, resizeVideo);</p>
<p>video.width= uic.width;</p>
<p>video.height = uic.height;</p>
<p>}</p>
<p>private function resizeVideo(ev:ResizeEvent):void{</p>
<p>video.width = uic.width;</p>
<p>video.height = uic.height;</p>
<p>}</p></blockquote>
<p>** originally posted at <a href="http://www.scribemedia.org/2008/10/20/flex-limelight-and-edge-servers/">scribemedia</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/flex-limelight-and-edge-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Olap data in Flex 3</title>
		<link>http://www.grimmwerks.com/blog/flex/olap-data-in-flex-3/</link>
		<comments>http://www.grimmwerks.com/blog/flex/olap-data-in-flex-3/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 16:52:05 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://grimmwerks.com/blog/?p=5</guid>
		<description><![CDATA[Interesting video showing how multidimensional data can be compared using the new olap classes in Flex 3; the write up can be foundÂ here.Â Â http://labs.adobe.com/technologies/flex/videos/olap/Â Â Â ]]></description>
			<content:encoded><![CDATA[<p id="top" />Interesting video showing how multidimensional data can be compared using the new olap classes in Flex 3; the write up can be foundÂ <a href="http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_OLAPDataGrid" target="_blank">here</a>.Â <a href="http://labs.adobe.com/technologies/flex/videos/olap/" target="_blank">Â http://labs.adobe.com/technologies/flex/videos/olap/Â </a>Â Â </p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/olap-data-in-flex-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yahoo </title>
		<link>http://www.grimmwerks.com/blog/flex/yahoo/</link>
		<comments>http://www.grimmwerks.com/blog/flex/yahoo/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 02:36:45 +0000</pubDate>
		<dc:creator>grimmwerks</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex skinning]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://grimmwerks.com/blog/?p=31</guid>
		<description><![CDATA[Well, I gotta say Yahoo is really embracing Flash and Flex &#8211; thereâ??s a really good API detailing the new AS3 Maps API for embedding Yahoo maps within a Flex or Flash interface â?? a neat little example is here. Yahoo already has some examples, screencasts and other fun bits. And to think, I was [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />Well, I gotta say Yahoo is really embracing Flash and Flex &#8211; thereâ??s a really good API  detailing the new AS3 Maps API for embedding Yahoo maps within a Flex or Flash interface â?? a neat little example is <a href="http://developer.yahoo.com/flash/maps/examples/flickableMaps/" target="_blank">here</a>.</p>
<p>Yahoo already has some <a href="http://developer.yahoo.com/flash/maps/examples.html" target="_blank">examples</a>, <a href="http://developer.yahoo.com/flash/maps/screencasts.html" target="_blank">screencasts</a> and other <a href="http://developer.yahoo.com/flash/maps/classreference" target="_blank">fun bits</a>.</p>
<p>And to think, I was just visiting Yahoo to grab their latest Flash and Flex <a href="http://developer.yahoo.com/flash" target="_blank">components</a>.</p>
<p>** originally posted on <a href="http://www.scribemedia.org/2008/02/20/yahoo-loves-flex/">scribemedia</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmwerks.com/blog/flex/yahoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

