<?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 Error Message &#187; Flex</title>
	<atom:link href="http://www.theerrormessage.com/category/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theerrormessage.com</link>
	<description>Fix your error</description>
	<lastBuildDate>Sun, 18 Jul 2010 03:21:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to dynamically add attributes and child nodes to an XML element in Flex</title>
		<link>http://www.theerrormessage.com/2008/12/how-to-add-attributes-to-an-xml-node-dinamically/</link>
		<comments>http://www.theerrormessage.com/2008/12/how-to-add-attributes-to-an-xml-node-dinamically/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 17:34:40 +0000</pubDate>
		<dc:creator>thalissar</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[How to]]></category>

		<guid isPermaLink="false">http://www.theerrormessage.com/2008/12/04/how-to-add-attributes-to-an-xml-node-dinamically/</guid>
		<description><![CDATA[This is how I copied all the attributes of an XML node (srcXMLNode) to another XML node (dstXMLNode) in Flex, without knowing the names of those attributes: for each(var attr:XML in srcXMLNode.attributes()) { dstXMLNode.@[attr.name()] = attr; } And this is the way I added child nodes of an XML element to another: for each(var elem:XML [...]]]></description>
			<content:encoded><![CDATA[<p>This is how I copied all the attributes of an XML node (srcXMLNode) to another XML node (dstXMLNode) in Flex, without knowing the names of those attributes:</p>
<p><code class="javascript">for each(var attr:XML in srcXMLNode.attributes())<br />
{<br />
dstXMLNode.@[attr.name()] = attr;<br />
}</code></p>
<p>And this is the way I added child nodes of an XML element to another:</p>
<p><code class="javascript">for each(var elem:XML in srcXMLNode.elements())<br />
{<br />
dstXMLNode[elem.name()] = elem;<br />
}</code></p>
<p>If you know a better way to do this, feel free to write a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theerrormessage.com/2008/12/how-to-add-attributes-to-an-xml-node-dinamically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1144: Interface method set data in namespace  is implemented with an incompatible signature in class .</title>
		<link>http://www.theerrormessage.com/2008/02/1144-interface-method-set-data-in-namespace-is-implemented-with-an-incompatible-signature-in-class/</link>
		<comments>http://www.theerrormessage.com/2008/02/1144-interface-method-set-data-in-namespace-is-implemented-with-an-incompatible-signature-in-class/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 01:10:49 +0000</pubDate>
		<dc:creator>gbl</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.theerrormessage.com/2008/02/20/1144-interface-method-set-data-in-namespace-is-implemented-with-an-incompatible-signature-in-class/</guid>
		<description><![CDATA[Full error message: 1144: Interface method set data in namespace is implemented with an incompatible signature in class. &#60;package:class&#62;&#60;mypackage:myclass&#62;&#60;/mypackage:myclass&#62;&#60;/package:class&#62; This error appears in Flex Builder / Eclipse on the Problems Tab.This error refers to the fact that an extended class named &#60;package.class&#62; with an over ridable function has a correspondent override in &#60;mypackage:myclass&#62; that doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Full error message: <em>1144: Interface method set data in namespace is implemented with an incompatible signature in class</em>.</p>
<p>&lt;package:class&gt;<em>&lt;mypackage:myclass&gt;&lt;/mypackage:myclass&gt;</em>&lt;/package:class&gt;</p>
<p>This error appears in Flex Builder / Eclipse on the Problems Tab.This error refers to the fact that an extended class named &lt;package.class&gt; with an over ridable function has a correspondent override in &lt;mypackage:myclass&gt; that doesn&#8217;t match the overrided function. To be more specific i&#8217;ll give you an example:<br />
Let&#8217;s say we want to create a custom data grid header renderer and in order to do this we will create a class <strong>VerticalHeaderRenderer </strong>that will extend <strong>DataGridItemRenderer</strong>. In the class <strong>VerticalHeaderRenderer </strong>we will override the setter function for the data property like this:<code class="javascript"><br />
override public function set data(value:Object):void{<br />
local_var = value.toString();<br />
}<br />
</code></p>
<p>This is the correct version and it will not give the error mentioned in the title but if we have a function that has a parameter of a different type then Object or a different return type we will receive the error.</p>
<p>Basically this error tells us that we are trying to override a function with different parameters or different return value type. So to escape this error you must ensure that the override is made correctly.</p>
<p>Hope this helps.</p>
<p>Good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theerrormessage.com/2008/02/1144-interface-method-set-data-in-namespace-is-implemented-with-an-incompatible-signature-in-class/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
