<?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>The Boschmans Account &#187; flexbuilder</title>
	<atom:link href="http://www.boschmans.net/tag/flexbuilder/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.boschmans.net</link>
	<description>A collection of interests and happenings...</description>
	<lastBuildDate>Wed, 01 Feb 2012 22:21:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>flex error 1180: Call to a possibly undefined method SortField.</title>
		<link>http://www.boschmans.net/2009/08/05/flex-error-1180-call-to-a-possibly-undefined-method-sortfield/</link>
		<comments>http://www.boschmans.net/2009/08/05/flex-error-1180-call-to-a-possibly-undefined-method-sortfield/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 22:10:13 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Blog News]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[flexbuilder]]></category>

		<guid isPermaLink="false">http://www.boschmans.net/?p=735</guid>
		<description><![CDATA[Here I was, following a very nice tutorial showing you how to use an XMLListCollection with a nice example with source view enabled (thank you Bruce Phillips, btw!) when suddenly flexbuilder starts to complain about error 1180 : Call to &#8230; <a href="http://www.boschmans.net/2009/08/05/flex-error-1180-call-to-a-possibly-undefined-method-sortfield/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here I was, following a very nice <a title="flex2 xmllistcollection tutorial" href="http://www.brucephillips.name/blog/index.cfm/2007/7/24/Using-An-XMLListCollection-As-A-Data-Provider-and-Sorting-An-XMLListCollection-in-Flex-2" target="_blank">tutorial</a> showing you how to use an XMLListCollection with a nice <a title="XMLListCollection example in flex2 sdk" href="http://www.brucephillips.name/flex/xmllistcollectionexample/XMLListCollectionExample.html" target="_blank">example </a>with source view enabled (thank you Bruce Phillips, btw!) when suddenly flexbuilder starts to complain about error <em>1180 : Call to a possibly undefined method Sortfield</em>.</p>
<p>Even when the sortfield function is right there in the same function !?</p>
<p>It turns out, after quite a bit of googling around finding not very much, that flexbuilder for once did *not* automagically write the import statement for the sortfield. It did so for the sort function, but not for the sortfield function. I don&#8217;t know if this only happened to me or if this is so all the time.</p>
<p>But here, the advantage of working with flexbuilder turned to a disadvantage &#8211; I expected it to add the import statement necessary for it all by itself; for once, it did not do it.</p>
<p>All I needed to do was to add the <span style="white-space: pre;"> </span><em>import mx.collections.SortField;</em> to get things working again. Still, I lost some programming time looking for a solution to this problem, so I&#8217;m blogging this in case you have a similar experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.boschmans.net/2009/08/05/flex-error-1180-call-to-a-possibly-undefined-method-sortfield/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

