<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>newschuyl - Flex</title>
			<link>http://www.mischefamily.com/nathan/index.cfm</link>
			<description>a blog by nathan mische</description>
			<language>en-us</language>
			<pubDate>Mon, 06 Sep 2010 20:12:14-0400</pubDate>
			<lastBuildDate>Mon, 01 Mar 2010 21:34:00-0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>nmische@gmail.com</managingEditor>
			<webMaster>nmische@gmail.com</webMaster>
			
			<item>
				<title>AMF Explorer 0.6</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/3/1/AMF-Explorer-06</link>
				<description>
				
				This evening I released &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/78928&quot; target=&quot;_blank&quot;&gt;AMF Explorer 0.6&lt;/a&gt;. This version adds a custom binary cache that should fix issues some users were seeing with AMF response deserialization. I&apos;m still waiting for AMO public approval, so if you are using AMF Explorer you will need to manually update the add-on from the AMO site. Please be sure to report any issues to the &lt;a href=&quot;http://amfexplorer.riaforge.org/index.cfm?event=page.issues&quot; target=&quot;_blank&quot;&gt;AMF Explorer bug tracker at RIAForge&lt;/a&gt;. Thanks. 
				</description>
				
				<category>Flash</category>				
				
				<category>Tools</category>				
				
				<category>AMF Explorer</category>				
				
				<category>Flex</category>				
				
				<pubDate>Mon, 01 Mar 2010 21:34:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/3/1/AMF-Explorer-06</guid>
				
			</item>
			
			<item>
				<title>AMF Explorer 0.5</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/2/23/AMF-Explorer-05</link>
				<description>
				
				I&apos;ve released a few updates to AMF Explorer over the last week or so. Improvements include support for small messages, better formatting, and better error messages. You can get the latest from the &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/78928&quot;&gt;&lt;acronym title=&quot;addons.mozilla.org&quot;&gt;AMO&lt;/acronym&gt; site&lt;/a&gt;.

Unfortunately automatic updates are not enabled because AMF Explorer has yet to go public. If you are using AMF Explorer please consider taking the time to register and review the add-on on &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/78928&quot;&gt;the &lt;acronym title=&quot;addons.mozilla.org&quot;&gt;AMO&lt;/acronym&gt; site&lt;/a&gt; as this will help with &lt;a href=&quot;https://addons.mozilla.org/en-US/developers/docs/policies/reviews&quot;&gt;the &lt;acronym title=&quot;addons.mozilla.org&quot;&gt;AMO&lt;/acronym&gt; review process&lt;/a&gt;. Once the add-on is public it will be easier to find and install as it will not be marked as experimental and automatic updates will be enabled. Thanks! 
				</description>
				
				<category>Flash</category>				
				
				<category>Tools</category>				
				
				<category>AMF Explorer</category>				
				
				<category>Flex</category>				
				
				<pubDate>Tue, 23 Feb 2010 12:52:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/2/23/AMF-Explorer-05</guid>
				
			</item>
			
			<item>
				<title>Announcing AMF Explorer</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/2/17/Announcing-AMF-Explorer</link>
				<description>
				
				Back in late 2008 the nsITraceableChannel interface was added to the Mozilla browser allowing extension developers to intercept incoming HTTP responses. At that time &lt;a href=&quot;http://www.mischefamily.com/nathan/index.cfm/2008/12/23/Debugging-Flex-with-ColdFire&quot;&gt;I pondered the possibility of adding AMF support to Firebug&lt;/a&gt;, however life got in the way and I never really had time to fully explore what it would take to do this. That is until now. Today I&apos;m happy to announce that I&apos;m finally releasing &lt;a href=&quot;http://amfexplorer.riaforge.org&quot;&gt;AMF Explorer&lt;/a&gt;.  [More]
				</description>
				
				<category>Flash</category>				
				
				<category>Tools</category>				
				
				<category>AMF Explorer</category>				
				
				<category>Flex</category>				
				
				<pubDate>Wed, 17 Feb 2010 11:30:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/2/17/Announcing-AMF-Explorer</guid>
				
			</item>
			
			<item>
				<title>Swiz RPC Library on RIAForge</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2009/11/20/Swiz-RPC-Library-on-RIAForge</link>
				<description>
				
				Just a quick post to let folks know the source for the Swiz RPC Library, as well as the compiled SWC, are now available on RIAForge: &lt;a href=&quot;http://swizrpc.riaforge.org&quot; target=&quot;_blank&quot;&gt;http://swizrpc.riaforge.org&lt;/a&gt;. 
				</description>
				
				<category>SwizRPC</category>				
				
				<category>Swiz</category>				
				
				<category>Frameworks</category>				
				
				<category>Flex</category>				
				
				<pubDate>Fri, 20 Nov 2009 08:45:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2009/11/20/Swiz-RPC-Library-on-RIAForge</guid>
				
			</item>
			
			<item>
				<title>Swiz RPC Library</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2009/11/19/Swiz-RPC-Library</link>
				<description>
				
				A couple of weeks ago &lt;a href=&quot;http://www.firemoss.com/index.cfm/2009/10/23/Swiz-tidbit--RemoteMethodMediator&quot;  target=&quot;_blank&quot;&gt;Joe Rinehart blogged about his RemoteMethodMediator&lt;/a&gt; for Swiz. Like Joe, I&apos;ve found that most of my executeSeviceCall callback methods were just dispatching events via Swiz, so I liked the idea of skipping callbacks completely. However, I didn&apos;t really like Joe&apos;s implementation, so I yesterday I did some playing around and came up with the a &lt;a href=&quot;http://swizrpc.riaforge.org&quot; target=&quot;_blank&quot;&gt;Swiz RPC library&lt;/a&gt;. The library has swiz specific implementations of mx.rpc.remoting.mxml.RemoteObject, mx.rpc.remoting.mxml.Operation, and mx.rpc.CallResponder. These classes can be used in your bean loader in place of the standard mx:RemoteObject, mx:method, and mx:CallResponder tags.  [More]
				</description>
				
				<category>SwizRPC</category>				
				
				<category>Swiz</category>				
				
				<category>Frameworks</category>				
				
				<category>Flex</category>				
				
				<pubDate>Thu, 19 Nov 2009 16:25:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2009/11/19/Swiz-RPC-Library</guid>
				
			</item>
			
			<item>
				<title>Data-Centric Development with ColdFusion 9 and Flash Builder 4</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2009/10/27/DataCentric-Development-with-ColdFusion-9-and-Flash-Builder-4</link>
				<description>
				
				The second part of my Data-Centric Development with ColdFusion 9 and Flash Builder 4 tutorial is up on DZone. This tutorial builds on the project introduced in part one of the series and covers the new paging and client-side data management features available in Flash Builder 4. 

&lt;a href=&quot;http://ria.dzone.com/articles/flash-remoting-coldfusion-part2&quot; target=&quot;_blank&quot;&gt;Data-Centric Development with ColdFusion 9 and Flash Builder 4 - Part 2
&lt;/a&gt;

If you want to find out even more about these seriously cool features be sure to check out the following links:

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://help.adobe.com/en_US/Flex/4.0/html/WSc64e9ead1f0e66f01461ea43120da38f3b6-8000.html&quot; target=&quot;_blank&quot;&gt;Adobe Flex 4: Accessing data with Flex&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://help.adobe.com/en_US/Flex/4.0/html/WS537d51d90f827e7779748cff12133ecc866-8000.html&quot; target=&quot;_blank&quot;&gt;Adobe Flex 4: Tutorials&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://sujitreddyg.wordpress.com/2009/06/08/client-side-data-management-using-flash-builder-4/&quot; target=&quot;_blank&quot;&gt;Client Side Data Management using Flash Builder 4&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt; 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>Flex</category>				
				
				<pubDate>Tue, 27 Oct 2009 20:39:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2009/10/27/DataCentric-Development-with-ColdFusion-9-and-Flash-Builder-4</guid>
				
			</item>
			
			<item>
				<title>Data-Centric Development with ColdFusion 9 and Flash Builder 4</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2009/10/12/DataCentric-Development-with-ColdFusion-9-and-Flash-Builder-4</link>
				<description>
				
				I just posted the first of a two part tutorial over on DZone which walks through using some of the new data-centric development (DCD) features in Flash Builder 4 with ColdFusion 9. 

&lt;a href=&quot;http://ria.dzone.com/articles/flash-remoting-and-coldfusion&quot;&gt;Data-Centric Development with ColdFusion 9 and Flash Builder 4 - Part I&lt;/a&gt;

While Flash Builder is still in beta, the DCD features are very impressive and should simplify many ColdFusion/Flex work flows. Please check out the tutorial and let me know what you think. (And be sure to vote it up if you like it!) 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>Flex</category>				
				
				<pubDate>Mon, 12 Oct 2009 21:29:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2009/10/12/DataCentric-Development-with-ColdFusion-9-and-Flash-Builder-4</guid>
				
			</item>
			
			<item>
				<title>New ColdFusion Builder and Flex Builder Betas</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2009/10/5/New-ColdFusion-Builder-and-Flex-Builder-Betas</link>
				<description>
				
				In addition to today&apos;s release of &lt;a href=&quot;http://www.adobe.com/products/coldfusion/&quot;&gt;ColdFusion 9&lt;/a&gt;, ColdFusion Builder Beta 2 and Flex Builder 4 Beta 2 have been released on &lt;a href=&quot;http://labs.adobe.com/&quot;&gt;Adobe Labs&lt;/a&gt;. 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>Flex</category>				
				
				<pubDate>Mon, 05 Oct 2009 10:43:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2009/10/5/New-ColdFusion-Builder-and-Flex-Builder-Betas</guid>
				
			</item>
			
			<item>
				<title>ColdFusion 9: onCFCRequest and Flash Remoting</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2009/8/4/ColdFusion-9-onCFCRequest-and-Flash-Remoting</link>
				<description>
				
				ColdFusion 9 introduced the new &lt;a href=&quot;http://www.bennadel.com/blog/1647-Learning-ColdFusion-9-Application-cfc-OnCFCRequest-Event-Handler-For-CFC-Requests.htm&quot;&gt;onCFCRequest&lt;/a&gt; &lt;a href=&quot;http://www.coldfusionjedi.com/index.cfm/2009/7/13/ColdFusion-9-fixes-onRequest-adds-onCFCRequest&quot;&gt;method&lt;/a&gt;. Unfortunately, this new method breaks Flash Remoting requests. To get around this issue you can resort to a modified version of the &lt;a href=&quot;http://www.coldfusionjedi.com/index.cfm?mode=entry&amp;entry=ED9D4058-E661-02E9-E70A41706CD89724&quot;&gt;old onRequest hack&lt;/a&gt;. If you have an Application.cfc that covers remote components that will be used for Flash Remoting, you can add the following to your onRequestStart method:
&lt;pre&gt;
&lt;code&gt;
    &lt;cffunction name=&quot;onRequestStart&quot;&gt;
        &lt;cfargument name=&quot;targetPage&quot; /&gt;
    
        &lt;cfif findNoCase(&quot;/flex2gateway&quot;,arguments.targetPage) gt 0&gt;
            &lt;cfset structDelete(variables,&quot;onCFCRequest&quot;) /&gt;
            &lt;cfset structDelete(this,&quot;onCFCRequest&quot;) /&gt;
        &lt;/cfif&gt;
    
    &lt;/cffunction&gt;
&lt;/code&gt;
&lt;/pre&gt;
This will remove the onCFCRequest method for the current request and allow your Flash Remoting call to work. (Note: you may need to search for different paths depending on your BlazeDS endpoint configurations. If you don&apos;t know what I&apos;m talking about here you will most likely be fine with the default &quot;/flex2gateway&quot;.) 
				</description>
				
				<category>BlazeDS</category>				
				
				<category>ColdFusion</category>				
				
				<category>Flex</category>				
				
				<pubDate>Tue, 04 Aug 2009 16:41:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2009/8/4/ColdFusion-9-onCFCRequest-and-Flash-Remoting</guid>
				
			</item>
			
			<item>
				<title>Using Secure AMF Channels in Swiz</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2009/7/16/Using-Secure-AMF-Channels-in-Swiz</link>
				<description>
				
				This question comes up quite a bit on the Swiz mailing list so I thought I&apos;d write a blog post on how I handle this. For those new to Swiz, one very cool feature of the framework is the DynamicChannelSet wich allows you to remove the dependency on services-config.xml. Here is an example, from the Swiz docs, of how you would use DynamicChannelSet in your Bean Loader:  [More]
				</description>
				
				<category>Frameworks</category>				
				
				<category>Flex</category>				
				
				<pubDate>Thu, 16 Jul 2009 10:11:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2009/7/16/Using-Secure-AMF-Channels-in-Swiz</guid>
				
			</item>
			
			<item>
				<title>ColdFusion 9: Flex Improvements</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2009/7/15/ColdFusion-9-Flex-Improvements</link>
				<description>
				
				With the release of the ColdFusion 9 beta I thought I&apos;d share a few of the Flex integration improvements I&apos;ve been checking out this week. First, ColdFusion 9 now uses Blaze DS to power Flex remoting and messaging. ColdFusion has had remoting support for several versions, but before CF 9 you had to install LCDS or BlazeDS to get Flex messaging. With the move to Blaze DS there is no longer an integrated LCDS Express installation option, so if you want RTMP or data services you will have to buy a separate LCDS license or install the free LiveCycle Data Services ES Single-CPU License version yourself. I know some people feel this is a loss but I&apos;m pretty happy having messaging available out of the box, without the single CPU limitation.  [More]
				</description>
				
				<category>BlazeDS</category>				
				
				<category>ColdFusion</category>				
				
				<category>Flex</category>				
				
				<pubDate>Wed, 15 Jul 2009 14:20:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2009/7/15/ColdFusion-9-Flex-Improvements</guid>
				
			</item>
			
			<item>
				<title>CFEventGatewayAdapter and Selectors</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2009/4/28/CFEventGatewayAdapter-and-Selectors</link>
				<description>
				
				Lately I&apos;ve been doing a lot of work with Flex messaging using ColdFusion and BlazeDS. Recently I was trying to get &lt;a href=&quot;http://livedocs.adobe.com/blazeds/1/blazeds_devguide/messaging_6.html&quot; target=&quot;_blank&quot;&gt;message filtering&lt;/a&gt; working using the Flex Consumer component&apos;s selector property. After a few false starts I found that I just couldn&apos;t get selectors to work using either BlazeDS or LCDS.  [More]
				</description>
				
				<category>BlazeDS</category>				
				
				<category>ColdFusion</category>				
				
				<category>Flex</category>				
				
				<pubDate>Tue, 28 Apr 2009 15:49:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2009/4/28/CFEventGatewayAdapter-and-Selectors</guid>
				
			</item>
			
			<item>
				<title>BlazeDS Consumer Selector Gotcha</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2009/4/14/BlazeDS-Consumer-Selector-Gotcha</link>
				<description>
				
				When working with Flex messaging, a Consumer component can filter the messages it receives using a &lt;a href=&quot;http://livedocs.adobe.com/blazeds/1/blazeds_devguide/messaging_6.html&quot; target=&quot;_blank&quot;&gt;selector&lt;/a&gt;. The selector uses SQL 92 syntax to filter against message headers, so if my messages contained a header named roomID I could write something like:

&lt;code&gt;
    myConsumer.selector = &quot;roomID = 1&quot;;
&lt;/code&gt;

The problem I ran into today was that I wanted to filter on multiple values using an IN clause, however when I tried to do the following I got no messages:

&lt;code&gt;
    myConsumer.selector = &quot;roomID IN (1,2,3)&quot;;
&lt;/code&gt;

Turns out that I needed to modify my IN statement to filter for string values as opposed to numeric values:

&lt;code&gt;
    myConsumer.selector = &quot;roomID IN (&apos;1&apos;,&apos;2&apos;,&apos;3&apos;)&quot;;
&lt;/code&gt;

This was a little confusing because I was able to filter on single values using numeric values, as in my first example above, but filtering on multiple values required string values. I&apos;m using BlazeDS with ColdFusion, so I&apos;m not sure if this is specific to my configuration, but if you run into issues trying to filter on numeric values using an IN clause, try using strings instead.

&lt;b&gt;UPDATE:&lt;/b&gt; After further testing I&apos;m not entirely sure that selectors work at all with the ColdFusion Event Gateway Adapter. I&apos;m still trying to work this out, but right now the first example above doesn&apos;t seem to be working for me, even if I check for a string value. If anyone has experience using selectors with CF please let me know... 
				</description>
				
				<category>BlazeDS</category>				
				
				<category>Flex</category>				
				
				<pubDate>Tue, 14 Apr 2009 13:37:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2009/4/14/BlazeDS-Consumer-Selector-Gotcha</guid>
				
			</item>
			
			<item>
				<title>Flex Remoting to CFCs under a Fusebox 5.5.1 Application.cfc</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2009/3/6/Flex-Remoting-to-CFCs-under-a-Fusebox-551-Applicationcfc</link>
				<description>
				
				I recently started using Fusebox again and one issue I ran into was that Flex Remoting calls to CFCs under my Fusebox application were not working. (The application in question used an extended version of Fusebox&apos;s Application.cfc.) To work around the issue I put the remote components under a different, minimal, Application.cfc which used the same name as my main applicaiton. Something like the following:

&lt;code&gt;
&lt;cfcomponent&gt;
    &lt;cfset this.name=&quot;myApp&quot; /&gt;
&lt;/cfcomponent&gt;
&lt;/code&gt;

This fixed the issue, but I was still a little puzzled. It is well know that the Application.cfc onRequest method &lt;a href=&quot;http://www.coldfusionjedi.com/index.cfm?mode=entry&amp;entry=ED9D4058-E661-02E9-E70A41706CD89724&quot;&gt;doesn&apos;t play well with Flex Remoting&lt;/a&gt;, but I looked at Fusebox&apos;s Application.cfc and thought it was handling the issue with the following code in onRequestStart:
&lt;code&gt;
&lt;!--- ensure CFC / Web Service / Flex Remoting calls are not intercepted ---&gt;
&lt;cfif right(arguments.targetPage,4) is &quot;.cfc&quot;&gt;
    &lt;cfset doCompile = false /&gt;
    &lt;cfset structDelete(variables,&quot;onRequest&quot;) /&gt;
    &lt;cfset structDelete(this,&quot;onRequest&quot;) /&gt;
    &lt;cfreturn/&gt;
&lt;/cfif&gt;
&lt;/code&gt;

Well, today I had a little bit of time to look into this and it turns out that for Flex Remoting requests the targetPage is &quot;/flex2gateway,&quot; not the name of the target CFC. It was a bit of a &quot;duh&quot; moment, because if you have ever looked at a services-config.xml file or watched Flex Remoting requests via a proxy like ServiceCapture then you know the URL used is something like http://localhost/flex2gateway. Anyway, to fix the issue I ended up modifing the Fusebox Application CFC code above to the following:

&lt;code&gt;
&lt;cfif right(arguments.targetPage,4) is &quot;.cfc&quot; or findNoCase(&quot;/flex2gateway&quot;,arguments.targetPage) gt 0&gt;
    &lt;cfset doCompile = false /&gt;
    &lt;cfset structDelete(variables,&quot;onRequest&quot;) /&gt;
    &lt;cfset structDelete(this,&quot;onRequest&quot;) /&gt;
    &lt;cfreturn/&gt;
&lt;/cfif&gt;
&lt;/code&gt;

Now I no longer need to remember to add a custom Application.cfc for remote CFCs.

It is important to note that Flash Remoting can be configured to use any URL, but this at least covers the default configuration for ColdFusion. 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>Frameworks</category>				
				
				<category>Flex</category>				
				
				<pubDate>Fri, 06 Mar 2009 14:55:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2009/3/6/Flex-Remoting-to-CFCs-under-a-Fusebox-551-Applicationcfc</guid>
				
			</item>
			
			<item>
				<title>Debugging Flex with ColdFire</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2008/12/23/Debugging-Flex-with-ColdFire</link>
				<description>
				
				Recently I went back to doing Flex work and one of the things I immediately missed was ColdFire. So I decided to take a look to see what could be done to get my favorite debugging tool working with CF powered Flex applications. Turns out it wasn&apos;t all that hard. First though, check out the video below to get an idea of what I&apos;m talking about. (Sorry, no sound as I recorded this at work.)  [More]
				</description>
				
				<category>ColdFire</category>				
				
				<category>Tools</category>				
				
				<category>ColdFusion</category>				
				
				<category>Flex</category>				
				
				<pubDate>Tue, 23 Dec 2008 14:24:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2008/12/23/Debugging-Flex-with-ColdFire</guid>
				
			</item>
			</channel></rss>