<?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: Detecting changes to an Object using the Flex ObjectProxy class</title>
	<atom:link href="http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: titouille</title>
		<link>http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/comment-page-1/#comment-1411</link>
		<dc:creator>titouille</dc:creator>
		<pubDate>Tue, 20 Nov 2007 13:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/#comment-1411</guid>
		<description>Hello,

I have coupled this method with an editable datagrid to submit each change, and no problem, it rock&#039;s !
But now I have another datagrid with a combobox cellRenderer column (like in this example : http://philflash.inway.fr/flex/dgRendererSimple/srcview/index.html) but the cellRenderer doesn&#039;t fire the PropertyChangeEvent... maybe the affectation is made programmatically ?? I have tried to simulate the event (in the onChange method of the cellRenderer) but no way... any idea to solve that ?

Thanks in advance for any suggestion</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I have coupled this method with an editable datagrid to submit each change, and no problem, it rock&#8217;s !<br />
But now I have another datagrid with a combobox cellRenderer column (like in this example : <a href="http://philflash.inway.fr/flex/dgRendererSimple/srcview/index.html" rel="nofollow">http://philflash.inway.fr/flex/dgRendererSimple/srcview/index.html</a>) but the cellRenderer doesn&#8217;t fire the PropertyChangeEvent&#8230; maybe the affectation is made programmatically ?? I have tried to simulate the event (in the onChange method of the cellRenderer) but no way&#8230; any idea to solve that ?</p>
<p>Thanks in advance for any suggestion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabe</title>
		<link>http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/comment-page-1/#comment-1415</link>
		<dc:creator>Gabe</dc:creator>
		<pubDate>Tue, 06 Nov 2007 11:40:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/#comment-1415</guid>
		<description>The above works on Flex Builder 2 also. You don&#039;t need to use ObjectProxy. In JavaScript 1.5 the equivalent is Object.watch().</description>
		<content:encoded><![CDATA[<p>The above works on Flex Builder 2 also. You don&#8217;t need to use ObjectProxy. In JavaScript 1.5 the equivalent is Object.watch().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Radek</title>
		<link>http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/comment-page-1/#comment-1413</link>
		<dc:creator>Radek</dc:creator>
		<pubDate>Mon, 29 Oct 2007 14:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/#comment-1413</guid>
		<description>Actually I think you don&#039;t have to use ObjectProxy for that.
Try this:

&lt;pre class=&quot;code&quot;&gt;
public class Test
{
    [Bindable] public var test:Boolean;
}
&lt;/pre&gt;

---

&lt;pre class=&quot;code&quot;&gt;
var t:Test = new Test();
t.addEventListener(&quot;propertyChange&quot;, Handler.onPropertyChange);
t.test = true;
&lt;/pre&gt;

You will get and event also... even if your object doesn&#039;t extend event dispatcher. I&#039;ve tested this code Flex Builder 3 Beta 2.</description>
		<content:encoded><![CDATA[<p>Actually I think you don&#8217;t have to use ObjectProxy for that.<br />
Try this:</p>
<pre class="code">
public class Test
{
    [Bindable] public var test:Boolean;
}
</pre>
<p>&#8212;</p>
<pre class="code">
var t:Test = new Test();
t.addEventListener("propertyChange", Handler.onPropertyChange);
t.test = true;
</pre>
<p>You will get and event also&#8230; even if your object doesn&#8217;t extend event dispatcher. I&#8217;ve tested this code Flex Builder 3 Beta 2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonis</title>
		<link>http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/comment-page-1/#comment-1412</link>
		<dc:creator>Antonis</dc:creator>
		<pubDate>Mon, 15 Oct 2007 08:20:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/#comment-1412</guid>
		<description>I finnally found the cause of the error.

I had created a new project with name ObjectProxy and the applacation name was ObjectProxy too.

So there was a name conflict when the ObjectProxy object was created.

Thanks for your time.</description>
		<content:encoded><![CDATA[<p>I finnally found the cause of the error.</p>
<p>I had created a new project with name ObjectProxy and the applacation name was ObjectProxy too.</p>
<p>So there was a name conflict when the ObjectProxy object was created.</p>
<p>Thanks for your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/comment-page-1/#comment-1414</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Fri, 12 Oct 2007 14:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/#comment-1414</guid>
		<description>Antonis,

I just double checked with Beta 2 and didn&#039;t see any errors at compile-time or run-time.
Are you sure you&#039;re publishing with the beta 2 SDK and not an earlier version? Also, which version of Flash Player are you using? (if you aren&#039;t sure, I recently added an &quot;About you&quot; page to this site at http://blog.flexexamples.com/about-you/).

Peter</description>
		<content:encoded><![CDATA[<p>Antonis,</p>
<p>I just double checked with Beta 2 and didn&#8217;t see any errors at compile-time or run-time.<br />
Are you sure you&#8217;re publishing with the beta 2 SDK and not an earlier version? Also, which version of Flash Player are you using? (if you aren&#8217;t sure, I recently added an &#8220;About you&#8221; page to this site at <a href="http://blog.flexexamples.com/about-you/" rel="nofollow">http://blog.flexexamples.com/about-you/</a>).</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonis</title>
		<link>http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/comment-page-1/#comment-1418</link>
		<dc:creator>Antonis</dc:creator>
		<pubDate>Fri, 12 Oct 2007 08:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/#comment-1418</guid>
		<description>I also download and install flex builder 3 (Flex 3 M3 (Beta 2)) and same error occured.

1137: Incorrect number of arguments.  Expected no more than 0.</description>
		<content:encoded><![CDATA[<p>I also download and install flex builder 3 (Flex 3 M3 (Beta 2)) and same error occured.</p>
<p>1137: Incorrect number of arguments.  Expected no more than 0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/comment-page-1/#comment-1417</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Thu, 11 Oct 2007 15:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/#comment-1417</guid>
		<description>Antonis,

Sorry, I think I only tested using the Flex 3 Beta.

Peter</description>
		<content:encoded><![CDATA[<p>Antonis,</p>
<p>Sorry, I think I only tested using the Flex 3 Beta.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonis</title>
		<link>http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/comment-page-1/#comment-1416</link>
		<dc:creator>Antonis</dc:creator>
		<pubDate>Thu, 11 Oct 2007 12:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/#comment-1416</guid>
		<description>I copied and pasted the above code in a new flex application and i get the following error:

1137: Incorrect number of arguments.  Expected no more than 0.

Even i search in help about the constructor of ObjectProxy class and this it should working, it doesn&#039;t leave to put any arguments in new ObjectProxy object creation.

I &#039;m using Flex 2.0.1</description>
		<content:encoded><![CDATA[<p>I copied and pasted the above code in a new flex application and i get the following error:</p>
<p>1137: Incorrect number of arguments.  Expected no more than 0.</p>
<p>Even i search in help about the constructor of ObjectProxy class and this it should working, it doesn&#8217;t leave to put any arguments in new ObjectProxy object creation.</p>
<p>I &#8216;m using Flex 2.0.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ali</title>
		<link>http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/comment-page-1/#comment-1410</link>
		<dc:creator>Ali</dc:creator>
		<pubDate>Sat, 29 Sep 2007 02:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/#comment-1410</guid>
		<description>Man, this rocks...didn&#039;t know about that objectProxy....very tight!!!</description>
		<content:encoded><![CDATA[<p>Man, this rocks&#8230;didn&#8217;t know about that objectProxy&#8230;.very tight!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/comment-page-1/#comment-1409</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Fri, 28 Sep 2007 19:22:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/27/detecting-changes-to-an-object-using-the-flex-objectproxy-class/#comment-1409</guid>
		<description>Sweet!  Will this work for custom classes (like below) as well?

&lt;pre class=&quot;code&quot;&gt;
package Classes{
	[Bindable]
	public class Users{
		public var UserBadgeID:String = &quot;&quot;;
		public var UserEmail:String = &quot;&quot;;

		public function Users(){
		}
	}
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Sweet!  Will this work for custom classes (like below) as well?</p>
<pre class="code">
package Classes{
	[Bindable]
	public class Users{
		public var UserBadgeID:String = "";
		public var UserEmail:String = "";

		public function Users(){
		}
	}
}
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>

