<?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>Thanks, Mister! &#187; Flex Builder 3</title>
	<atom:link href="http://www.thanksmister.com/index.php/archive/tag/flex-builder-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thanksmister.com</link>
	<description>Adobe Flex &#38; AIR Development</description>
	<lastBuildDate>Mon, 19 Jul 2010 17:28:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>AIR:  Migrating Expired Certificates using AIR 1.5.3</title>
		<link>http://www.thanksmister.com/index.php/archive/migrating-expired-certificates-air153/</link>
		<comments>http://www.thanksmister.com/index.php/archive/migrating-expired-certificates-air153/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 08:39:19 +0000</pubDate>
		<dc:creator>Mister</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[Flex Builder 3]]></category>
		<category><![CDATA[Migrating Certificates]]></category>

		<guid isPermaLink="false">http://thanksmister.com/?p=762</guid>
		<description><![CDATA[If you renew your certificate and you are running an earlier version of Adobe AIR than 1.5.3, you are in a world of hurt. The process of updating and renewing your certificate is enough of a pain, but trying to update your AIR application after your certificate expires prior to 1.5.3 required you to just [...]]]></description>
			<content:encoded><![CDATA[<p>If you renew your certificate and you are running an earlier version of Adobe AIR than 1.5.3, you are in a world of hurt.    The process of updating and renewing your certificate is enough of a pain, but trying to update your AIR application after your certificate expires prior to 1.5.3 required you to just uninstall your previous version and reinstall a new version of your application.    </p>
<p><strong>Adobe AIR 1.5.3 Update</strong></p>
<p>Luckily with AIR 1.5.3 you now have a grace period of 6 months to renew your certificate and still be able to publish an update to your application that users can install over the previous application.  The down side is that it&#8217;s is not easy to update your certificate once you update to 1.5.3.   You can read more about the Adobe AIR 1.5.3 update and changes to certificate migration here:</p>
<p><span id="more-762"></span></p>
<p><a href="http://www.adobe.com/support/documentation/en/air/1_5_3/releasenotes_developers.html">Release notes for Adobe AIR developers</a><br />
<a href="http://www.adobe.com/support/documentation/en/air/1_5_3/releasenotes_developers.html">Adobe AIR 1.5.3 Now Available</a></p>
<p><strong>Updating Flex Builder 3 for AIR 1.5.3</strong></p>
<p>First off, grab and install the latest and greatest AIR 1.5.3 from <a href="http://www.adobe.com/products/air/tools/sdk/">Adobe&#8217;s download sit</a>e.  You will also need to download the Adobe AIR 1.5.3 SDK to install within your Flex Builder 3.  If you just change the descriptor file and not update the SDK to use AIR 1.5.3, you will receive the following error when compiling the project from the IDE:  </p>
<blockquote><p><strong>invalid application descriptor: descriptor version does not match runtime version</strong></p>
<p>or </p>
<p><strong>EncryptedLocalStore may not use publisher IDs passed in from ADL</strong>
</p></blockquote>
<p>The instructions for updating Flex Builder 3 to use AIR 1.5.3 are not really clear, at least not for me.   The best way to upgrade on the MAC is to download the AIR 1.5.3 SDK and manually drag the files to your Flex Builder 3 SDK folder.   When you download the AIR 1.5.3 SDK and expand it, you can see the following folder structure:</p>
<p><img src="http://www.thanksmister.com/images/MigratingCertificates/AIRSDK153.png" alt="AIR SDK 1.5.3" /></p>
<p>You can just drag the folders one-by-one ( or the contents of the folder to be more careful ) to your Flex Builder 3 application directory inside the sdks folder.   Now restart your Flex Builder 3 and create a new dummy project.   If all goes well, your new project will have the 1.5.3 namespace already in the descriptor file.  Now for existing Flex Builder 3 projects,  you need to manually update your application&#8217;s namespace to 1.5.3  and add a new descriptor tag for publisherID (you don&#8217;t need to do this for a new AIR application, only if you are updating an project to AIR 1.5.3):</p>
<div class="codecolorer-container actionscript mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #66cc66;">&lt;</span>?<span style="color: #0066CC;">xml</span> <span style="color: #0066CC;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;UTF-8&quot;</span>?<span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;</span>application xmlns=<span style="color: #ff0000;">&quot;http://ns.adobe.com/air/application/1.5.3&quot;</span><span style="color: #66cc66;">&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&lt;!</span>-- The application identifier <span style="color: #0066CC;">string</span>, unique to <span style="color: #0066CC;">this</span> application. <span style="color: #006600;">Required</span>. --<span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>id<span style="color: #66cc66;">&gt;</span>MyApplication<span style="color: #66cc66;">&lt;/</span>id<span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>publisherID<span style="color: #66cc66;">&gt;</span>3782AD3EDB99182DA9E106898998986691F7E39C8DBA6A3.1<span style="color: #66cc66;">&lt;/</span>publisherID<span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; ...</div></td></tr></tbody></table></div>
<p>The publisherID is a combination of your application name and the publish id for the application.   You can find the publisherID manually by looking at your currently installed application directory on MAC (Windows users can find it in the release notes):</p>
<div class="codecolorer-container actionscript mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">MaciontoshHD <span style="color: #66cc66;">&gt;</span> Users <span style="color: #66cc66;">&gt;</span> <span style="color: #66cc66;">&#91;</span>username<span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&gt;</span> Library <span style="color: #66cc66;">&gt;</span> Application Support <span style="color: #66cc66;">&gt;</span> Adobe <span style="color: #66cc66;">&gt;</span> AIR <span style="color: #66cc66;">&gt;</span> ELS <span style="color: #66cc66;">&gt;</span> MyApplication.3782AD3EDB99182DA9E106898998986691F7E39C8DBA6A3.1</div></td></tr></tbody></table></div>
<p>The long number after the application name is the publisherID, copy this and add it to your application descriptor file.  You can also get the application <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=reading_app_settings_1.html">publisherID from the NativeApplication</a>:</p>
<div class="codecolorer-container actionscript mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>NativeApplication.<span style="color: #006600;">nativeApplication</span>.<span style="color: #006600;">publisherID</span><span style="color: #66cc66;">&#41;</span>;</div></td></tr></tbody></table></div>
<p>It should be noted that bye adding the
<publisherID>&#8230;.</publisherID> to the descriptor file will create an error when compiling your application using Flex Builder 3:</p>
<p><strong>invocation forwarded to primary instance</strong></p>
<p>So this must be commented out of the descriptor file until you are ready to publish.  If you leave this commented out when you publish the application, you won&#8217;t be able to migrate the application. So I am not sure how tracing the publisherID is going to be a help to you from the IDE when testing. You should also update the debug version of your <a href="http://www.adobe.com/support/flashplayer/downloads.html">Flash Player</a> to the latest (10.0.42.34) before compiling your application.    Now you can test your application from the IDE and it should work.</p>
<p><strong>Migrating Expired Certificate</strong></p>
<p>Now your application should run from the IDE and you can prepare to publish the application using your renewed certificate.  Publish the application as normal using the renewed certificate to create the AIR compiled application.   Now you will need to migrate your previous expired certificate using the ADT migration tools.   The instructions for migrating certificates using the ADT migration tools can be found here:</p>
<p><a href="http://www.insideria.com/2009/04/migrating-air-application-cert.html">http://www.insideria.com/2009/04/migrating-air-application-cert.html</a></p>
<p>Once you successfully migrated your previous expired certificate, your compiled AIR application is ready to update your previous version of the installed application on your system.   If things didn&#8217;t go correctly, you will get an error that an application already exists with the same name, and you need to install the application in a different directory.   That would be bad, and you probably missed one of the delicate steps and need to go through it all again.   If you do get an update option to replace the existing application, you can no celebrate. </p>
<p><strong>My Opinion about Certificates</strong></p>
<p>In my opinion, using 3rd party certificate vendors (and paying for them) like Thawte, Verisign, ect. is total nonsense and just way to cumbersome.   Adobe could easily provide a way to authenticate the authors of AIR applications with minimal cost to developers.  This is especially important when you just want to publish an application for free and distribute it through the Adobe market place.    </p>
<p>Adobe could borrow some ideas from Android Market, especially since Adobe plans on allowing developers to create more and more Flash/Flex content for mobile devices.    Developers don&#8217;t need some complicated and expensive system in place to review code and authorize updates (i.e. iPhone app store), we simply need a way to verify to the end user that the author is who she says she is and the application is protected from someone else writing an application with identical name.    </p>
<p>The renewal process for a certificate and the above steps to migrate certificates is a total pain, and I think an unnecessary barrier for Adobe AIR application developers.  Anything Adobe could to do to lower the barrier for the average AIR developer to create certified applications would be greatly appreciated.    There are also other ways to freely publish and distribute your application freely as described on this post at polyGeek.com: </p>
<p><a href="http://polygeek.com/862_flex_deploying-trusted-air-apps-without-certification-for-free">http://polygeek.com/862_flex_deploying-trusted-air-apps-without-certification-for-free</a></p>
<p>-Mister</p>
<p><map name='google_ad_map_762_1452acacd61817fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/762?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_762_1452acacd61817fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=762&amp;url= http%3A%2F%2Fwww.thanksmister.com%2Findex.php%2Farchive%2Fmigrating-expired-certificates-air153%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.thanksmister.com/index.php/archive/migrating-expired-certificates-air153/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe AIR Runtime Font Differences</title>
		<link>http://www.thanksmister.com/index.php/archive/adobe-air-runtime-font-differences/</link>
		<comments>http://www.thanksmister.com/index.php/archive/adobe-air-runtime-font-differences/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 02:18:27 +0000</pubDate>
		<dc:creator>Mister</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[Flex Builder 3]]></category>

		<guid isPermaLink="false">http://thanksmister.com/?p=355</guid>
		<description><![CDATA[This was a heck of a problem to discover and even worse to try to figure out why. Sadly, I did not find a good solution the problem. I will give the short and sweet rundown of the issue. You have three different machines, three different operating system, the same version of Flex Builder (3.0.2), [...]]]></description>
			<content:encoded><![CDATA[<p>This was a heck of a problem to discover and even worse to try to figure out why. Sadly, I did not find a good solution the problem.  I will give the short and sweet rundown of the issue.  You have three different machines, three different operating system, the same version of Flex Builder (3.0.2), and the same code base.   Now you would think that when you create a release version of an AIR application on one machine, then deploy it on another, you would get consistent results.   However, we experienced that an AIR file created one Windows environment was different from the AIR file created on another Windows environment and a Mac machine.   The difference was visible with the fonts displayed in the application.</p>
<p>I have to be clear about this part, because first you might think that the fonts are rendered differently on each machine because we didn&#8217;t embed the font within the application.  So you would see different fonts on a Mac or from one PC to another.  That would be a good guess, but you would be wrong.  I have running on my Mac three copies of our AIR application (app_1.air, app_2.air, app_3.air), running side-by-side at the same time on the same screen. All three applications compiled form the same exact code base, but from different machines (two PC&#8217;s and one Mac).   </p>
<p><span id="more-355"></span></p>
<p>One version of the application shows clearly readable fonts, the others two applicaions show thinner more jaggy fonts with some color differences.   The most significant differences are displayed with italic text and text on fonts.  I couldn&#8217;t believe it myself, but I have a screen shot to prove it.  Below you can see all three  applications.  The screen shot was taken of the applications side-by-side and then changed in Photoshop for better display on the blog page (vertical instead of horizontal).  You will notice that one has better looking text, thicker, richer colors, and just more readable. The other two are <del datetime="2009-02-07T21:33:44+00:00">crap</del>, well, not as readable, especially the button text and the italic text. </p>
<p><strong>Image</strong></p>
<p><img alt="" src="http://farm4.static.flickr.com/3345/3258727225_19c4a9d427_o.png" title="Font Issue AIR" class="alignnone" width="660" height="430" /></p>
<p>The middle application clearly has the best displayed fonts, even though they are all running on the same exact machine, there is noticeable display differences. The only difference is the machine that compiled each AIR file.  The font on the tabs is thicker for the middle one, the button fonts are clearer and thicker for the middle one, and the italic font is more readable.    I don&#8217;t know how to fix this issue, embedding fonts did not work, installing the same fonts on each machine didn&#8217;t work, nothing helped!  Why do some machines produce a better quality AIR file while others produce jaggy text?   I couldn&#8217;t find any information on this problem, so please let me know if anyone has any solution.</p>
<p><strong>UPDATE</strong></p>
<p>If you run your AIR package on a Windows machine with &#8220;clear type&#8221; turned on, then it actually produces better fonts.  This makes all three applications look identical on a PC, but with clear type off, then only one of the applications looks good.   The application generated on the Mac, and generated on the PC with clear Type on, still look the degraded when compared to the middle application.</p>
<p>The best solution I could find to have a consistent look for the AIR application when created from different computers is to embed fonts within the application.  Still does not solve the reason why there was a difference, but it does offer a temporary solution.  For more information on embedding fonts check out <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_05.html">Adobe docs on the topic</a>.</p>
<p>- Mister</p>
<p><map name='google_ad_map_355_1452acacd61817fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/355?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_355_1452acacd61817fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=355&amp;url= http%3A%2F%2Fwww.thanksmister.com%2Findex.php%2Farchive%2Fadobe-air-runtime-font-differences%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.thanksmister.com/index.php/archive/adobe-air-runtime-font-differences/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Flex 3, ColdFusion 8, and Error #1034</title>
		<link>http://www.thanksmister.com/index.php/archive/flex-3-coldfusion-8-and-error-1034/</link>
		<comments>http://www.thanksmister.com/index.php/archive/flex-3-coldfusion-8-and-error-1034/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 05:04:01 +0000</pubDate>
		<dc:creator>Mister</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Flash Remoting]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flex Builder 3]]></category>
		<category><![CDATA[RemoteObject]]></category>
		<category><![CDATA[Remoting]]></category>

		<guid isPermaLink="false">http://thanksmister.com/?p=222</guid>
		<description><![CDATA[Working on project for a new client I had had the opportunity to use Flash Remoting from Flex to talk to services on a ColdFusion server without running the ColdFusion server locally on my machine. Since I am working remote these days (at home), I wanted to connect to the CFC&#8217;s on the ColdFusion server [...]]]></description>
			<content:encoded><![CDATA[<p>Working on project for a new client I had had the opportunity to use Flash Remoting from Flex to talk to services on a ColdFusion server without running the ColdFusion server locally on my machine.  Since I am working remote these days (at home), I wanted to connect to the CFC&#8217;s on the ColdFusion server remotely from my local Flex Builder 3 working environment.  I setup a simple &#8220;Hello World&#8221; example that I found over at <a href="http://www.asfusion.com/examples/item/ifbin-flex-coldfusion-example-updated">ASFusion</a>.  </p>
<p>I uploaded the HelloWorldService.cfc file to the remote server in  &#8220;C:\ColdFurion8\wwwroot\components\com\test\HelloWolrdService&#8221;.  I then set up a <a href="http://livedocs.adobe.com/flex/2/langref/mx/rpc/remoting/mxml/RemoteObject.html">RemoteObject</a> with the endpoint property pointing to the remote ColdFusion server instead of the local host (since the example points to a local host):</p>
<div class="codecolorer-container actionscript mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #66cc66;">&lt;</span>mx:remoteobject id=<span style="color: #ff0000;">&quot;CFCService&quot;</span> endpoint=<span style="color: #ff0000;">&quot;http://myremoteserver.com/flashservices/gateway/&quot;</span> source=<span style="color: #ff0000;">&quot;components.com.test.HelloWorldService&quot;</span> result=<span style="color: #ff0000;">&quot;getResponse(event.result)&quot;</span><span style="color: #66cc66;">&gt;</span></div></td></tr></tbody></table></div>
<p>But I got a &#8220;Security Sandbox Error&#8221; right away from the call.   This usually tells me that there needs to be a crossdomain.xml file on the root of server allowing access from my specific location or completely open using the &#8220;*&#8221; value.  For more on the Flash security policy, check out plenty of info at <a href="http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html">Adobe&#8217;s site</a>.</p>
<p><span id="more-222"></span></p>
<p>I uploaded the crossdomain.xml file to the root with the proper security settings (completely open in my case) and gave the server a restart just for kicks (though I don&#8217;t think its required when you change or modify the crossdomain.xml file under normal circumstances (I had some other issues unrelated to this blog post, but our admin was able to unblock those, basically the server also runs an additional web server on the same box as ColdFusion which was caused problems temporarily).  So I ran the example again and received this error:</p>
<div class="codecolorer-container actionscript mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0066CC;">Error</span> <span style="color: #808080; font-style: italic;">#1034: Type Coercion failed: cannot convert Object@359af2e1 to</span><br />
mx.<span style="color: #006600;">messaging</span>.<span style="color: #006600;">messages</span>.<span style="color: #006600;">ErrorMessage</span></div></td></tr></tbody></table></div>
<p>This error really stumped me because I am by no means any expert at ColdFusion and it has been years since I have had to mess around with it in any fashion.   I searched and searched for this error in relation to ColdFusion and Flex. I was pulling my hair out, was it the port, was it the server address, was it the location of the CFC files, what was the issue?    </p>
<p>I was really surprised at all the examples I found, they all were setup with both Flex and ColdFusion running on the same machine.   Almost nobody was running Flex locally and accessing ColdFusion CFC&#8217;s remotely, and this is what I really needed. I eventually found a post on <a href="http://www.flashcomguru.com/index.cfm/2006/11/11/flex2remoting">FlashComGuru</a> where the author had the same exact problem as me.</p>
<p>It turns out that my RemoteObject had a couple of issues.  First, it needed to have the destination property set,  in this case ColdFusion is the default name set in services-config.xml file.  Second, I had to change the endpoint property from &#8220;http://myremoteserver.com/flashservices/gateway/&#8221;  to &#8220;http://myremoteserver.com/flex2gateway/&#8221;, changing the default gateway of the remote server to &#8220;flex2gateway&#8221;.  So my updated RemoteObject code looks like this:</p>
<div class="codecolorer-container actionscript mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #66cc66;">&lt;</span>mx:remoteobject id=<span style="color: #ff0000;">&quot;CFCService&quot;</span> endpoint=<span style="color: #ff0000;">&quot;http://myremoteserver.com/flex2gateway/&quot;</span> source=<span style="color: #ff0000;">&quot;components.com.test.HelloWorldService&quot;</span> result=<span style="color: #ff0000;">&quot;getResponse(event.result)&quot;</span><span style="color: #66cc66;">&gt;</span></div></td></tr></tbody></table></div>
<p>Finally, the Hello World example worked great!   However, when I tried the application I was working on to hit the application specific CFC files, I didn&#8217;t get the results I wanted.    As I mentioned briefly before, the server is also running another web server on the same box as the ColdFusion server.   So the web root of the web server is &#8220;inetpub/wwwroot/&#8221;  and the application CFC&#8217;s were located under this web server&#8217;s directory.  In order to get them to work for me, I had to move them to the ColdFusion wwwroot folder &#8220;C:\ColdFurion8\wwwroot\components\&#8221;.   </p>
<p>I am sure there is a way to map the ColdFusion component directory to another server, but to save time and get myself back on schedule, I settled with placing my CFC file son the ColdFusion server instead, for now anyways.</p>
<p>I hope this post is at least a pointer to a very hard to track issue with using Flash Remoting with Flex and ColdFusion 8.   The kind of lighthouse for those Flex developers who might find themselves in the same bind <img src='http://www.thanksmister.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>-Mister</mx:remoteobject></mx:remoteobject></p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/1b7dee39-9c1d-4b54-86ba-6b915d74affd/" title="Zemified by Zemanta"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=1b7dee39-9c1d-4b54-86ba-6b915d74affd" alt="Reblog this post [with Zemanta]"></a></div>
<p><map name='google_ad_map_222_1452acacd61817fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/222?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_222_1452acacd61817fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=222&amp;url= http%3A%2F%2Fwww.thanksmister.com%2Findex.php%2Farchive%2Fflex-3-coldfusion-8-and-error-1034%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.thanksmister.com/index.php/archive/flex-3-coldfusion-8-and-error-1034/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
