<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Boyzoid&apos;s Blog &amp; Stuff - Flex Stuff</title>
			<link>http://www.boyzoid.com/blog/index.cfm</link>
			<description>The Ramblings of a ganius</description>
			<language>en-us</language>
			<pubDate>Thu, 09 Sep 2010 08:38:24 -0400</pubDate>
			<lastBuildDate>Tue, 15 Jun 2010 16:02:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>scott@boyzoid.com</managingEditor>
			<webMaster>scott@boyzoid.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>scott@boyzoid.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			<item>
				<title>The Adobe Developer Community Rules!</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2010/6/15/The-Adobe-Developer-Community-Rules</link>
				<description>
				
				&lt;p&gt;Over the last month or so, I sat down to try and write this article several times. Each time, I was so over come with emotion that I simply could not finish it. After the influx of email, Facebook and Twitter messages I have received recently, I decided I need to get this done.&lt;/p&gt;
&lt;p&gt;When I was younger, my father once told me, &amp;quot;If you surround yourself
 with good people, you will never have anything to fear.&amp;quot; I do not think I
 ever really understood what he meant by that until recently.&lt;/p&gt;
&lt;p&gt;The last few months have been some of the most difficult and trying times I have ever experienced. I am not sure how I would have fared without the support of my family, friends and the Adobe developer community. After the death of my father, my family was astounded at the level of support offered to us by people they had never met. More than one of you brought tears to our eyes with your kind words on my father&apos;s online obituary. The donations made by so many have also helped alleviate some stresses as well.&lt;br/&gt;&lt;/p&gt;
&lt;p&gt;The kind words and offers of assistance given the recent news from Alagad have been even more overwhelming. Words are not enough to describe the gratitude I, and my family, feel for everyone who has extended a hand.&lt;/p&gt;
&lt;p&gt;I used to think that the saying &apos;you are judged by the company you keep&apos; was unfair. After the last few months, and seeing how incredible the people I have surrounded myself with truly are, I have started to hope I will be judged by the company I keep, because you guys are an amazing bunch, and I am both honored and humbled to be in your company.&lt;/p&gt;
&lt;p&gt;Even though I feel it does not seem adequate, Thank You, everyone. The Adobe developer community rules!&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>ColdFusion Stuff</category>
				
				<category>Flex Stuff</category>
				
				<category>Alagad Stuff</category>
				
				<category>Other Stuff</category>
				
				<category>Stuff About Me</category>
				
				<pubDate>Tue, 15 Jun 2010 16:02:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2010/6/15/The-Adobe-Developer-Community-Rules</guid>
				
				
			</item>
			
			<item>
				<title>Spam on AllYourFlexAreBelongToUs.com</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2010/2/4/Spam-on-AllYourFlexAreBelongToUscom</link>
				<description>
				
				&lt;p&gt;My good friend, &lt;a href=&quot;http://nodans.com/&quot; target=&quot;_blank&quot;&gt;Dan Wilson&lt;/a&gt;, pointed out to me a short while ago that there was some spam that had made it onto the Flex Blog aggregator, &lt;a href=&quot;http://allyourflexarebelongtous.com&quot; target=&quot;_blank&quot;&gt;All You Flex Are Belong To Us&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;It seems that one of the Feedburner RSS feeds that was being used for one of the blogs was taken over by someone else.  I have updated the feed in question and have deleted the &apos;spam&apos; entries.&lt;/p&gt;
&lt;p&gt;Sorry about any issue this may have caused.&lt;/p&gt; 
				</description>
				
				<category>Flex Stuff</category>
				
				<pubDate>Thu, 04 Feb 2010 12:10:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2010/2/4/Spam-on-AllYourFlexAreBelongToUscom</guid>
				
				
			</item>
			
			<item>
				<title>AllYourFlexAreBelongToUs Contact Form Issues</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2009/6/9/AllYourFlexAreBelongToUs-Contact-Form-Issues</link>
				<description>
				
				&lt;p&gt;I hate to say this, but if you sent a message via the contact form at &lt;a href=&quot;http://allyourflexarebelongtous.com&quot;&gt;AllYourFlexAreBelongToUs&lt;/a&gt; over the last few months, I just now got the messages and fulfilled any requests to have feeds added.&#xa0;&lt;/p&gt;
&lt;p&gt;I chalk this up to a change in mail servers, a rogue rule in my email client and my own inattentiveness causing me to miss the messages.&#xa0; If you sent a request to have your feed added and you do not see it show up on the feed list tonight, please let me know.&lt;/p&gt;
&lt;p&gt;Sorry for any confusion or frustration.&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>Flex Stuff</category>
				
				<pubDate>Tue, 09 Jun 2009 20:09:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2009/6/9/AllYourFlexAreBelongToUs-Contact-Form-Issues</guid>
				
				
			</item>
			
			<item>
				<title>Help Me Help a Friend</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2009/1/16/Help-Me-Help-a-Friend</link>
				<description>
				
				&lt;p&gt;Sometime around the New Year, Joe Rinehart&apos;s wife, Dale, was diagnosed with Multiple Sclerosis (MS).&#xa0; For those who do not know Joe, he is the author of Model-Glue and a tremendous asset to the ColdFusion community.&lt;/p&gt;
&lt;p&gt;Myself and several other members of the ColdFusion community decided that we wanted to pool our resources and try to help offset some of the large medical bills Joe and Dale will surely begin to receive.&lt;/p&gt;
&lt;p&gt;If you would like to help us help Joe and Dale, please visit &lt;a href=&quot;http://www.helpsupportjoeanddale.com/&quot; target=&quot;_blank&quot;&gt;http://www.helpsupportjoeanddale.com/&lt;/a&gt; and make a small donation.&lt;/p&gt;
&lt;p&gt;Thanx in advance!&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>ColdFusion Stuff</category>
				
				<category>Flex Stuff</category>
				
				<pubDate>Fri, 16 Jan 2009 11:57:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2009/1/16/Help-Me-Help-a-Friend</guid>
				
				
			</item>
			
			<item>
				<title>What Music Puts You In The Zone?</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2008/5/21/What-Music-Puts-You-In-The-Zone</link>
				<description>
				
				&lt;p&gt;Recently, my wife&apos;s desktop was acting up and for about 2 days I was unable to play music while I was working.&#xa0; I forgot how difficult it is for me to code in silence (or near silence).&#xa0; This got me thinking, when I need to focus and just crank out code, there is a certain album I listen to, James Taylor LIve (CD1 and CD2). For some reason, that album always puts me in the zone and I can code like a madman.&lt;/p&gt;
&lt;p&gt;So, when you need to be heads down, and crank out code like its no body&apos;s business, what do you listen to?&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>ColdFusion Stuff</category>
				
				<category>Flex Stuff</category>
				
				<pubDate>Wed, 21 May 2008 15:55:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2008/5/21/What-Music-Puts-You-In-The-Zone</guid>
				
				
			</item>
			
			<item>
				<title>Hey big boy, want to see my Iron Man?</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2008/4/15/Hey-big-boy-want-to-see-my-Iron-Man</link>
				<description>
				
				&lt;p&gt;&lt;a href=&quot;http://cfobjective.com/index.cfm&quot;&gt;CF.Objective()&lt;/a&gt; starts in a few weeks on May 1. Coincidentally &lt;a href=&quot;http://www.apple.com/trailers/paramount/ironman/&quot;&gt;Iron Man&lt;/a&gt; is being released the following day. If you would be interested in seeing the movie with some of your favorite (or maybe not so favorite) ColdFusion geeks, leave a comment here, and be sure to subscribe.&#xa0; I will post details of when and where we will be going to see the movie.&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>ColdFusion Stuff</category>
				
				<category>Flex Stuff</category>
				
				<pubDate>Tue, 15 Apr 2008 11:25:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2008/4/15/Hey-big-boy-want-to-see-my-Iron-Man</guid>
				
				
			</item>
			
			<item>
				<title>Do You Have Mad (or even just slightly irked) Design Skills?</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2008/3/26/Do-You-Have-Mad-or-even-just-slightly-irked-Design-Skills</link>
				<description>
				
				&lt;p&gt;A while back I launched &lt;a href=&quot;http://allyourflexarebelongtous.com/&quot;&gt;AllYourFlexAreBelongToUs.com&lt;/a&gt;, a Flex blog aggregator. So far, the sire is doing better than I could have hoped.&#xa0; I am now ready to take the next step.&#xa0; I want to offer &amp;quot;I am aggregated by....&amp;quot; buttons for my aggregatees ( I just now made that up) to add to their sites.&#xa0; There is one big problem, my design skills are...how should I say this...pathetic.&lt;/p&gt;

&lt;p&gt;If you have design skills that surpass a 4 year-old and are willing/able to help out, it would be much appreciated.&#xa0; The only thing I ask is that the buttons stay true to the color scheme on the &lt;a href=&quot;http://allyourflexarebelongtous.com/&quot;&gt;site&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;What&apos;s in it for you?&#xa0; Well, honestly, I don&apos;t have much to offer except my never ending gratitude and credit for designing the buttons.&#xa0; But be rest assured your work will be viewed by &lt;span class=&quot;strike&quot;&gt;millions&lt;/span&gt; &lt;span class=&quot;strike&quot;&gt;thousands&lt;/span&gt; &lt;span class=&quot;strike&quot;&gt;hundreds&lt;/span&gt; dozens of people.&lt;/p&gt;

&lt;p&gt;If I happen to get more than one submission, I will probably put it to a public vote as to which one will be used.&lt;/p&gt;

&lt;p&gt;Thanx in advance!&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>Flex Stuff</category>
				
				<pubDate>Wed, 26 Mar 2008 09:36:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2008/3/26/Do-You-Have-Mad-or-even-just-slightly-irked-Design-Skills</guid>
				
				
			</item>
			
			<item>
				<title>PagableArrayCollection Updated</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2008/2/25/PagableArrayCollection-Updated</link>
				<description>
				
				&lt;p&gt;A &lt;a href=&quot;/blog/index.cfm/2007/5/10/Paginate-an-ArrayCollectionthe-easy-way&quot; target=&quot;_blank&quot;&gt;while back&lt;/a&gt;,
I started working on a custom Flex component that would allow for easy
pagination of data in an array collection.&#xa0; I am happy to announce that
I have made quite a few updates, the most obvious being that the
PagableArraycolelction now supports sorting and filtering.&lt;/p&gt;



&lt;p&gt;For more information, get out the &lt;a href=&quot;http://pagableac.riaforge.org/&quot; target=&quot;_blank&quot;&gt;project site&lt;/a&gt; on &lt;a href=&quot;http://www.riaforge.org/&quot; target=&quot;_blank&quot;&gt;RIA Forge.&lt;/a&gt;&#xa0;&lt;/p&gt; 
				</description>
				
				<category>Flex Stuff</category>
				
				<pubDate>Mon, 25 Feb 2008 14:48:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2008/2/25/PagableArrayCollection-Updated</guid>
				
				
			</item>
			
			<item>
				<title>How Do You Set Up Your Development Environment?</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2007/12/14/How-Do-You-Set-Up-Your-Development-Environment</link>
				<description>
				
				&lt;p&gt;We were recently discussing setting up development environments in the #coldfusion channel on DalNet IRC.&#xa0; This is a discussion that pops up form time to time, so I figured I would share how I set up my development environment.&lt;/p&gt;



&lt;p&gt;I use Apache for my development web server, and for each project, I set up a new &apos;virtual host&apos; so that each project can run form its own web root.&#xa0; I really have no good explanation for doing this other than its the way I like running my projects.&#xa0; I give each project a &apos;&lt;font face=&quot;Courier New, Courier, mono&quot;&gt;serverName&lt;/font&gt;&apos; like blog.dev. This just helps me be aware of whether I am on dev or production, and makes it so I have to type less.&lt;br/&gt;&lt;/p&gt;



&lt;p&gt;Then I set up a new entry in my &lt;font face=&quot;Courier New, Courier, mono&quot;&gt;HOSTS&lt;/font&gt; file for blog.dev and point it to 127.0.0.1.&lt;/p&gt;



&lt;p&gt;To make editing &lt;font face=&quot;Courier New, Courier, mono&quot;&gt;httpd.conf&lt;/font&gt; and &lt;font face=&quot;Courier New, Courier, mono&quot;&gt;HOSTS&lt;/font&gt; easier to edit, I set up a project in Eclipse that points to my &lt;font face=&quot;Courier New, Courier, mono&quot;&gt;{apache root}/conf&lt;/font&gt; folder.&#xa0; Inside of that project, I create a linked file to my &lt;font face=&quot;Courier New, Courier, mono&quot;&gt;HOSTS&lt;/font&gt; file.&#xa0; Now from within Eclipse, I can edit my &lt;font face=&quot;Courier New, Courier, mono&quot;&gt;httpd.conf&lt;/font&gt; file and my &lt;font face=&quot;Courier New, Courier, mono&quot;&gt;HOSTS&lt;/font&gt; file.&lt;/p&gt;



&lt;p&gt;I typically will structure my project so that I have a structure that looks similar to:&lt;/p&gt;



&lt;p&gt;&lt;font face=&quot;Courier New, Courier, mono&quot;&gt;{projectRoot}&lt;/font&gt;&lt;br/&gt;&#xa0;&#xa0;&#xa0;&#xa0; &lt;font face=&quot;Courier New, Courier, mono&quot;&gt;flex-src&lt;/font&gt; &lt;em&gt;(if its a Flex project)&lt;br/&gt;&#xa0;&#xa0;&#xa0;&#xa0;&lt;/em&gt;&lt;font face=&quot;Courier New, Courier, mono&quot;&gt;support&lt;/font&gt; &lt;em&gt;(this is where I put project documents, associated files, artwork, etc)&lt;br/&gt;&#xa0;&#xa0;&#xa0;&#xa0; &lt;/em&gt;&lt;font face=&quot;Courier New, Courier, mono&quot;&gt;wwwroot&lt;/font&gt; &lt;em&gt;this is the web root for my project, and where I point Apache to)&lt;/em&gt;&lt;/p&gt;



&lt;p&gt;Obviously, as the project dictates, I will add other sub-directories. Also, when using SVN, &lt;font face=&quot;Courier New, Courier, mono&quot;&gt;{projectRoot}&lt;/font&gt; will typically be the &apos;trunk&apos; of the repo.&lt;br/&gt;&lt;/p&gt;



&lt;p&gt;So, how do you set up your development environment?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;UPDATE: &lt;/strong&gt;Someone asked in the comments for a way to restart Apache from inside Eclipse, well, thanx to Ant, that is very easy.&#xa0; I attached an Ant file to this entry, you can get it from the &apos;Download&apos; link below.&#xa0; Drop this in your {apache root}/conf folder and when you want to restart Apache in Eclipse, right-click the file and choose &apos;Run As.. --&amp;gt; Ant Build&apos; .&#xa0; You may need to change the name of the service.&#xa0; &lt;strong&gt;DISCLAIMER: This is offered as is and I make no warranties.&#xa0; Offer void where prohibited.&lt;/strong&gt;&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>ColdFusion Stuff</category>
				
				<category>Flex Stuff</category>
				
				<pubDate>Fri, 14 Dec 2007 13:11:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2007/12/14/How-Do-You-Set-Up-Your-Development-Environment</guid>
				
				
				<enclosure url="http://www.boyzoid.com/blog/enclosures/restartWin.xml" length="410" type="text/xml"/>
				
			</item>
			
			<item>
				<title>easyMVC - A Lightweight Flex Framework</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2007/12/12/easyMVC--A-Lightweight-Flex-Framework</link>
				<description>
				
				&lt;p&gt;Not too long ago, I started working on a Flex project.&#xa0; The application is not huge, but bigger than anything I have worked on to date.&#xa0; One thing I wanted to do was find a Flex framework to use for the project.&#xa0; I had looked at &lt;a href=&quot;http://labs.adobe.com/wiki/index.php/Cairngorm&quot;&gt;Cairngorm&lt;/a&gt;, &lt;a href=&quot;http://model-glue.com/flex.cfm&quot;&gt;Model-Glue: Flex&lt;/a&gt; and some others.&lt;/p&gt;
&lt;p&gt;During my research, My good friend &lt;a href=&quot;http://www.web-relevant.com/blogs/cfobjective/index.cfm&quot;&gt;Jared&lt;/a&gt; clued me into a lightweight Flex framework, &lt;a href=&quot;http://blog.simb.net/2007/12/05/easymvc-somebody-wrote-another-flex-framework/#comment-2590&quot;&gt;easyMVC&lt;/a&gt;, that &lt;a href=&quot;http://blog.simb.net/&quot;&gt;Simeon Bateman&lt;/a&gt; was working on. It was nothing formal at the time, but Simeon had been using it on some projects.&#xa0; I asked Simeon if he would be willing to share the framework, and he graciously did so.&lt;/p&gt;
&lt;p&gt;I was, and continue to be, amazed at how easy it is to use, and more importantly, how lightweight it is (I think its only 8 classes).&#xa0; It gets out of its own way, there is no perception of creating multiple files that do the same thing, there is no configuration file, it just works, and works well.&#xa0; It was easy to get up to speed using it.&#xa0; I decided to use the framework for my project.&lt;/p&gt;
&lt;p&gt;After using the framework for a bit, I realized that the more I used it, the more I liked it.&#xa0; The more complex the application became, the easier it was to use the framework, and, the more I liked it. In late November/early December, Simeon had mentioned to me that he was going to release the framework publicly and earlier this month made the &lt;a href=&quot;http://blog.simb.net/2007/12/05/easymvc-somebody-wrote-another-flex-framework/#comment-2590&quot;&gt;announcement&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I am very happy Simeon has released the framework publicly as it means there will most likely be support for it in the future.&#xa0; To date, I have not run into any issues where the framework did not allow for something I needed to do.&#xa0; I am not saying its perfect, just that I have not yet hit its limitations.&lt;/p&gt;
&lt;p&gt;Just so everyone understands, I am referring to this &lt;a href=&quot;http://blog.simb.net/2007/12/05/easymvc-somebody-wrote-another-flex-framework/#comment-2590&quot;&gt;easyMVC&lt;/a&gt;, not this &lt;a href=&quot;http://www.tombray.com/category/easymvc/&quot;&gt;EasyMVC&lt;/a&gt;. Unfortunately, the EasyMVC by &lt;a href=&quot;http://www.tombray.com/&quot;&gt;Tom Bray&lt;/a&gt; was not one that appeared on my radar when I was researching frameworks, but it has been added to my list of stuff I need to check out.&lt;br/&gt;&lt;/p&gt;
&lt;p&gt;&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>Flex Stuff</category>
				
				<pubDate>Wed, 12 Dec 2007 22:25:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2007/12/12/easyMVC--A-Lightweight-Flex-Framework</guid>
				
				
			</item>
			
			<item>
				<title>Ping Me!</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2007/10/17/Ping-Me</link>
				<description>
				
				&lt;p&gt;Following on the heels of Ray&apos;s, &lt;a href=&quot;http://www.coldfusionjedi.com/index.cfm/2007/10/17/ColdFusionBloggers-adds-Ping&quot;&gt;announcement&lt;/a&gt;, &apos;ping&apos; is also now available for &lt;a href=&quot;http://www.allyourflexarebelongtous.com/&quot;&gt;All Your Flex Are Belong To Us&lt;/a&gt;.&#xa0;&lt;/p&gt;
&lt;p&gt;To ping AYFABTU, all you need to do is set up your blogging software to ping :&lt;/p&gt;
&lt;p&gt;&lt;font face=&quot;Courier New, Courier, mono&quot;&gt;http://www.allyourflexarebelongtous.com/ping.cfm?BURL={your blog URL}&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Where {your blog URL} matches &lt;em&gt;exactly&lt;/em&gt; as it is stored in the DB.&#xa0; To find out the exact URL we are using, simply look up your blog on the &lt;a href=&quot;http://www.allyourflexarebelongtous.com/feeds.cfm&quot;&gt;Feeds Page&lt;/a&gt;.&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>ColdFusion Stuff</category>
				
				<category>Flex Stuff</category>
				
				<pubDate>Wed, 17 Oct 2007 19:19:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2007/10/17/Ping-Me</guid>
				
				
			</item>
			
			<item>
				<title>AYFABTU Update</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2007/10/15/AYFABTU-Update</link>
				<description>
				
				&lt;p&gt;It seems that some people have been taken aback by the length of the domain name, &lt;a href=&quot;http://www.allyourflexarebelongtous.com/&quot;&gt;AllYouFlexAreBelongToUs.com&lt;/a&gt;, for the new Flex blog aggregator.&#xa0; Well, thanks to Scott Pinkston, fear no more, you can now access &lt;a href=&quot;http://www.allyourflexarebelongtous.com/&quot;&gt;ATFABTU&lt;/a&gt; by using &lt;a href=&quot;http://www.flexbloggers.com/&quot;&gt;flexbloggers.com&lt;/a&gt; as well.&lt;/p&gt;
&lt;p&gt;Thanks, Scott!&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>ColdFusion Stuff</category>
				
				<category>Flex Stuff</category>
				
				<pubDate>Mon, 15 Oct 2007 15:29:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2007/10/15/AYFABTU-Update</guid>
				
				
			</item>
			
			<item>
				<title>New Flex Aggregator</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2007/10/14/New-Flex-Aggregator</link>
				<description>
				
				&lt;p&gt;I would like to announce that I am throwing my hat into the aggregator ring by launching &lt;a href=&quot;http://www.allyourflexarebelongtous.com/index.cfm&quot;&gt;All Your Flex Are Belong To Us&lt;/a&gt;.&#xa0; This aggregator uses the same code base used in &lt;a href=&quot;http://www.coldfusionbloggers.org/&quot;&gt;ColdFusion Bloggers&lt;/a&gt; and will, for now, aggregate blogs which discuss Flex (It&apos;s possible I may add blogs which discuss AIR as well).&#xa0; The code was used with the permission and blessing of &lt;a href=&quot;http://www.coldfusionjedi.com/&quot;&gt;Ray Camden&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I would like to thank Ray and &lt;a href=&quot;http://www.nodans.com/&quot;&gt;Dan Wilson&lt;/a&gt; for helping me come up with the name.&#xa0; I know its a bit long, but I think it is easy to remember.&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>ColdFusion Stuff</category>
				
				<category>Flex Stuff</category>
				
				<pubDate>Sun, 14 Oct 2007 12:10:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2007/10/14/New-Flex-Aggregator</guid>
				
				
			</item>
			
			<item>
				<title>Doing &apos;screenshots&apos; in Flex and sending them to ColdFusion</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2007/9/17/Doing-screenshots-in-Flex-and-sending-them-to-ColdFusion</link>
				<description>
				
				&lt;p&gt;This weekend I was doing some research about capturing &apos;screen shots&apos; of a Flex application, or even specific UI components, and passing the &apos;image&apos; back to the server for processing.&lt;/p&gt;




&lt;p&gt;While there are a few ways to do this, I am going to discuss the &apos;easiest&apos;.&#xa0; Using the JPGEncoder class packaged as part of the &lt;a href=&quot;http://code.google.com/p/as3corelib/&quot;&gt;AS3 CoreLib&lt;/a&gt; on &lt;a href=&quot;http://code.google.com/&quot;&gt;Google Code&lt;/a&gt;. Using this class to encode the data on the client side means that very little needs to be done server side to save the data as an image.&lt;/p&gt;




&lt;p&gt;Its fairly easy to use this encoder to create binary data and pass it to CF.&#xa0; I have set up an example &lt;a href=&quot;/bitmap&quot;&gt;here&lt;/a&gt;. If you enter some text into the text area inside the panel and click &apos;Send Image&apos;, Flex will create a JPG of the panel and send it off to CF.&lt;/p&gt;




&lt;p&gt;Here is a look at some of the code, you can also view the source from the Flex application.&lt;/p&gt;




&lt;p&gt;First, I import the JPGEncoder class. I store a lot of AS libraries and components in one location and add them to the &apos;source path&apos; of my application.&lt;/p&gt;




&lt;p&gt;[code]import com.adobe.images.JPGEncoder;[/code]&lt;/p&gt;




&lt;p&gt;Next, I create a method that converts a UI component into BitmapData.&lt;/p&gt;




&lt;p&gt;[code]private function getBitmapData(target:UIComponent ) : BitmapData&lt;br/&gt;&#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; {&lt;br/&gt;&#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; var bitmapData:BitmapData = new BitmapData(target.width, target.height);&lt;br/&gt;&#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; var matrix:Matrix = new Matrix();&lt;br/&gt;&#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; bitmapData.draw(target, matrix);&lt;br/&gt;&#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; return bitmapData;&lt;br/&gt;&#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; }[/code]&lt;/p&gt;




&lt;p&gt;As you can see, this method can take any UI element as an argument. This method returns the bitmap data of the UI element that was passed in.&lt;br/&gt;&lt;/p&gt;




&lt;p&gt;Next, I create a method that handles calling the above method, and then sends the result to ColdFusion:&lt;/p&gt;




&lt;p&gt;[code]private function sendImage(target:UIComponent):void{&lt;br/&gt;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0; var bitmapData:BitmapData = getBitmapData(target);&lt;br/&gt;&#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; var jpgEncoder:JPGEncoder = new JPGEncoder(90);&lt;br/&gt;&#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; var imgData:ByteArray = jpgEncoder.encode(bitmapData);&lt;br/&gt;&#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; imageService.saveImage(imgData); &#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; &lt;br/&gt;&#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; }[/code]&lt;/p&gt;




&lt;p&gt;This method also takes any UI element and uses it when calling getBitmapData(). It also creates an instance of the JPGEncoder class.&#xa0; The &apos;&lt;font face=&quot;Courier New, Courier, mono&quot;&gt;90&lt;/font&gt;&apos; that is passed into the constructor of JPGEncoder is the &apos;quality&apos; of the resulting JPG.&lt;br/&gt;&lt;/p&gt;




&lt;p&gt;Next we need to create a&amp;lt;mx:remoteObject&amp;gt; to talk to ColdFusion.&lt;/p&gt;




&lt;p&gt;[code]&amp;lt;mx:RemoteObject id=&amp;quot;imageService&amp;quot; showBusyCursor=&amp;quot;true&amp;quot; destination=&amp;quot;ColdFusion&amp;quot; source=&amp;quot;path.to.cfc&amp;quot;&amp;gt;&lt;br/&gt;&#xa0;&#xa0;&#xa0; &amp;lt;mx:method name=&amp;quot;saveImage&amp;quot; result=&amp;quot;onResult(event)&amp;quot; /&amp;gt;&lt;br/&gt;&amp;lt;/mx:RemoteObject&amp;gt;[/code]&lt;/p&gt;




&lt;p&gt;The CFC itself is very simple, it contains 1 method whose only argument is the binary data that is our image.&lt;/p&gt;




&lt;p&gt;[code]&amp;lt;cfcomponent name=&amp;quot;Image Service&amp;quot; displayname=&amp;quot;Image Service&amp;quot; output=&amp;quot;false&amp;quot;&amp;gt;&lt;br/&gt;&#xa0;&#xa0;&#xa0; &amp;lt;cffunction name=&amp;quot;saveImage&amp;quot; access=&amp;quot;remote&amp;quot; output=&amp;quot;false&amp;quot; returntype=&amp;quot;any&amp;quot;&amp;gt;&lt;br/&gt;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0; &amp;lt;cfargument name=&amp;quot;data&amp;quot; type=&amp;quot;binary&amp;quot; required=&amp;quot;true&amp;quot; /&amp;gt;&lt;br/&gt;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0; &amp;lt;cffile action=&amp;quot;write&amp;quot; file=&amp;quot;c:\Temp\flex_image.jpg&amp;quot; output=&amp;quot;#arguments.data#&amp;quot;/&amp;gt;&lt;br/&gt;&#xa0;&#xa0;&#xa0; &amp;lt;/cffunction&amp;gt;&lt;br/&gt;&amp;lt;/cfcomponent&amp;gt;[/code]&lt;/p&gt;




&lt;p&gt;You will see that inside the method all we do is a &amp;lt;cffile&amp;gt; to write the data to a file.&#xa0;&lt;/p&gt;




&lt;p&gt;Lastly, we need some code that will fire off this entire event inside our Flex application.&lt;/p&gt;




&lt;p&gt;[code]&amp;lt;mx:Panel layout=&amp;quot;absolute&amp;quot; id=&amp;quot;panel&amp;quot; title=&amp;quot;My Title&amp;quot; width=&amp;quot;400&amp;quot; height=&amp;quot;400&amp;quot;&amp;gt;&lt;br/&gt;&#xa0;&#xa0;&#xa0; &#xa0;&#xa0;&#xa0; &amp;lt;mx:TextArea left=&amp;quot;5&amp;quot; top=&amp;quot;5&amp;quot; bottom=&amp;quot;5&amp;quot; right=&amp;quot;5&amp;quot;/&amp;gt;&lt;br/&gt;&#xa0;&#xa0;&#xa0; &amp;lt;/mx:Panel&amp;gt;&lt;br/&gt;&#xa0;&#xa0;&#xa0; &amp;lt;mx:Text text=&amp;quot;Enter some text in the text area above and click &apos;Send Image&apos;&amp;quot; /&amp;gt;&lt;br/&gt;&#xa0;&#xa0;&#xa0; &amp;lt;mx:Button label=&amp;quot;Send Image&amp;quot; click=&amp;quot;sendImage(panel)&amp;quot; /&amp;gt;[/code]&lt;/p&gt;




&lt;p&gt;In my &lt;a href=&quot;/bitmap&quot;&gt;online example&lt;/a&gt; I&#xa0; have other code that will open a new browser window and show you the image you just captured.&#xa0; You can view the source by right-clicking the application and slecting &apos;View Source&apos;.&lt;/p&gt;


&lt;p&gt;Using this technique, you can do a screen shot of your entire application, or just individual UI components.&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>ColdFusion Stuff</category>
				
				<category>Flex Stuff</category>
				
				<pubDate>Mon, 17 Sep 2007 11:29:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2007/9/17/Doing-screenshots-in-Flex-and-sending-them-to-ColdFusion</guid>
				
				
			</item>
			
			<item>
				<title>I Have Pownce Invites</title>
				<link>http://www.boyzoid.com/blog/index.cfm/2007/7/27/I-Have-Pownce-Invites</link>
				<description>
				
				&lt;p&gt;I have 7.&#xa0;&#xa0; If your interested, leave a comment, the first 7 (if I even get 7 responses) will get one.&lt;br/&gt;&lt;/p&gt; 
				</description>
				
				<category>ColdFusion Stuff</category>
				
				<category>Flex Stuff</category>
				
				<category>Tech Stuff</category>
				
				<pubDate>Fri, 27 Jul 2007 01:10:00 -0400</pubDate>
				<guid>http://www.boyzoid.com/blog/index.cfm/2007/7/27/I-Have-Pownce-Invites</guid>
				
				
			</item>
			</channel></rss>