<?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/"
		>
<channel>
	<title>Comments on: Data binding in Flex</title>
	<atom:link href="http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sat, 11 Feb 2012 11:51:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: shan</title>
		<link>http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/comment-page-1/#comment-10001</link>
		<dc:creator>shan</dc:creator>
		<pubDate>Tue, 27 Sep 2011 11:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/#comment-10001</guid>
		<description>Very nice example and clear explanation.Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Very nice example and clear explanation.Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/comment-page-1/#comment-7291</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 17 Mar 2010 22:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/#comment-7291</guid>
		<description>Could these binding utils be used to bind the text of a RTE (including the size/weight/color/etc...) to a label/text area?  I&#039;ve set the function up to bind between a RTE and a label, but it won&#039;t carry over the weight/size/color of the text.  It will on the other hand carry over the font type.  Am I missing something?  I have a feeling it&#039;s something to do with the fontarrays and the like with the RTE, but I was wondering if I could get some input on this. 

Thanks.</description>
		<content:encoded><![CDATA[<p>Could these binding utils be used to bind the text of a RTE (including the size/weight/color/etc&#8230;) to a label/text area?  I&#8217;ve set the function up to bind between a RTE and a label, but it won&#8217;t carry over the weight/size/color of the text.  It will on the other hand carry over the font type.  Am I missing something?  I have a feeling it&#8217;s something to do with the fontarrays and the like with the RTE, but I was wondering if I could get some input on this. </p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc de Kwant</title>
		<link>http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/comment-page-1/#comment-6802</link>
		<dc:creator>Marc de Kwant</dc:creator>
		<pubDate>Wed, 20 Jan 2010 09:07:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/#comment-6802</guid>
		<description>Since bi-directional binding is not supported in Flex 3, you can use a mapping file and a binder class using the mapping file to support bi-directional binding.
Furthermore this will reduce code and extract the mapping/binding concern from your main application code.
Sample:  &lt;a href=&quot;http://dekwant.eu/?p=111&quot; rel=&quot;nofollow&quot;&gt;Flex binding&lt;/a&gt;
  
Kind regards,
  
&lt;a href=&quot;http://nl.linkedin.com/in/marcdekwant&quot; rel=&quot;nofollow&quot;&gt;Marc&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Since bi-directional binding is not supported in Flex 3, you can use a mapping file and a binder class using the mapping file to support bi-directional binding.<br />
Furthermore this will reduce code and extract the mapping/binding concern from your main application code.<br />
Sample:  <a href="http://dekwant.eu/?p=111" rel="nofollow">Flex binding</a></p>
<p>Kind regards,</p>
<p><a href="http://nl.linkedin.com/in/marcdekwant" rel="nofollow">Marc</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne</title>
		<link>http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/comment-page-1/#comment-5765</link>
		<dc:creator>Anne</dc:creator>
		<pubDate>Mon, 14 Sep 2009 20:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/#comment-5765</guid>
		<description>By the way, the error I am getting is something like &quot;Record is locked and can&#039;t be saved&quot; - this only occurs in the for loop, not in the single call (which works/updates correctly)</description>
		<content:encoded><![CDATA[<p>By the way, the error I am getting is something like &#8220;Record is locked and can&#8217;t be saved&#8221; &#8211; this only occurs in the for loop, not in the single call (which works/updates correctly)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne</title>
		<link>http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/comment-page-1/#comment-5764</link>
		<dc:creator>Anne</dc:creator>
		<pubDate>Mon, 14 Sep 2009 20:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/#comment-5764</guid>
		<description>Peter,

Thanks for the site - I refer to it frequently.  On to the matter at hand:

I am attempting to bind an object&#039;s property to another object&#039;s property for writing to a mySQL database.  It works correctly, however, I need to do this task a dynamic number of times based on user interaction with the datagrid (based on how many items they have selected in the &quot;multipleSelectionsAllowed&quot; datagrid).  

code is something like:
&lt;code&gt;
for each (var obj:Object in myObjCollection)  //myObjCollection is the list of selected items in datagrid
{
      BindingUtils.bindProperty(_destObj, &quot;myProp&quot;, obj, &quot;myProp&quot;);
      var asyncToken:AsyncToken  = _destObj.save();
}
&lt;/code&gt; 
where destObj is defined as the same type object as obj

The line &quot;var asyncToken:AsyncToken  = _destObj.save();&quot; works fine outside of the loop with a separate binding of source/dest in  but only does this for one item, not each in the list.

Any help is much appreciated :D</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>Thanks for the site &#8211; I refer to it frequently.  On to the matter at hand:</p>
<p>I am attempting to bind an object&#8217;s property to another object&#8217;s property for writing to a mySQL database.  It works correctly, however, I need to do this task a dynamic number of times based on user interaction with the datagrid (based on how many items they have selected in the &#8220;multipleSelectionsAllowed&#8221; datagrid).  </p>
<p>code is something like:<br />
<code><br />
for each (var obj:Object in myObjCollection)  //myObjCollection is the list of selected items in datagrid<br />
{<br />
      BindingUtils.bindProperty(_destObj, "myProp", obj, "myProp");<br />
      var asyncToken:AsyncToken  = _destObj.save();<br />
}<br />
</code><br />
where destObj is defined as the same type object as obj</p>
<p>The line &#8220;var asyncToken:AsyncToken  = _destObj.save();&#8221; works fine outside of the loop with a separate binding of source/dest in  but only does this for one item, not each in the list.</p>
<p>Any help is much appreciated :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/comment-page-1/#comment-4790</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Tue, 28 Jul 2009 13:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/#comment-4790</guid>
		<description>Works for me on Vista 64 w/ Google Chrome 2.0.172.33.</description>
		<content:encoded><![CDATA[<p>Works for me on Vista 64 w/ Google Chrome 2.0.172.33.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alograg</title>
		<link>http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/comment-page-1/#comment-4779</link>
		<dc:creator>Alograg</dc:creator>
		<pubDate>Mon, 27 Jul 2009 22:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/#comment-4779</guid>
		<description>This post not render on Chrome.</description>
		<content:encoded><![CDATA[<p>This post not render on Chrome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xueyu</title>
		<link>http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/comment-page-1/#comment-4715</link>
		<dc:creator>xueyu</dc:creator>
		<pubDate>Fri, 24 Jul 2009 11:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/#comment-4715</guid>
		<description>very nice example, thank you very much!</description>
		<content:encoded><![CDATA[<p>very nice example, thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Webdevotion</title>
		<link>http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/comment-page-1/#comment-1465</link>
		<dc:creator>Webdevotion</dc:creator>
		<pubDate>Mon, 20 Apr 2009 06:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/#comment-1465</guid>
		<description>Another way could be to use Actionscript only as described in a blogpost of mine.  It shows you how you can bind to a component and use a labelFunction to return a value, instead of the actual value (e.g.: a formatted datestring instead of a date object).

http://webdevotion.be/blog/2009/04/20/binding-between-a-datefield-and-a-button-label-at-runtime/</description>
		<content:encoded><![CDATA[<p>Another way could be to use Actionscript only as described in a blogpost of mine.  It shows you how you can bind to a component and use a labelFunction to return a value, instead of the actual value (e.g.: a formatted datestring instead of a date object).</p>
<p><a href="http://webdevotion.be/blog/2009/04/20/binding-between-a-datefield-and-a-button-label-at-runtime/" rel="nofollow">http://webdevotion.be/blog/2009/04/20/binding-between-a-datefield-and-a-button-label-at-runtime/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simon</title>
		<link>http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/comment-page-1/#comment-1466</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Wed, 08 Apr 2009 01:03:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/#comment-1466</guid>
		<description>A few examples of how to use the binding utilities with Objects and ArrayCollections would be most appreciated too.</description>
		<content:encoded><![CDATA[<p>A few examples of how to use the binding utilities with Objects and ArrayCollections would be most appreciated too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

