<?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; ActionScript</title>
	<atom:link href="http://www.theerrormessage.com/category/actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theerrormessage.com</link>
	<description>Fix your error</description>
	<lastBuildDate>Tue, 13 Dec 2011 20:16:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<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:
<pre class="code brush:javascript">
override public function set data(value:Object):void{
local_var = value.toString();
}
</pre>
<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>3</slash:comments>
		</item>
	</channel>
</rss>

