<?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: Best practices: Custom class mapping using OpenAMF and AS3 (Flash CS3 &#8211; not Flex)</title>
	<atom:link href="http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/</link>
	<description>// Flex - AIR - Flash - JavaScript</description>
	<lastBuildDate>Mon, 30 Jan 2012 12:57:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Komplexer Datentyp von Flash an Java mit AMF - Flashforum</title>
		<link>http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/comment-page-1/#comment-51764</link>
		<dc:creator>Komplexer Datentyp von Flash an Java mit AMF - Flashforum</dc:creator>
		<pubDate>Thu, 13 Jan 2011 15:54:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/#comment-51764</guid>
		<description>[...] Hier ein schönes Tutorial zu dem Thema. [...]</description>
		<content:encoded><![CDATA[<p>[...] Hier ein schönes Tutorial zu dem Thema. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: henry</title>
		<link>http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/comment-page-1/#comment-49713</link>
		<dc:creator>henry</dc:creator>
		<pubDate>Tue, 15 Jun 2010 08:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/#comment-49713</guid>
		<description>Hi Sector,

According to Manan question.. why then do most ppl insert the 
[RemoteClass()] in their code if it is not really necessary? or when is it necessary and when is it not needed?</description>
		<content:encoded><![CDATA[<p>Hi Sector,</p>
<p>According to Manan question.. why then do most ppl insert the<br />
[RemoteClass()] in their code if it is not really necessary? or when is it necessary and when is it not needed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: openamf_java</title>
		<link>http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/comment-page-1/#comment-49483</link>
		<dc:creator>openamf_java</dc:creator>
		<pubDate>Wed, 21 Oct 2009 12:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/#comment-49483</guid>
		<description>OpenAMF is a good library for AMF communications, I write a simple tutorial to get in communication servlet with as3 client side.

http://programmaremobile.blogspot.com/2009/10/java-and-amf-by-as3-in-flash.html

The problem is that OpenAMF supports only the AMF0 format, that is old. I don&#039;t like to use older version of a tecnologies</description>
		<content:encoded><![CDATA[<p>OpenAMF is a good library for AMF communications, I write a simple tutorial to get in communication servlet with as3 client side.</p>
<p><a href="http://programmaremobile.blogspot.com/2009/10/java-and-amf-by-as3-in-flash.html" rel="nofollow">http://programmaremobile.blogspot.com/2009/10/java-and-amf-by-as3-in-flash.html</a></p>
<p>The problem is that OpenAMF supports only the AMF0 format, that is old. I don&#8217;t like to use older version of a tecnologies</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zornic</title>
		<link>http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/comment-page-1/#comment-27256</link>
		<dc:creator>zornic</dc:creator>
		<pubDate>Sat, 14 Feb 2009 21:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/#comment-27256</guid>
		<description>I have some AS3 problem at CS4 (1137: Incorrect number of arguments. Expected no more than 0.)

var currentColumn:int = i -(currentRow * numColumns);
		&quot;&quot;aSpinners[i]= new Spinner(i);&quot;&quot;
		gameScreen.addChild(aSpinners[i]);
		aSpinners[i].x=currentColumn*hSpace;
		aSpinners[i].y=currentRow*vSpace;</description>
		<content:encoded><![CDATA[<p>I have some AS3 problem at CS4 (1137: Incorrect number of arguments. Expected no more than 0.)</p>
<p>var currentColumn:int = i -(currentRow * numColumns);<br />
		&#8220;&#8221;aSpinners[i]= new Spinner(i);&#8221;"<br />
		gameScreen.addChild(aSpinners[i]);<br />
		aSpinners[i].x=currentColumn*hSpace;<br />
		aSpinners[i].y=currentRow*vSpace;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sectore</title>
		<link>http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/comment-page-1/#comment-22825</link>
		<dc:creator>sectore</dc:creator>
		<pubDate>Thu, 16 Oct 2008 07:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/#comment-22825</guid>
		<description>Rogelio (or Adrain ;) ), 

I&#039;ve already sended all files to you using your email adress hosted at advanceme.com

Anyway, you can ping &lt;a href=&quot;http://www.websector.de/blog/about/&quot; rel=&quot;nofollow&quot;&gt;me an email&lt;/a&gt; again.

-Jens</description>
		<content:encoded><![CDATA[<p>Rogelio (or Adrain <img src='http://www.websector.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ), </p>
<p>I&#8217;ve already sended all files to you using your email adress hosted at advanceme.com</p>
<p>Anyway, you can ping <a href="http://www.websector.de/blog/about/" rel="nofollow">me an email</a> again.</p>
<p>-Jens</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rogelio</title>
		<link>http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/comment-page-1/#comment-22809</link>
		<dc:creator>Rogelio</dc:creator>
		<pubDate>Wed, 15 Oct 2008 21:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/#comment-22809</guid>
		<description>It&#039;s not working for me! Can anyone send me a zipped file with the files that need to be in the Tomkat webapps folder?

For some reason the flash side is not reaching the java class, the UserVO object is never filled...

Please help!!!</description>
		<content:encoded><![CDATA[<p>It&#8217;s not working for me! Can anyone send me a zipped file with the files that need to be in the Tomkat webapps folder?</p>
<p>For some reason the flash side is not reaching the java class, the UserVO object is never filled&#8230;</p>
<p>Please help!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcio</title>
		<link>http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/comment-page-1/#comment-16575</link>
		<dc:creator>Marcio</dc:creator>
		<pubDate>Fri, 14 Mar 2008 18:34:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/#comment-16575</guid>
		<description>I create the following function 

---------------------------------

package com.cerebrum.utils {

import mx.rpc.events.ResultEvent
import mx.controls.Alert;

public class Result {

[Embed(&quot;/assets/images/dialog-information.png&quot;)]
public var IconDialogInformation:Class;

public function Result(event:ResultEvent,MyObject:Object):void {
Alert.show(&quot;teste&quot;, &quot;teste&quot;, 4, null, null, IconDialogInformation);
}

}

}

---------------------------------


I as follows 

import Result;

Result(event, meuobjeto);

---------------------------------

Is presented in the following error flex builder 


1137: Incorrect number of arguments.  Expected no more than 1.

---------------------------------

How should I inform the function that actually has 2 parameters?</description>
		<content:encoded><![CDATA[<p>I create the following function </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>package com.cerebrum.utils {</p>
<p>import mx.rpc.events.ResultEvent<br />
import mx.controls.Alert;</p>
<p>public class Result {</p>
<p>[Embed("/assets/images/dialog-information.png")]<br />
public var IconDialogInformation:Class;</p>
<p>public function Result(event:ResultEvent,MyObject:Object):void {<br />
Alert.show(&#8220;teste&#8221;, &#8220;teste&#8221;, 4, null, null, IconDialogInformation);<br />
}</p>
<p>}</p>
<p>}</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>I as follows </p>
<p>import Result;</p>
<p>Result(event, meuobjeto);</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Is presented in the following error flex builder </p>
<p>1137: Incorrect number of arguments.  Expected no more than 1.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>How should I inform the function that actually has 2 parameters?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WS-Blog &#187; AsUnit (AS3): RemoteTestCase for testing asynchronous data using Flash Remoting</title>
		<link>http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/comment-page-1/#comment-9878</link>
		<dc:creator>WS-Blog &#187; AsUnit (AS3): RemoteTestCase for testing asynchronous data using Flash Remoting</dc:creator>
		<pubDate>Thu, 29 Nov 2007 19:09:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/#comment-9878</guid>
		<description>[...] The following test example based on my Flash Remoting example using OpenAMF described at the previous article called &#8220;Best practices: Custom class mapping using OpenAMF and AS3 (Flash CS3 - not Flex)&#8221; [...]</description>
		<content:encoded><![CDATA[<p>[...] The following test example based on my Flash Remoting example using OpenAMF described at the previous article called &#8220;Best practices: Custom class mapping using OpenAMF and AS3 (Flash CS3 &#8211; not Flex)&#8221; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sectore</title>
		<link>http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/comment-page-1/#comment-6453</link>
		<dc:creator>sectore</dc:creator>
		<pubDate>Wed, 24 Oct 2007 08:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/#comment-6453</guid>
		<description>Manam,

you&#039;re right - it seems that the meta tag named &lt;em&gt;RemoteClass&lt;/em&gt; is needed for Flex only instead using 
&lt;em&gt;registerClassAlias(&quot;com.mydomain.vo.MyServerSideVO&quot;, MyFlashVO);&lt;/em&gt;

Using Flash you have to use the &lt;em&gt;registerClassAlias&lt;/em&gt; method mentioned above without the metag &lt;em&gt; [RemoteClass(alias=&quot;com.mydomain.vo.MyServerSideVO&quot;)]&lt;/em&gt;. The Flash IDE compiler ignores this metatag.

Thanks for your hint!

-sectore</description>
		<content:encoded><![CDATA[<p>Manam,</p>
<p>you&#8217;re right &#8211; it seems that the meta tag named <em>RemoteClass</em> is needed for Flex only instead using<br />
<em>registerClassAlias(&#8220;com.mydomain.vo.MyServerSideVO&#8221;, MyFlashVO);</em></p>
<p>Using Flash you have to use the <em>registerClassAlias</em> method mentioned above without the metag <em> [RemoteClass(alias="com.mydomain.vo.MyServerSideVO")]</em>. The Flash IDE compiler ignores this metatag.</p>
<p>Thanks for your hint!</p>
<p>-sectore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manan</title>
		<link>http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/comment-page-1/#comment-6417</link>
		<dc:creator>Manan</dc:creator>
		<pubDate>Tue, 23 Oct 2007 21:28:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/2007/09/23/best-practices-custom-class-mapping-using-openamf-and-as3-flash-cs3-not-flex/#comment-6417</guid>
		<description>I am new to AS3. I have one question about the statement in this article which says &quot;On the Flash-side you have to point the VO to its server-side â€œantagonistâ€ using [RemoteClass(alias=&quot;de.websector.blog.openamf.mapping.vo.UserVO&quot;)]&quot;

I was playing around with this example and I removed this line from my code and still everything works fine for me. I can send and receive object from server even without this line.

Can anyone explain me why do we need to put this line in our code and what exactly it does ?

Any help is appreciated.

Thanks,
Manan</description>
		<content:encoded><![CDATA[<p>I am new to AS3. I have one question about the statement in this article which says &#8220;On the Flash-side you have to point the VO to its server-side â€œantagonistâ€ using [RemoteClass(alias="de.websector.blog.openamf.mapping.vo.UserVO")]&#8221;</p>
<p>I was playing around with this example and I removed this line from my code and still everything works fine for me. I can send and receive object from server even without this line.</p>
<p>Can anyone explain me why do we need to put this line in our code and what exactly it does ?</p>
<p>Any help is appreciated.</p>
<p>Thanks,<br />
Manan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

