<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Scott Mebberson &#187; flex</title>
	<atom:link href="http://scottmebberson.wordpress.com/category/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://scottmebberson.wordpress.com</link>
	<description>Web Technologist</description>
	<lastBuildDate>Mon, 20 Jul 2009 08:20:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='scottmebberson.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/759bc3d94000ed1815dc9f5dc90f71f7?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Scott Mebberson &#187; flex</title>
		<link>http://scottmebberson.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://scottmebberson.wordpress.com/osd.xml" title="Scott Mebberson" />
	<atom:link rel='hub' href='http://scottmebberson.wordpress.com/?pushpress=hub'/>
		<item>
		<title>MATE: Using the PropertySetter tag</title>
		<link>http://scottmebberson.wordpress.com/2009/07/20/mate-using-the-propertysetter-tag/</link>
		<comments>http://scottmebberson.wordpress.com/2009/07/20/mate-using-the-propertysetter-tag/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 08:20:10 +0000</pubDate>
		<dc:creator>Scott Mebberson</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[mate]]></category>

		<guid isPermaLink="false">http://blog.scottmebberson.com/?p=136</guid>
		<description><![CDATA[I&#8217;ve never understood why many MATE developers don&#8217;t use proper getter/setter properties within Managers. I&#8217;ve just assumed it is because MethodInvoker is the preferred means to communicate with Managers. Setting an individual property on a Manager hasn&#8217;t been an easy thing to do, until now, so I wonder if that will change? Having read through [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=136&subd=scottmebberson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve never understood why many MATE developers don&#8217;t use proper getter/setter properties within Managers. I&#8217;ve just assumed it is because MethodInvoker is the preferred means to communicate with Managers. Setting an individual property on a Manager hasn&#8217;t been an easy thing to do, until now, so I wonder if that will change?</p>
<p>Having read through similar discussions on the forums however, I&#8217;m not convinced MATE purists will like/agree with this post, but I feel most confortable with property getter/setter properties and it has always been a common method in ActionScript.</p>
<p><a href="http://mate.asfusion.com/page/downloads/change-log">Mate 0.8.6 included a new tag called PropertySetter and my eyes lit-up as soon as I read it on the change log</a>. The PropertySetter tag (there&#8217;s no documentation for this tag yet) allows you to communicate with Managers by directly assigning values to a property, and using getter/setter property functions to check, manipulate and fire off other events as necessary.</p>
<p>Before the PropertySetter tag my EventMap used to communicate with Managers like this:</p>
<pre class="brush: xml;">
&lt;EventHandlers type=&quot;{PreferencesEvent.BREAK_LENGTH}&quot; debug=&quot;false&quot;&gt;
&lt;MethodInvoker generator=&quot;{ApplicationManager}&quot; method=&quot;setBreakLength&quot; arguments=&quot;{event.value}&quot; /&gt;&lt;/pre&gt;
&lt;/EventHandlers&gt; </pre>
<p>and the related methods within my Managers used to look like this:</p>
<pre class="brush: jscript;">
private var _breakLength : int = 0;

[Bindable(event=&quot;breakLengthChanged&quot;)]
public function get breakLength () : int
{
	return _breakLength;
}

public function setBreakLength (value : int) : void
{
	breakLength = value;
}
</pre>
<p>notice the use of a proper property getter function, but no proper property setter function &#8211; that has always felt so awkward to me. With the PropertySetter tag, I can now set a property in my Manager from my EventMap like this:</p>
<pre class="brush: xml;">
&lt;EventHandlers type=&quot;{PreferencesEvent.BREAK_LENGTH}&quot; debug=&quot;false&quot;&gt;
&lt;PropertySetter generator=&quot;{ApplicationManager}&quot; targetKey=&quot;breakLength&quot; source=&quot;{event.value}&quot; /&gt;&lt;/pre&gt;
&lt;/EventHandlers&gt; </pre>
<p>and use proper property getter/setter functions in my Manger like this:</p>
<pre class="brush: jscript;">
private var _breakLength : int = 0;

[Bindable(event=&quot;breakLengthChanged&quot;)]
public function get breakLength () : int
{
	return _breakLength;
}

public function set breakLength (value : int) : void
{
	_breakLength = value;
	dispatchEvent(new Event('breakLengthChanged'));
}
</pre>
<p>I&#8217;m not sure what the general community at large thinks? <a href="http://mate.asfusion.com/forums/topic.php?id=650">I&#8217;ve started a thread over on the mate forums to discuss it</a>, but it would be great to hear other peoples opinions on what should be best practice.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottmebberson.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottmebberson.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottmebberson.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottmebberson.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottmebberson.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottmebberson.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottmebberson.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottmebberson.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottmebberson.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottmebberson.wordpress.com/136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=136&subd=scottmebberson&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://scottmebberson.wordpress.com/2009/07/20/mate-using-the-propertysetter-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7a8378aa8040faec725a250cfc4c6f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mebbo</media:title>
		</media:content>
	</item>
		<item>
		<title>Multiple screens in AIR</title>
		<link>http://scottmebberson.wordpress.com/2009/07/14/multiple-screens-in-air/</link>
		<comments>http://scottmebberson.wordpress.com/2009/07/14/multiple-screens-in-air/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 01:17:11 +0000</pubDate>
		<dc:creator>Scott Mebberson</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://scottmebberson.wordpress.com/?p=127</guid>
		<description><![CDATA[A user of Focus Booster sent through an interesting request, which is to make Focus Booster restore the window position upon subsequent loads. I can&#8217;t believe I hadn&#8217;t thought of that, and have now added it to my list of required standard functionality for AIR applications. So, I set out to implement this feature and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=127&subd=scottmebberson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>A user of <a href="http://www.focusboosterapp.com/">Focus Booster</a> sent through an interesting request, which is to make <a href="http://www.focusboosterapp.com/">Focus Booster</a> restore the window position upon subsequent loads. I can&#8217;t believe I hadn&#8217;t thought of that, and have now added it to my list of required standard functionality for AIR applications.</p>
<p>So, I set out to implement this feature and got to thinking about multi-screen support. Everything screen related takes place in the flash.display.Screen class. I thought there might be a simple method or property to return the current screen index a particular nativeWindow is on; but there isn&#8217;t really anything quite that useful there.</p>
<p>The closest thing you can get is Screen.screens which is an array containing individual Screen objects, one for each screen plugged into the viewing computer. From there, you have to implement your own routines to determine which screen a nativeWindow is on.</p>
<p>I wrote up a quick example that demonstrates how to determine which screen the window is on, and also how to store the window position and restore it next time the application is loaded. <a href="http://www.box.net/shared/eqz4gqhiii">It&#8217;s called TwoScreens, and you can right-click to view the source (once you&#8217;ve unzipped the AIR file and installed it)</a>.</p>
<p>There may be a better way to do this, so post a comment if you know better ways to achieve this.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottmebberson.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottmebberson.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottmebberson.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottmebberson.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottmebberson.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottmebberson.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottmebberson.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottmebberson.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottmebberson.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottmebberson.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=127&subd=scottmebberson&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://scottmebberson.wordpress.com/2009/07/14/multiple-screens-in-air/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7a8378aa8040faec725a250cfc4c6f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mebbo</media:title>
		</media:content>
	</item>
		<item>
		<title>MATE: Responding to events</title>
		<link>http://scottmebberson.wordpress.com/2009/07/09/mate-responding-to-events/</link>
		<comments>http://scottmebberson.wordpress.com/2009/07/09/mate-responding-to-events/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 01:42:40 +0000</pubDate>
		<dc:creator>Scott Mebberson</dc:creator>
				<category><![CDATA[cairngorm]]></category>
		<category><![CDATA[flash platform]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[mate]]></category>

		<guid isPermaLink="false">http://scottmebberson.wordpress.com/?p=125</guid>
		<description><![CDATA[Recently, I embarked on a personal project to learn about the Mate Framework, which I&#8217;ve started hearing more and more about. We&#8217;ve successfully used Cairngorm in dozens of Flex/AIR projects at Enpresiv and I thought it was time to try out Mate (apparently pronounced mah-teh). I&#8217;m glad I did, because it is an awesome framework [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=125&subd=scottmebberson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, I embarked on a <a href="http://www.focusboosterapp.com/" target="_blank">personal project</a> to learn about the <a href="http://mate.asfusion.com/" target="_blank">Mate Framework</a>, which I&#8217;ve started hearing more and more about. We&#8217;ve successfully used <a href="http://opensource.adobe.com/wiki/display/cairngorm/Cairngorm" target="_blank">Cairngorm</a> in dozens of Flex/AIR projects at <a href="http://www.enpresiv.com/" target="_blank">Enpresiv</a> and I thought it was time to try out Mate (<a href="http://www.asfusion.com/blog/entry/mate-flex-framework-in-public-alpha" target="_blank">apparently pronounced mah-teh</a>).</p>
<p>I&#8217;m glad I did, because it is an awesome framework with much flexibility making it suitable for many different types of projects. One of my favourite things about the framework is how quick and easy it is to integrate. It doesn&#8217;t force you to use all Mate concepts either, providing endless options for partial integration into existing projects that might just need a little structure.</p>
<p>One of the <a href="http://www.google.com/search?q=cairngorm+events+respond+views&amp;ie=UTF-8&amp;oe=UTF-8" target="_blank">issues with Cairngorm that a lot of people have trouble with is easily responding to events/commands within a view</a> (albeit the event that dispatched the event or not). I was happily surprised when I found out this is one of the easiest things to do within Mate, and there are two ways to do it!</p>
<p>Mate advocates the <a href="http://en.wikipedia.org/wiki/Dependency_injection" target="_blank">Dependency Injection</a> pattern over the <a href="http://www.adobe.com/devnet/flex/articles/cairngorm_pt2_06.html" target="_blank">Model Locator pattern which Cairngorm advocates</a>. Dependency Injection is a fantastic concept and truly promotes reusable views as the view needs no knowledge of the framework. Your view doesn&#8217;t really need to respond to an event directly, it just receives only the required or updated data it needs.</p>
<p>The second means for views to directly respond to events is using the <a href="http://mate.asfusion.com/page/documentation/tags/listener" target="_blank">Listener tag</a>, which simply could not be any easier to work with.</p>
<p>I&#8217;ve worked up a basic yet focussed <a href="http://www.scottmebberson.com/examples/mate/listenersexample/" target="_blank">example on two options for repsonding to Mate events within views</a>.</p>
<p>I plan on discussing other Mate features in future posts, but thought this was a great starting point as it&#8217;s the source of pain for many Cairngorm developers. Although, <a href="http://umcairngorm.riaforge.org/" target="_blank">Universal Mind have released some extensions which make responding to events/commands within views much easier</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottmebberson.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottmebberson.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottmebberson.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottmebberson.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottmebberson.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottmebberson.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottmebberson.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottmebberson.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottmebberson.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottmebberson.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=125&subd=scottmebberson&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://scottmebberson.wordpress.com/2009/07/09/mate-responding-to-events/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7a8378aa8040faec725a250cfc4c6f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mebbo</media:title>
		</media:content>
	</item>
		<item>
		<title>Dispatching events in Adobe AIR using MATE</title>
		<link>http://scottmebberson.wordpress.com/2009/05/27/dispatching-events-in-adobe-air-using-mate/</link>
		<comments>http://scottmebberson.wordpress.com/2009/05/27/dispatching-events-in-adobe-air-using-mate/#comments</comments>
		<pubDate>Wed, 27 May 2009 13:10:41 +0000</pubDate>
		<dc:creator>Scott Mebberson</dc:creator>
				<category><![CDATA[air]]></category>
		<category><![CDATA[flash platform]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[mate]]></category>

		<guid isPermaLink="false">http://blog.scottmebberson.com/?p=114</guid>
		<description><![CDATA[I&#8217;ve been intrigued about the Flex framework called MATE ever since I stumbled across it, some months ago. The guys at asfusion.com have always been expert Flex / ActionScript developers and the MATE framework they&#8217;ve developed is no exception. I decided to use MATE rather than Cairngorm in a personal project I&#8217;m working on, to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=114&subd=scottmebberson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been intrigued about the Flex framework called MATE ever since I stumbled across it, some months ago. The guys at asfusion.com have always been expert Flex / ActionScript developers and the MATE framework they&#8217;ve developed is no exception.</p>
<p>I decided to use MATE rather than Cairngorm in a personal project I&#8217;m working on, to check it out in a real world environment (there&#8217;s nothing like going beyond examples and prototypes to determine if a framework actually works beyond design patterns and theory).</p>
<p>So far, I&#8217;m very impressed.</p>
<p>It&#8217;s light weight, easy to integrate, and has a tag to suit almost any situation and many common design patterns. Within half an hour, I had MATE integrated into my project, dispatching events and updating the model.</p>
<p>I did however come across an interesting problem which had me stumped for a while. I&#8217;m working on an AIR application in which I have a preferences window (via a NativeWindow popup) which creates, stores and modifies preferences for the application (yes, I&#8217;m using <a title="as3preferenceslib on Google Code" href="http://code.google.com/p/as3preferenceslib/" target="_blank">as3preferenceslib</a>).</p>
<p>The basic idea behind MATE is to dispatch events and respond to those with changes to the Model using dependency injection to keep your views notified of the changes. All of this happens via a tag called EventMap (MATE is a tag-based framework) which is used to respond to events, change the model and inject changes to data into views. Basically, you whack the EventMap tag into your Application.mxml, use the standard dispatchEvent and magically, everything works.</p>
<p>Unless you&#8217;re view is used in a popup window and you want to use MATE events and the model.</p>
<p>The reason being popup windows within AIR have an entirely different displayList to the Application displayList and your EventMap won&#8217;t be able to intercept events dispatched using the standard disptachEvent.</p>
<p>After some poking around in the MATE documentation (which is very good by the way) I found a Dispatch tag, which can also be instantiated via ActionScript. So, I simply made an instance of Dispatch and used the dispatchEvent method and once again, magically, everything worked.</p>
<pre class="brush: jscript;">
var countdownEvent : CountdownEvent = new CountdownEvent(CountdownEvent.SET);
countdownEvent.countdown = event.newValue;

var d : Dispatcher = new Dispatcher();
d.dispatchEvent(countdownEvent);
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottmebberson.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottmebberson.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottmebberson.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottmebberson.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottmebberson.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottmebberson.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottmebberson.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottmebberson.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottmebberson.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottmebberson.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=114&subd=scottmebberson&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://scottmebberson.wordpress.com/2009/05/27/dispatching-events-in-adobe-air-using-mate/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7a8378aa8040faec725a250cfc4c6f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mebbo</media:title>
		</media:content>
	</item>
		<item>
		<title>Australian Mobile Phone Validator for Flex</title>
		<link>http://scottmebberson.wordpress.com/2009/04/16/australian-mobile-phone-validator-for-flex/</link>
		<comments>http://scottmebberson.wordpress.com/2009/04/16/australian-mobile-phone-validator-for-flex/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 00:00:58 +0000</pubDate>
		<dc:creator>Scott Mebberson</dc:creator>
				<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://scottmebberson.wordpress.com/?p=100</guid>
		<description><![CDATA[Flex comes with a bunch of great validators built-in. You can use them for the majority of your data validation needs. However, for us Australians, the PhoneNumberValidator doesn&#8217;t work if you want to ensure users provide valid Australian mobile numbers. Like the US our mobile numbers need to be 10 digits long, but Australian mobile [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=100&subd=scottmebberson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Flex comes <a href="http://livedocs.adobe.com/flex/3/langref/mx/validators/package-detail.html" target="_blank">with a bunch of great validators built-in</a>. You can use them for the majority of your data validation needs. However, for us Australians, the <a href="http://livedocs.adobe.com/flex/3/langref/mx/validators/PhoneNumberValidator.html" target="_blank">PhoneNumberValidator</a> doesn&#8217;t work if you want to ensure users provide valid Australian mobile numbers.</p>
<p>Like the US our mobile numbers need to be 10 digits long, but <a href="http://en.wikipedia.org/wiki/%2B61" target="_blank">Australian mobile numbers must start with 04</a>.</p>
<p>I&#8217;ve used this in a number of projects and decided to break it out as <a href="http://www.scottmebberson.com/examples/australianmobilevalidator/" target="_blank">an example of extending the Validator class</a> to write your own validation routines. You can download the source (including the Unit test) from the example page.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottmebberson.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottmebberson.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottmebberson.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottmebberson.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottmebberson.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottmebberson.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottmebberson.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottmebberson.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottmebberson.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottmebberson.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=100&subd=scottmebberson&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://scottmebberson.wordpress.com/2009/04/16/australian-mobile-phone-validator-for-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7a8378aa8040faec725a250cfc4c6f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mebbo</media:title>
		</media:content>
	</item>
		<item>
		<title>View Notifications: responding to Cairngorm Commands in the View</title>
		<link>http://scottmebberson.wordpress.com/2009/03/25/view-notifications-responding-to-cairngorm-commands-in-the-view/</link>
		<comments>http://scottmebberson.wordpress.com/2009/03/25/view-notifications-responding-to-cairngorm-commands-in-the-view/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 01:01:33 +0000</pubDate>
		<dc:creator>Scott Mebberson</dc:creator>
				<category><![CDATA[cairngorm]]></category>
		<category><![CDATA[flash platform]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://scottmebberson.wordpress.com/?p=86</guid>
		<description><![CDATA[As I&#8217;ve previously mentioned, we&#8217;re in the early architecting stages of a Flex application and we&#8217;re being confronted with some key decisions to be made. I think some these might be useful so I&#8217;ll continue my Flex based posts during the project. The basic premise of Cairngorm and the ModelLocator pattern is that each Command [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=86&subd=scottmebberson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>As <a href="http://blog.scottmebberson.com/2009/03/24/editing-vos-in-the-model/" target="_blank">I&#8217;ve previously mentioned</a>, we&#8217;re in the early architecting stages of a Flex application and we&#8217;re being confronted with some key decisions to be made. I think some these might be useful so I&#8217;ll continue my Flex based posts during the project.</p>
<p>The basic premise of Cairngorm and the ModelLocator pattern is that each Command (responsible for retrieving data from the server via the ServiceLocator pattern) retrieves the data and then updates the Model with the new data. In turn, your Views can then respond to changes in the Model via Flex&#8217;s baked-in data binding. This is one of the most useful features of Cairngorm and makes it perfect for large scale Flex applications.</p>
<p>But what about the times when you don&#8217;t want the Command to change the Model? One of the downsides of the ModelLocator pattern is if you go sticking everything in the model, it will quickly become polluted.</p>
<p>There has been much discussion in the past about how to best deal with this situation:</p>
<ul>
<li><a href="http://weblogs.macromedia.com/auhlmann/archives/2006/06/cairngorm_sampl.html" target="_blank">Alex Uhlmann&#8217;s post How Business Logic Can Manage Views</a></li>
<li><a href="http://www.dgrigg.com/post.cfm/04/12/2007/Cairngorm-Commands-Views-and-Harikiri" target="_blank">Derrick Grigg&#8217;s post Cairngorm, Commands, Views and Harikiri</a></li>
<li><a href="http://www.thomasburleson.biz/2007/06/cairngorm_view_notifications.html" target="_blank">Thomas Burleson&#8217;s Cairngorm View Notifications</a></li>
</ul>
<p>This time around we chose <a href="http://www.thomasburleson.biz/2007/06/cairngorm_view_notifications.html" target="_blank">Thomas Burleson&#8217;s View Notifications</a> resolution. It seemed to make perfect sense, it was clean and easy to achieve.</p>
<p>After successfully implementing it (which really was simple), I can definitely recommend View Notifications as a means to respond to Commands directly within your Views!</p>
<p>It seems <a href="http://code.google.com/p/flexcairngorm/" target="_blank">Thomas and the Universal Mind team are looking to formalise this and some of their other Cairngorm extensions</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottmebberson.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottmebberson.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottmebberson.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottmebberson.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottmebberson.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottmebberson.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottmebberson.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottmebberson.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottmebberson.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottmebberson.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=86&subd=scottmebberson&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://scottmebberson.wordpress.com/2009/03/25/view-notifications-responding-to-cairngorm-commands-in-the-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7a8378aa8040faec725a250cfc4c6f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mebbo</media:title>
		</media:content>
	</item>
		<item>
		<title>Implementing Lazy Loading via a Ghost</title>
		<link>http://scottmebberson.wordpress.com/2009/03/24/implementing-lazy-loading-via-a-ghost/</link>
		<comments>http://scottmebberson.wordpress.com/2009/03/24/implementing-lazy-loading-via-a-ghost/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 06:23:41 +0000</pubDate>
		<dc:creator>Scott Mebberson</dc:creator>
				<category><![CDATA[flash platform]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://scottmebberson.wordpress.com/?p=84</guid>
		<description><![CDATA[Many of our Flex applications contain a datagrid showing a large set of objects. It provides a central point in an interface for users to sort and filter the larger set of data with little effort on our behalf because the datagrid control is so feature rich (i.e. good value for money, or ROI). Datagrids [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=84&subd=scottmebberson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Many of our Flex applications contain a datagrid showing a large set of objects. It provides a central point in an interface for users to sort and filter the larger set of data with little effort on our behalf because the datagrid control is so feature rich (i.e. good value for money, or ROI).</p>
<p>Datagrids are also very handy for showing only a limited number of object properties until the user selects a record, generally resulting in a detailed view showing more or all object properties.</p>
<p>You need to be careful however, ensuring you avoid common pitfalls such as loading large data sets all at once, using up more memory than you need to causing the application to feel sluggish and slow.</p>
<p>A fantastic approach to avoiding these situations is to use the <a href="http://en.wikipedia.org/wiki/Lazy_loading" target="_blank">Lazy Loading design pattern</a> via a Ghost.</p>
<p>Lazy Loading is the practice of deferring initialisation of an object until the last minute (or the point it is actually required). Using the Ghost implementation of Lazy Loading allows you to load an object in a partial state; or put simply, load only a subset of the objects properties until all of them are required.</p>
<p>The properties you would load initially are those you want to display in the datagrid, and the rest could be loaded and injected into the appropriate object once selected in the datagrid and the detail view appears.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottmebberson.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottmebberson.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottmebberson.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottmebberson.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottmebberson.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottmebberson.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottmebberson.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottmebberson.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottmebberson.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottmebberson.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=84&subd=scottmebberson&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://scottmebberson.wordpress.com/2009/03/24/implementing-lazy-loading-via-a-ghost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7a8378aa8040faec725a250cfc4c6f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mebbo</media:title>
		</media:content>
	</item>
		<item>
		<title>Editing VOs in the model?</title>
		<link>http://scottmebberson.wordpress.com/2009/03/24/editing-vos-in-the-model/</link>
		<comments>http://scottmebberson.wordpress.com/2009/03/24/editing-vos-in-the-model/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 04:43:14 +0000</pubDate>
		<dc:creator>Scott Mebberson</dc:creator>
				<category><![CDATA[cairngorm]]></category>
		<category><![CDATA[flash platform]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://scottmebberson.wordpress.com/?p=82</guid>
		<description><![CDATA[We&#8217;re working on a Flex application at work, using Cairngorm, and we&#8217;re in the early architecting stages of the project. We have a datagrid showing a list of clients (an ArrayCollection containing ClientVOs, which lives in model.clients). We need to provide the functionality to edit a ClientVO, and save the data back to the database. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=82&subd=scottmebberson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re working on a Flex application at work, using Cairngorm, and we&#8217;re in the early architecting stages of the project.</p>
<p>We have a datagrid showing a list of clients (an ArrayCollection containing ClientVOs, which lives in model.clients).</p>
<p>We need to provide the functionality to edit a ClientVO, and save the data back to the database. When constructing the edit view we had to decide to either pass the ClientVO to the view by reference or to pass the ClientVO to the view by value.</p>
<p>The events we had to manage when exiting from the ClientVO edit view where:</p>
<ul>
<li><b>Save.</b> Save the ClientVO to the database, but do not exit the edit view.</li>
<li><b>Done.</b> Save the ClientVO to the database and exit the edit view.</li>
<li><b>Cancel.</b> Exit the edit view and discard any changes.</li>
</ul>
<p>The Cancel event basically forced us to pass the ClientVO to the view by value, which gives you great flexibility on editing a local (to the edit view) version of the ClientVO.</p>
<p>However, it does mean you need to force the edited ClientVO back into model.clients (so that the datagrid contains the new values) at the correct index, effectively replacing the old version of the ClientVO and not an unrelated ClientVO.</p>
<p>I&#8217;m not sure if there is a Design Pattern that supports this, or demonstrates how to handle this better.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottmebberson.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottmebberson.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottmebberson.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottmebberson.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottmebberson.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottmebberson.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottmebberson.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottmebberson.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottmebberson.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottmebberson.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=82&subd=scottmebberson&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://scottmebberson.wordpress.com/2009/03/24/editing-vos-in-the-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7a8378aa8040faec725a250cfc4c6f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mebbo</media:title>
		</media:content>
	</item>
		<item>
		<title>Improving chance in randomisation</title>
		<link>http://scottmebberson.wordpress.com/2009/02/10/improving-chance-in-randomisation/</link>
		<comments>http://scottmebberson.wordpress.com/2009/02/10/improving-chance-in-randomisation/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 01:05:58 +0000</pubDate>
		<dc:creator>Scott Mebberson</dc:creator>
				<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://blog.scottmebberson.com/?p=60</guid>
		<description><![CDATA[The term random denotes any control over the outcome, frequency or chance of reoccurrence. However, as programmers sometimes we need the ability to persuade a particular reoccurrence to be more or less frequent. A common and easy method to randomly pick an item from a list, is to use an Array. Fill the Array with the available options [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=60&subd=scottmebberson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>The term <em><a title="random definition" href="http://dictionary.reference.com/browse/random" target="_blank">random</a></em> denotes any control over the outcome, frequency or chance of reoccurrence. However, as programmers sometimes we need the ability to persuade a particular reoccurrence to be more or less frequent.</p>
<p>A common and easy method to randomly pick an item from a list, is to use an Array. Fill the Array with the available options and then randomly choose one, like so:</p>
<pre class="brush: jscript;">

var a : Array = ['first item','second item','third item','fourth item'];
var s : String = Math.floor(Math.random()*a.length); 
</pre>
<p>What happens when you want to increase the <a title="chance definition" href="http://dictionary.reference.com/browse/chance" target="_blank">chance</a> of the &#8216;first item&#8217; being selected? A simple option is to add more occurrences of &#8216;first item&#8217; into the Array, as follows:</p>
<pre class="brush: jscript;">

var a : Array = ['first item','first item','first item','second item','third item','fourth item'];
var s : String = Math.floor(Math.random()*a.length); 
</pre>
<p>I&#8217;m not a mathematician, but in my experiments this method increases the <a title="chance definition" href="http://dictionary.reference.com/browse/chance" target="_blank">chance</a> of &#8216;first item&#8217; being selected; yet still being completely <a title="random definition" href="http://dictionary.reference.com/browse/random" target="_blank">random</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottmebberson.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottmebberson.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottmebberson.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottmebberson.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottmebberson.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottmebberson.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottmebberson.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottmebberson.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottmebberson.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottmebberson.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=60&subd=scottmebberson&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://scottmebberson.wordpress.com/2009/02/10/improving-chance-in-randomisation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7a8378aa8040faec725a250cfc4c6f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mebbo</media:title>
		</media:content>
	</item>
		<item>
		<title>Cairngorm Stub Files</title>
		<link>http://scottmebberson.wordpress.com/2008/05/23/cairngorm-stub-files/</link>
		<comments>http://scottmebberson.wordpress.com/2008/05/23/cairngorm-stub-files/#comments</comments>
		<pubDate>Fri, 23 May 2008 01:21:59 +0000</pubDate>
		<dc:creator>Scott Mebberson</dc:creator>
				<category><![CDATA[cairngorm]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://scottmebberson.wordpress.com/?p=33</guid>
		<description><![CDATA[I really like Cairngorm, I think it is an excellent framework to build RIAs in. I just don&#8217;t like all the work, memory involved in setting it up all the time. I&#8217;m not really sure how others do this, but I usually grab an example application (such as the Advanced Cairngorm Store) and start ripping [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=33&subd=scottmebberson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I really like Cairngorm, I think it is an excellent framework to build RIAs in. I just don&#8217;t like all the work, memory involved in setting it up all the time.</p>
<p>I&#8217;m not really sure how others do this, but I usually grab an example application (such as the <a href="http://cairngormdocs.org/blog/?p=17">Advanced Cairngorm Store</a>) and start ripping out all the bits and pieces I don&#8217;t need. This is a laborious and boring task, so I decided to do something about it.</p>
<p>I created a set of <a href="http://www.box.net/shared/wvytieww00">Cairngorm Stub Files</a> (setup under the com.example path). They contain stub-code/files for most of the Cairngorm infrastructure that you would usually use in a Cairngorm project.</p>
<p>The files make a nice starting point, and because there are so many bits and pieces to the Cairngorm Framework, they also act as a nice cheat sheet to all of the classes, and patterns in Cairngorm.</p>
<p>Let me know if you find any bugs and I&#8217;ll update the stub files.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/scottmebberson.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/scottmebberson.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottmebberson.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottmebberson.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottmebberson.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottmebberson.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottmebberson.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottmebberson.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottmebberson.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottmebberson.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottmebberson.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottmebberson.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.scottmebberson.com&blog=1083980&post=33&subd=scottmebberson&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://scottmebberson.wordpress.com/2008/05/23/cairngorm-stub-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7a8378aa8040faec725a250cfc4c6f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mebbo</media:title>
		</media:content>
	</item>
	</channel>
</rss>