<?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>Danny-T.co.uk &#187; Flex</title>
	<atom:link href="http://danny-t.co.uk/index.php/category/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://danny-t.co.uk</link>
	<description>RIA Fanatic, ramblings on Flex, Flash, Silverlight, UX, .net</description>
	<lastBuildDate>Tue, 04 May 2010 09:51:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex Sliding Drawer Mask and Move Effect</title>
		<link>http://danny-t.co.uk/index.php/2010/05/02/flex-mask-and-move-effect/</link>
		<comments>http://danny-t.co.uk/index.php/2010/05/02/flex-mask-and-move-effect/#comments</comments>
		<pubDate>Sun, 02 May 2010 12:34:05 +0000</pubDate>
		<dc:creator>DannyT</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://danny-t.co.uk/?p=203</guid>
		<description><![CDATA[I&#8217;ve just been trying to create a simple Sliding Drawer effect in Flex 3 and came across a load of weird and wonderful glitches that made something which should take 20 minutes leave me banging my head against the table for a couple of hours.
Here&#8217;s the end result:










However, this is the sort of behaviour that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just been trying to create a simple Sliding Drawer effect in Flex 3 and came across a load of weird and wonderful glitches that made something which should take 20 minutes leave me banging my head against the table for a couple of hours.</p>
<p>Here&#8217;s the end result:<br />

<object width="335" height="180">
<param name="movie" value="/wp-content/uploads/StylingTest1.swf"></param>
<param name="quality" value="high"></param>
<param name="wmode" value="window"></param>
<param name="menu" value="false"></param>
<param name="bgcolor" value="#FFFFFF"></param>
<embed type="application/x-shockwave-flash" width="335" height="180" src="/wp-content/uploads/StylingTest1.swf" quality="high" bgcolor="#FFFFFF" wmode="window" menu="false" ></embed>
</object>
</p>
<p>However, this is the sort of behaviour that was giving me grief:<br />

<object width="335" height="180">
<param name="movie" value="/wp-content/uploads/StylingTestGlitchy.swf"></param>
<param name="quality" value="high"></param>
<param name="wmode" value="window"></param>
<param name="menu" value="false"></param>
<param name="bgcolor" value="#FFFFFF"></param>
<embed type="application/x-shockwave-flash" width="335" height="180" src="/wp-content/uploads/StylingTestGlitchy.swf" quality="high" bgcolor="#FFFFFF" wmode="window" menu="false" ></embed>
</object>
</p>
<p>Nice eh? The components disappear randomly, the mask doesn&#8217;t stay still, the label isn&#8217;t viewable on the rotated button and it&#8217;s generally a bit of a pig.</p>
<p>Here&#8217;s the few things I learned to eliminate this glitchy behavior:</p>
<ol>
<li>In order to rotate a button, you need to embed the font.</li>
<li>When you rotate a button the width property actually reports the height of the rotated button (which makes sense but is a bit odd at first), this also confuses any containers the button is in</li>
<li>A mask needs to have cacheAsBitmap=true</li>
<li>Sprite seems to be the best class to use for masks but you&#8217;ll need to add it to rawChildren when adding it to the displaylist as it isn&#8217;t a DisplayObject</li>
</ol>
<p>Most of this is demonstrated in the source for the above:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><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>
<span style="color: #66cc66;">&lt;</span>mx:Application xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span> 
	<span style="color: #0066CC;">backgroundColor</span>=<span style="color: #ff0000;">&quot;#ffffff&quot;</span>
	layout=<span style="color: #ff0000;">&quot;vertical&quot;</span> 
	creationComplete=<span style="color: #ff0000;">&quot;cc()&quot;</span>
	<span style="color: #66cc66;">&gt;</span>
&nbsp;
	<span style="color: #66cc66;">&lt;</span>mx:Style<span style="color: #66cc66;">&gt;</span>
		<span style="color: #808080; font-style: italic;">/* need to embed font to allow rotated buttons */</span>
		<span style="color: #66cc66;">@</span>font-face <span style="color: #66cc66;">&#123;</span>
		    src: local<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Arial&quot;</span><span style="color: #66cc66;">&#41;</span>;
		    fontFamily: ArialEmbedded;
		    fontWeight: normal;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #66cc66;">@</span>font-face <span style="color: #66cc66;">&#123;</span>
		    src: local<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Arial&quot;</span><span style="color: #66cc66;">&#41;</span>;
		    fontFamily: ArialEmbedded;
		    fontWeight: <span style="color: #0066CC;">bold</span>;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #0066CC;">Button</span> <span style="color: #66cc66;">&#123;</span>
			font-family: ArialEmbedded;
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&lt;/</span>mx:Style<span style="color: #66cc66;">&gt;</span>
&nbsp;
	<span style="color: #66cc66;">&lt;</span>mx:Script<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;!</span><span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span>
&nbsp;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> cc<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>: <span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #808080; font-style: italic;">// create mask</span>
			<span style="color: #000000; font-weight: bold;">var</span> drawerMask : Sprite = <span style="color: #000000; font-weight: bold;">new</span>  Sprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			drawerMask.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span>0xffffff<span style="color: #66cc66;">&#41;</span>;
			drawerMask.<span style="color: #006600;">graphics</span>.<span style="color: #006600;">drawRect</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">0</span>, drawer.<span style="color: #0066CC;">width</span> + <span style="color: #cc66cc;">20</span>, <span style="color: #cc66cc;">300</span><span style="color: #66cc66;">&#41;</span>;
			drawerMask.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			drawerMask.<span style="color: #006600;">x</span> = tabs.<span style="color: #006600;">x</span>;
			<span style="color: #808080; font-style: italic;">// eliminate glitchiness</span>
			drawerMask.<span style="color: #006600;">cacheAsBitmap</span> = <span style="color: #000000; font-weight: bold;">true</span>;
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">rawChildren</span>.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>drawerMask<span style="color: #66cc66;">&#41;</span>;
			<span style="color: #808080; font-style: italic;">// assign mask </span>
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">drawer</span>.<span style="color: #006600;">mask</span> = drawerMask;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> slide<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> : <span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>openBtn.<span style="color: #006600;">label</span> == <span style="color: #ff0000;">&quot;Open&quot;</span><span style="color: #66cc66;">&#41;</span>
			<span style="color: #66cc66;">&#123;</span>
				drawerPusher.<span style="color: #0066CC;">width</span> =  drawer.<span style="color: #0066CC;">width</span> + <span style="color: #cc66cc;">20</span>;
				openBtn.<span style="color: #006600;">label</span> = <span style="color: #ff0000;">&quot;Close&quot;</span>;
			<span style="color: #66cc66;">&#125;</span>
			<span style="color: #b1b100;">else</span>
			<span style="color: #66cc66;">&#123;</span>
				drawerPusher.<span style="color: #0066CC;">width</span> = <span style="color: #cc66cc;">0</span>
				openBtn.<span style="color: #006600;">label</span> = <span style="color: #ff0000;">&quot;Open&quot;</span>;
			<span style="color: #66cc66;">&#125;</span>
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&gt;</span>
<span style="color: #66cc66;">&lt;/</span>mx:Script<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>mx:HBox <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> horizontalScrollPolicy=<span style="color: #ff0000;">&quot;off&quot;</span> verticalScrollPolicy=<span style="color: #ff0000;">&quot;off&quot;</span><span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;</span>mx:Spacer id=<span style="color: #ff0000;">&quot;drawerPusher&quot;</span> <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #66cc66;">/&gt;</span>
		<span style="color: #66cc66;">&lt;</span>mx:VBox id=<span style="color: #ff0000;">&quot;drawer&quot;</span> moveEffect=<span style="color: #ff0000;">&quot;Move&quot;</span> <span style="color: #0066CC;">backgroundColor</span>=<span style="color: #ff0000;">&quot;#cccccc&quot;</span><span style="color: #66cc66;">&gt;</span>
			<span style="color: #66cc66;">&lt;</span>mx:Label <span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">&quot;I'm in a drawer&quot;</span> <span style="color: #66cc66;">/&gt;</span>
			<span style="color: #66cc66;">&lt;</span>mx:<span style="color: #0066CC;">Button</span> label=<span style="color: #ff0000;">&quot;Button1&quot;</span> <span style="color: #66cc66;">/&gt;</span>
			<span style="color: #66cc66;">&lt;</span>mx:<span style="color: #0066CC;">Button</span> label=<span style="color: #ff0000;">&quot;Button2&quot;</span> <span style="color: #66cc66;">/&gt;</span>
			<span style="color: #66cc66;">&lt;</span>mx:<span style="color: #0066CC;">Button</span> label=<span style="color: #ff0000;">&quot;Button3&quot;</span> <span style="color: #66cc66;">/&gt;</span>
		<span style="color: #66cc66;">&lt;/</span>mx:VBox<span style="color: #66cc66;">&gt;</span>
&nbsp;
		<span style="color: #66cc66;">&lt;</span>mx:Spacer id=<span style="color: #ff0000;">&quot;tabSpacer&quot;</span> <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;8&quot;</span> <span style="color: #66cc66;">/&gt;</span>
		<span style="color: #66cc66;">&lt;</span>mx:HBox id=<span style="color: #ff0000;">&quot;tabs&quot;</span> rotation=<span style="color: #ff0000;">&quot;90&quot;</span> moveEffect=<span style="color: #ff0000;">&quot;Move&quot;</span><span style="color: #66cc66;">&gt;</span>
			<span style="color: #66cc66;">&lt;</span>mx:<span style="color: #0066CC;">Button</span> id=<span style="color: #ff0000;">&quot;openBtn&quot;</span> label=<span style="color: #ff0000;">&quot;Open&quot;</span> click=<span style="color: #ff0000;">&quot;slide()&quot;</span> <span style="color: #66cc66;">/&gt;</span>	
		<span style="color: #66cc66;">&lt;/</span>mx:HBox<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;/</span>mx:HBox<span style="color: #66cc66;">&gt;</span>
<span style="color: #66cc66;">&lt;/</span>mx:Application<span style="color: #66cc66;">&gt;</span></pre></div></div>

<p>Hopefully this can save someone else the headaches I had.<br />
Props to <a href="http://twitter.com/andytrice">@andytrice</a> for the cacheAsBitmap tip in his <a href="www.insideria.com/2008/01/flex-graphics-tricks-part-1-ma.html">insideria article on masking</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://danny-t.co.uk/index.php/2010/05/02/flex-mask-and-move-effect/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Thoughts (aka moan) about Buzzword</title>
		<link>http://danny-t.co.uk/index.php/2010/04/22/thoughts-aka-moan-about-buzzword/</link>
		<comments>http://danny-t.co.uk/index.php/2010/04/22/thoughts-aka-moan-about-buzzword/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 07:01:27 +0000</pubDate>
		<dc:creator>DannyT</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://danny-t.co.uk/?p=193</guid>
		<description><![CDATA[I&#8217;ve been using Buzzword for a few years now, it&#8217;s still one of the best examples of an RIA that stands up against it&#8217;s costlier, heavier installable counterparts. Having your documents online accessible from anywhere is a great facility plus, there are some truly innovative UI aspects that make using it a great experience, or [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://buzzword.acrobat.com/">Buzzword</a> for a few years now, it&#8217;s still one of the best examples of an RIA that stands up against it&#8217;s costlier, heavier installable counterparts. Having your documents online accessible from anywhere is a great facility plus, there are some truly innovative UI aspects that make using it a great experience, or example paging in scrollbars, great text-flow around images and the history feature is first class.</p>
<p>That said, it definitely feels like it might be a bit of a second class citizen to Adobe. As I mentioned I&#8217;ve been using Buzzword for literally years and witnessed it evolve considerably since it&#8217;s earlier days. However, that evolution appears to have slowed. The only notable feature to have been added in the past few months is Workspaces. Other than this I know of a long list of feature requests that are as yet, unfulfilled. To be fair, this is more a rant about Buzzword specifically and not Acrobat.com as a whole as I haven&#8217;t fully checked out the presentation or &#8216;tables&#8217; software and they have added support for conferencing with Adobe Connect so maybe that&#8217;s where efforts are being spent. </p>
<p>Workspaces is however, a great feature which I would love to make full use of&#8230; but can&#8217;t:<br />
<a href="http://danny-t.co.uk/wp-content/uploads/Picture-6.png"><img src="http://danny-t.co.uk/wp-content/uploads/Picture-6.png" alt="" title="Picture 6" width="637" height="80" class="aligncenter size-full wp-image-191" /></a><br />
This has been the case for a long time now and several other aspects such as Connect are restricted by this. Whilst I appreciate there are legal and corporate considerations here that argument only stands for so long, what year is this?! I&#8217;ve been a fully-paid up user of a lot of SAAS services who have managed to figure this out. I did moan about this on twitter a while back to which I did get a response from the acrobat twitter account informing me to sign up to be notified when they worked this out, however I have been on the notification list for a long time now and have never had even an update from it.</p>
<p>Talking of SAAS or cloud based software, I&#8217;m a techie and a businessman, probably the ideal target audience for Acrobat.com I&#8217;m not afraid to be an early adopter of technologies and am comfortable signing up to such things. Which is why I also use Google Chrome as my current browser of choice&#8230; which is why this is also annoying:<br />
 <a href="http://danny-t.co.uk/wp-content/uploads/Picture-7.png"><img src="http://danny-t.co.uk/wp-content/uploads/Picture-7.png" alt="" title="Picture 7" width="298" height="178" class="aligncenter size-full wp-image-192" /></a><br />
I appreciate Chrome is a new browser and I don&#8217;t expect every new technology that comes along to be instantly fully supported. However before they blocked Chrome it did work, it was glitchy but then a lot of sites are and that&#8217;s what you expect in early release software. A much more welcome approach would have been a note saying Chrome wasn&#8217;t fully tested yet so an alternative browser is recommended but you&#8217;re free to carry on if you choose. </p>
<p>UPDATE: see Bob Treitman&#8217;s (Adobe QA engineer &#8211; I believe) comment below explaining the above is an FP10.1 issue.</p>
<p>Anyway, I will continue to use Buzzword for now (not to mention stop moaning and get some work done) but I am getting increasingly disheartened by the lack of new features and restrictive US-only availability. I will also have a look at other similar services, I do use Google docs but it still feels like a webpage as opposed to a word processor, feel free to suggest alternatives in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://danny-t.co.uk/index.php/2010/04/22/thoughts-aka-moan-about-buzzword/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Merge folders on copy instead of replace on OSX</title>
		<link>http://danny-t.co.uk/index.php/2010/03/09/merge-folders-on-copy-instead-of-replace-on-osx/</link>
		<comments>http://danny-t.co.uk/index.php/2010/03/09/merge-folders-on-copy-instead-of-replace-on-osx/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 20:33:53 +0000</pubDate>
		<dc:creator>DannyT</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mac/OS X]]></category>

		<guid isPermaLink="false">http://danny-t.co.uk/?p=184</guid>
		<description><![CDATA[When trying to copy a folder onto another of the the same name in OSX you will only get prompted to replace the items and not merge them. This is a real pain in the ass if you&#8217;re trying to merge folders and if the folder has several other nested folders.
I just came across this [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to copy a folder onto another of the the same name in OSX you will only get prompted to replace the items and not merge them. This is a real pain in the ass if you&#8217;re trying to merge folders and if the folder has several other nested folders.</p>
<p>I just came across this exact scenario trying to update the Flex SDK and copy in the Datavisualisation components (as instructed <a href="http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_sdk.html#Datavisualization">here</a>) because it just replaced the SDK!</p>
<p>Anyway to resolve this copying from terminal can behave like you would expect:</p>
<p><code>cp -R -n /SoureFolder/* /TargetFolder/</code></p>
<p>so in the case of the datavis components:</p>
<p><code>cp -R -n /Users/[username]/Downloads/datavisualization_sdk3.5/*<br />
/Applications/Adobe\ Flex\ Builder\ 3\ Plug-in/sdks/3.5.0/</code></p>
]]></content:encoded>
			<wfw:commentRss>http://danny-t.co.uk/index.php/2010/03/09/merge-folders-on-copy-instead-of-replace-on-osx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex framework component localization</title>
		<link>http://danny-t.co.uk/index.php/2010/03/07/flex-framework-component-localization/</link>
		<comments>http://danny-t.co.uk/index.php/2010/03/07/flex-framework-component-localization/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 00:21:27 +0000</pubDate>
		<dc:creator>DannyT</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://danny-t.co.uk/?p=180</guid>
		<description><![CDATA[Having just gone through far too many hoops to get a the flex framework localized I thought I&#8217;d share a few notes here.
All I was trying to achieve was to ensure the Flex components (mx) adhere to a selected locale so things like date choosers and other locale-dependent components could be tailored to the users [...]]]></description>
			<content:encoded><![CDATA[<p>Having just gone through far too many hoops to get a the flex framework localized I thought I&#8217;d share a few notes here.</p>
<p>All I was trying to achieve was to ensure the Flex components (mx) adhere to a selected locale so things like date choosers and other locale-dependent components could be tailored to the users chosen language.</p>
<p>This is easy to do but took a long time to figure out, so for the benefit of others (and no doubt myself in the future):</p>
<h3>Localizing the flex framework</h3>
<ul>
<li>Go to <a href="http://ttfx.org/Tontons_Flexeurs/BabelFlex.html">http://ttfx.org/Tontons_Flexeurs/BabelFlex.html</a> and download your chosen language(s)</li>
<li>Extract the zip and copy the fr_FR (or whatever lang) to<br />
 [your flex installation]/sdk/3.4.0/frameworks/locale/</li>
<li>Add the chosen language to your flex compiler arguments  -locale=fr_FR,en_US</li>
<p>And you&#8217;re done! Setting resourceManager.localeChain = ['fr_FR', 'en_US'] or whichever language you want will then change the days of week and month names etc to suit the selected language.</p>
<p>For something so simple I had to do ALOT of digging, props to <a href="http://twitter.com/Fitzchev/statuses/10069186091">@fitzchev</a> for the babelflex link.<br />
<strong><em>WHY ARE THESE NOT IN THE SDK BY DEFAULT????????!!!!!!</em></strong><br />
Apparently they are in Flex4 which is good news but Flex has been around for how long now? Part of the reason this took so long to figure out is because I refused to believe that I had to either write my own or find others&#8217; translations for such major languages as French, Spanish, German etc.</p>
<p>Before finding the BabelFlex conversions I&#8217;d also explored the process for creating my own localized framework bundles but that&#8217;s covered well in the BabelFlex readme in all of the downloads so head over there if you need to.</p>
]]></content:encoded>
			<wfw:commentRss>http://danny-t.co.uk/index.php/2010/03/07/flex-framework-component-localization/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Optimal RIA development hardware</title>
		<link>http://danny-t.co.uk/index.php/2010/02/13/optimal-ria-development-hardware/</link>
		<comments>http://danny-t.co.uk/index.php/2010/02/13/optimal-ria-development-hardware/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 22:06:23 +0000</pubDate>
		<dc:creator>DannyT</dc:creator>
				<category><![CDATA[Development Tools]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mac/OS X]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://danny-t.co.uk/?p=170</guid>
		<description><![CDATA[No matter how much we spend on new hardware, progress bars, spinning timers, system freezes and occasionally crashes are a familiar site when developing RIAs. My Macbook Pro seems to be fast approaching the end of it&#8217;s life and I&#8217;ve started to think about a new machine.
So I thought rather than spend forever looking up [...]]]></description>
			<content:encoded><![CDATA[<p>No matter how much we spend on new hardware, progress bars, spinning timers, system freezes and occasionally crashes are a familiar site when developing RIAs. My Macbook Pro seems to be fast approaching the end of it&#8217;s life and I&#8217;ve started to think about a new machine.</p>
<p>So I thought rather than spend forever looking up hardware specs, recommended platforms and whatever, I&#8217;d just do the lazy thing and put it out there to the <a href="http://en.wikipedia.org/wiki/Lazyweb">#lazyweb</a> and see what came up.</p>
<p><a href="http://danny-t.co.uk/wp-content/uploads/riahardware.png"><img src="http://danny-t.co.uk/wp-content/uploads/riahardware.png" alt="" title="ria hardware" width="608" height="300" class="aligncenter size-full wp-image-171" /></a></p>
<p>Within moments the ever-helpful <a href="http://www.seantheflexguy.com/">seantheflexguy</a> responded with his spec and his endorsement of his setup:<br />
<a href="http://twitter.com/seantheflexguy/statuses/9070997938"><img src="http://danny-t.co.uk/wp-content/uploads/seantheflexguyRiaSpec.png" alt="" title="seantheflexguyRiaSpec" width="538" height="268" class="aligncenter size-full wp-image-172" /></a></p>
<p>Well, that was very useful and I thought how great it would be if we could collate more information about other RIA developers&#8217; setups and how they rate them. </p>
<p>So feel free to contribute and copy the following into the comments and fill it in and you can help <del datetime="2010-02-13T21:36:34+00:00">do my research for me</del> share hardware spec for the benefit of the RIA community <img src='http://danny-t.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .<br />
<code><br />
Computer:<br />
Processor:<br />
RAM:<br />
Hard Disk Size:<br />
Hard Disk Speed:<br />
Primary Software Used:<br />
Rating:  / 10<br />
Other Comments:<br />
</code></p>
<p>Here&#8217;s mine for starters:</p>
<p>Computer: Macbook Pro 17&#8243;<br />
Processor: 2.4Ghz Intel Core 2 Duo<br />
RAM: 4Gb<br />
Hard Disk Size: 150Gb<br />
Hard Disk Speed: 5600rpm (i think)<br />
Primary RIA development Software Used: Flex Builder, Visual Studio 2008 (under VMWare Fusion), Sql Server 2008<br />
Rating:  7 / 10<br />
Other Comments: The machine has been a real workhorse for the past 2 years and has taken quite a bit of torment from me. The hardware has been fairly robust although the problems are starting to present themselves now (now i&#8217;m out of warranty!) and things are very costly to put right. Runs very hot when running FlexBuilder in OSX and VS in windows and has really started to slow down lately. Never had much of a problem with system crashes or freezing other than the occasional browser fail.</p>
]]></content:encoded>
			<wfw:commentRss>http://danny-t.co.uk/index.php/2010/02/13/optimal-ria-development-hardware/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Subclipse missing files / folders</title>
		<link>http://danny-t.co.uk/index.php/2010/02/02/subclipse-missing-files-folders/</link>
		<comments>http://danny-t.co.uk/index.php/2010/02/02/subclipse-missing-files-folders/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 23:37:38 +0000</pubDate>
		<dc:creator>DannyT</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Development Tools]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://danny-t.co.uk/?p=163</guid>
		<description><![CDATA[So I was trying to get the latest files for a Flex project recently and I had an error about a missing stylesheet. I of course took the standard approach to fixing this and promptly bitched at the foolish developer who neglected to commit the crucial element&#8230; Alas turns out I was the fool and [...]]]></description>
			<content:encoded><![CDATA[<p>So I was trying to get the latest files for a Flex project recently and I had an error about a missing stylesheet. I of course took the standard approach to fixing this and promptly bitched at the <a href="http://twitter.com/peterkeating">foolish developer</a> who neglected to commit the crucial element&#8230; Alas turns out <strong><em>I</em></strong> was the fool and upon doing what I should have done in the first place and checking the logs and repository turns out the file was actually committed already. </p>
<p>So I check the file system, no dice. Do another update, nope. Try synchronizing with repository, nada. Try about 10 more updates on the off chance it will magically work one time, amazingly it doesn&#8217;t. WTF!?</p>
<p>Anyway turns out the solution is to do the following:</p>
<p>Right click project select &#8220;Update to version&#8221;</p>
<p><img src="http://danny-t.co.uk/wp-content/uploads/update-to-version.png" alt="" title="update to version" width="604" height="140" class="aligncenter size-full wp-image-164" /></p>
<p>Choose HEAD, change Depth to &#8220;Fully recursive&#8221; and tick &#8220;Change working copy to specified depth&#8221;</p>
<p><img src="http://danny-t.co.uk/wp-content/uploads/update-to-version2.png" alt="" title="update to version2" width="528" height="416" class="aligncenter size-full wp-image-165" /></p>
<p>Et voila, all files and folders get gotten again, no idea what causes this hiccup but this is much nicer than previous resolution of deleting entire project and checking out again <img src='http://danny-t.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://danny-t.co.uk/index.php/2010/02/02/subclipse-missing-files-folders/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex/Flash Builder Icons for Eclipse &#8211; FB plugin version OS X</title>
		<link>http://danny-t.co.uk/index.php/2009/07/26/flexflash-builder-icons-for-eclipse-fb-plugin-version-os-x/</link>
		<comments>http://danny-t.co.uk/index.php/2009/07/26/flexflash-builder-icons-for-eclipse-fb-plugin-version-os-x/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 02:54:46 +0000</pubDate>
		<dc:creator>DannyT</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mac/OS X]]></category>

		<guid isPermaLink="false">http://danny-t.co.uk/?p=152</guid>
		<description><![CDATA[So I imagine very few people are bothered about this, but for anyone out there as precious as I am about things being &#8216;just right&#8217; they might be interested in this.

I prefer to use the Plugin version of Flex/Flash Builder than the stand alone install, I&#8217;m not sure why it just feels better and seems [...]]]></description>
			<content:encoded><![CDATA[<p>So I imagine very few people are bothered about this, but for anyone out there as precious as I am about things being &#8216;just right&#8217; they might be interested in this.</p>
<p><img src="http://danny-t.co.uk/wp-content/uploads/Eclipse-Logo.png" alt="Eclipse Logo" title="Eclipse Logo" width="165" height="123" class="aligncenter size-full wp-image-153" /></p>
<p>I prefer to use the Plugin version of Flex/Flash Builder than the stand alone install, I&#8217;m not sure why it just feels better and seems more stable to me. Anyway, if you run multiple versions of Eclipse for whatever reason then it can be a bit confusing having all the same icons.</p>
<p>Having just done a clean install of my Mac to try and squeeze some more life out of it (whoever said Macs don&#8217;t need this was lying &#8211; it helps a LOT), I wanted to address this HUGE issue of all my eclipse based applications having the same icon.</p>
<p>For example, the first thing I did was to download and install Eclipse, make a copy of the Eclipse installation and then download and install Flex Builder 3 and the Flash Builder 4 Beta. </p>
<p><img src="http://danny-t.co.uk/wp-content/uploads/EclipseLogos.png" alt="EclipseLogos" title="EclipseLogos" width="179" height="101" class="aligncenter size-full wp-image-154" /></p>
<p>Now I want to use the proper FB3 and FB4 logos on these instances so I can tell them apart (you can see why this keeps me up at night I&#8217;m sure). So firstly you might notice the icons in the dock are alias&#8217; (shortcuts) rather than direct references to the applciations, this was so I could rename them to be &#8220;Flex Builder 3&#8243; and &#8220;Flash Builder 4&#8243; as opposed to both being called &#8220;Eclipse&#8221;. </p>
<p>Next, command click on the alias and select &#8220;get info&#8221; and you&#8217;ll see the properties inspector for your alias pop up. Now navigate to your applications folder and do another &#8216;get info&#8217; on the Flex/Flash builder plugin application (which should have the icon you&#8217;re after):</p>
<p><a href="http://danny-t.co.uk/wp-content/uploads/Get-Info.png"><img src="http://danny-t.co.uk/wp-content/uploads/Get-Info-300x138.png" alt="Get Info" title="Get Info" width="300" height="138" class="aligncenter size-medium wp-image-155" /></a></p>
<p><strong><em>Now simply drag the large image at the bottom of the plugin get info panel into the little image at the top left of the alias get info panel</em></strong> et voila!<br />
<img src="http://danny-t.co.uk/wp-content/uploads/Nice-Icons.png" alt="Nice Icons" title="Nice Icons" width="190" height="124" class="aligncenter size-full wp-image-156" /><br />
Custom named, pretty icons for plugin versions of Flex on Eclipse.</p>
<p>I&#8217;m sure to the hard-core Mac users this was obvious but to the new breed like myself I&#8217;d be interested if anyone else actually finds this at all useful?</p>
]]></content:encoded>
			<wfw:commentRss>http://danny-t.co.uk/index.php/2009/07/26/flexflash-builder-icons-for-eclipse-fb-plugin-version-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AIR: URLRequest works on Windows but not on Mac</title>
		<link>http://danny-t.co.uk/index.php/2009/07/18/air-urlrequest-works-on-windows-but-not-on-mac/</link>
		<comments>http://danny-t.co.uk/index.php/2009/07/18/air-urlrequest-works-on-windows-but-not-on-mac/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 23:31:19 +0000</pubDate>
		<dc:creator>DannyT</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://danny-t.co.uk/index.php/2009/07/18/air-urlrequest-works-on-windows-but-not-on-mac/</guid>
		<description><![CDATA[If you find that URLRequest works on Windows but not on Mac then simply prepend file:// to your url string. This will then work on both Windows and Mac.
var myFilePath:String = &#8220;someFile.xml&#8221;;
var request:URLRequest = new URLRequest(&#8220;file://&#8221; + myFilePath); 
]]></description>
			<content:encoded><![CDATA[<p>If you find that URLRequest works on Windows but not on Mac then simply prepend file:// to your url string. This will then work on both Windows and Mac.</p>
<p>var myFilePath:String = &#8220;someFile.xml&#8221;;<br />
var request:URLRequest = new URLRequest(&#8220;file://&#8221; + myFilePath); </p>
]]></content:encoded>
			<wfw:commentRss>http://danny-t.co.uk/index.php/2009/07/18/air-urlrequest-works-on-windows-but-not-on-mac/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Calling secure (SSL) remote service from local Flex app running in Flexbuilder</title>
		<link>http://danny-t.co.uk/index.php/2009/07/18/calling-secure-ssl-remote-service-from-local-flex-app-running-in-flexbuilder/</link>
		<comments>http://danny-t.co.uk/index.php/2009/07/18/calling-secure-ssl-remote-service-from-local-flex-app-running-in-flexbuilder/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 23:30:10 +0000</pubDate>
		<dc:creator>DannyT</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://danny-t.co.uk/?p=145</guid>
		<description><![CDATA[If you have your remoting service running under SSL you might find when trying to use it from FlexBuilder you get an error along the lines of:
Channel.Security.Error error Error #2048:
Security sandbox violation: file://localhost/Users/Username/Flex/Projects/MyProject/bin-debug/MyProject.swf cannot load data from https://www.mywebsite.com/remoting/weborb.aspx. url: &#8216;https://www.mywebsite.com/remoting/weborb.aspx&#8217;&#8221;
Firstly make sure you have a cross domain file but I&#8217;m assuming you&#8217;ve already done that [...]]]></description>
			<content:encoded><![CDATA[<p>If you have your remoting service running under SSL you might find when trying to use it from FlexBuilder you get an error along the lines of:</p>
<p>Channel.Security.Error error Error #2048:<br />
Security sandbox violation: file://localhost/Users/Username/Flex/Projects/MyProject/bin-debug/MyProject.swf cannot load data from https://www.mywebsite.com/remoting/weborb.aspx. url: &#8216;https://www.mywebsite.com/remoting/weborb.aspx&#8217;&#8221;</p>
<p>Firstly make sure you have a cross domain file but I&#8217;m assuming you&#8217;ve already done that much, all you need to do is add the following to allow your locally running (non-secure) site to access the secure remote site by adding this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;allow-access-from</span> <span style="color: #000066;">domain</span>=<span style="color: #ff0000;">&quot;localhost&quot;</span> <span style="color: #000066;">to-ports</span>=<span style="color: #ff0000;">&quot;*&quot;</span> <span style="color: #000066;">secure</span>=<span style="color: #ff0000;">&quot;false&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://danny-t.co.uk/index.php/2009/07/18/calling-secure-ssl-remote-service-from-local-flex-app-running-in-flexbuilder/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Open multiple instances of flex builder on OSX</title>
		<link>http://danny-t.co.uk/index.php/2009/07/18/open-multiple-instances-of-flex-builder-on-osx/</link>
		<comments>http://danny-t.co.uk/index.php/2009/07/18/open-multiple-instances-of-flex-builder-on-osx/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 23:24:54 +0000</pubDate>
		<dc:creator>DannyT</dc:creator>
				<category><![CDATA[Development Tools]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://danny-t.co.uk/?p=139</guid>
		<description><![CDATA[I keep various workspaces in Flex Builder for things like client projects, tests, examples etc. Sometimes it&#8217;s a pain to have to restart FB just to check something from one workspace, so to be able to have two (or more) workspaces open at a time you can launch multiple instances of flex builder by doing [...]]]></description>
			<content:encoded><![CDATA[<p>I keep various workspaces in Flex Builder for things like client projects, tests, examples etc. Sometimes it&#8217;s a pain to have to restart FB just to check something from one workspace, so to be able to have two (or more) workspaces open at a time you can launch multiple instances of flex builder by doing the following:</p>
<p>cd /Applications/Eclipse [or your path to flex builder folder]<br />
./eclipse &</p>
]]></content:encoded>
			<wfw:commentRss>http://danny-t.co.uk/index.php/2009/07/18/open-multiple-instances-of-flex-builder-on-osx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
