<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: PSA: Bindable Setters Don&#8217;t Fire!</title>
	<atom:link href="http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/feed/" rel="self" type="application/rss+xml" />
	<link>http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/</link>
	<description>It doesn't amount to much, but it sure is fun.</description>
	<lastBuildDate>Fri, 23 Oct 2009 20:12:27 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: nwebb &#187; One Reason Why Your Flex Getter May Not Execute</title>
		<link>http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/#comment-912</link>
		<dc:creator>nwebb &#187; One Reason Why Your Flex Getter May Not Execute</dc:creator>
		<pubDate>Wed, 23 Jul 2008 12:29:07 +0000</pubDate>
		<guid isPermaLink="false">http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/#comment-912</guid>
		<description>[...] ensures that the setter is run regardless. The issue was also reported by Tony Hillerson ( thanks to Tony and the guys who left comments for identifying the cause and saving me from [...]</description>
		<content:encoded><![CDATA[<p>[...] ensures that the setter is run regardless. The issue was also reported by Tony Hillerson ( thanks to Tony and the guys who left comments for identifying the cause and saving me from [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Bell</title>
		<link>http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/#comment-903</link>
		<dc:creator>Ryan Bell</dc:creator>
		<pubDate>Thu, 17 Apr 2008 23:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/#comment-903</guid>
		<description>Maybe you figured this out already, but I just found another (perhaps better) workaround for this as I was reading Adobe&#039;s Flex Binding documentation.

Supposedly, if you specify a custom binding event instead of letting Flex manage it by generating its own propertyChange event, it will skip the check to to see if the new value matches the current value, and will call the setter regardless. The setter would then be responsible for determining if a change really had occurred and dispatching the custom binding event itself. 

[Bindable(event=&quot;myPropChange&quot;)]</description>
		<content:encoded><![CDATA[<p>Maybe you figured this out already, but I just found another (perhaps better) workaround for this as I was reading Adobe&#8217;s Flex Binding documentation.</p>
<p>Supposedly, if you specify a custom binding event instead of letting Flex manage it by generating its own propertyChange event, it will skip the check to to see if the new value matches the current value, and will call the setter regardless. The setter would then be responsible for determining if a change really had occurred and dispatching the custom binding event itself. </p>
<p>[Bindable(event="myPropChange")]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Bell</title>
		<link>http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/#comment-902</link>
		<dc:creator>Ryan Bell</dc:creator>
		<pubDate>Tue, 15 Apr 2008 16:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/#comment-902</guid>
		<description>I&#039;m glad you documented this. I just ran into this today here down the block in a setter that wasn&#039;t causing a component to update itself as expected. My workaround: make a public &quot;refresh()&quot; method on the component, and move all update logic from the setter to that method. Then in addition to having the setter call refresh(), I call it externally if the property is already set to the object reference I want it to use. There are probably more elegant ways of doing this but it works...</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad you documented this. I just ran into this today here down the block in a setter that wasn&#8217;t causing a component to update itself as expected. My workaround: make a public &#8220;refresh()&#8221; method on the component, and move all update logic from the setter to that method. Then in addition to having the setter call refresh(), I call it externally if the property is already set to the object reference I want it to use. There are probably more elegant ways of doing this but it works&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mika</title>
		<link>http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/#comment-809</link>
		<dc:creator>mika</dc:creator>
		<pubDate>Mon, 10 Dec 2007 16:13:11 +0000</pubDate>
		<guid isPermaLink="false">http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/#comment-809</guid>
		<description>Thanks for information.</description>
		<content:encoded><![CDATA[<p>Thanks for information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Bayes</title>
		<link>http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/#comment-365</link>
		<dc:creator>Luke Bayes</dc:creator>
		<pubDate>Fri, 13 Jul 2007 19:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/#comment-365</guid>
		<description>It&#039;s actually even worse if your properties contain references to objects rather than simply primitive values.

If someone changed a value on the object, and then calls the setter hoping to trigger an update, none will come. You have to first set it to null, then re-set the reference.

Kind of frustrating, but probably not as frustrating as an extremely slow, choppy experience....</description>
		<content:encoded><![CDATA[<p>It&#8217;s actually even worse if your properties contain references to objects rather than simply primitive values.</p>
<p>If someone changed a value on the object, and then calls the setter hoping to trigger an update, none will come. You have to first set it to null, then re-set the reference.</p>
<p>Kind of frustrating, but probably not as frustrating as an extremely slow, choppy experience&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ericsoco</title>
		<link>http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/#comment-61</link>
		<dc:creator>ericsoco</dc:creator>
		<pubDate>Mon, 23 Apr 2007 23:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://thillerson.wordpress.com/2006/12/13/psa-bindable-setters-dont-fire/#comment-61</guid>
		<description>ack.  spent the whole afternoon on this problem.  it&#039;s definitely a bug IMHO; &#039;bug&#039; may not be exactly the right word, perhaps it&#039;s better to say &quot;bad design decision&quot; on the part of Adobe.

take, for example, a setter that is expecting an Array.  i set the array property to arrayX; the setter fires.  i modify arrayX -- for example, i push something into it -- and again set the array property to arrayX.  the setter doesn&#039;t fire, the display that&#039;s binding that array property doesn&#039;t update.

not good.</description>
		<content:encoded><![CDATA[<p>ack.  spent the whole afternoon on this problem.  it&#8217;s definitely a bug IMHO; &#8216;bug&#8217; may not be exactly the right word, perhaps it&#8217;s better to say &#8220;bad design decision&#8221; on the part of Adobe.</p>
<p>take, for example, a setter that is expecting an Array.  i set the array property to arrayX; the setter fires.  i modify arrayX &#8212; for example, i push something into it &#8212; and again set the array property to arrayX.  the setter doesn&#8217;t fire, the display that&#8217;s binding that array property doesn&#8217;t update.</p>
<p>not good.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
