<?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: XML-RPC Client Library for ActionScript</title>
	<atom:link href="http://probertson.com/projects/xmlrpc/feed/" rel="self" type="application/rss+xml" />
	<link>http://probertson.com</link>
	<description>Thoughts on web development, user-centered design, code, etc. by Paul Robertson</description>
	<lastBuildDate>Wed, 16 May 2012 17:16:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Jean-Francois</title>
		<link>http://probertson.com/projects/xmlrpc/#comment-97677</link>
		<dc:creator>Jean-Francois</dc:creator>
		<pubDate>Mon, 12 Sep 2011 20:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/xmlrpc/#comment-97677</guid>
		<description>Hi,

I&#039;m a newbie in flash. But I think I found a little bug in the rpc serializer, file &#039;serializer.as&#039;.

In this code snippet:

else if (arg instanceof Array)
{
  typeNode = xml.createElement(&quot;array&quot;);
  var dataNode:XMLNode = xml.createElement(&quot;data&quot;);
  var arrayVal:Array = Array(arg);
  var numElements:Number = arrayVal.length;
  for (var i:Number = 0; i &lt; numElements; i++)
  {
    dataNode.appendChild(createParamNode(xml,   arrayVal[i]));
  }
  typeNode.appendChild(dataNode);
}

the variable arrayVal:Array = Array(arg) is created but only containes 1 element, the &#039;arg&#039; array.
With this array, and the method calling itself in recursion, flash crash with a stack error.

I changed it to iterate over the arg parameter instead.
Here&#039;s the code I wrote:
else if (arg instanceof Array)
{
  typeNode = xml.createElement(&quot;array&quot;);
  var dataNode:XMLNode = xml.createElement(&quot;data&quot;);
  var numElements:Number = arg.length;
  for (var i:Number = 0; i &lt; numElements; i++)
  {
    dataNode.appendChild(createParamNode(xml, arg[i]));
  }
  typeNode.appendChild(dataNode);
}

Just wanted to let you know. Also, as I said, I&#039;m new to flash, so I might be wrong with my &#039;fix&#039;, but it now works on my side.

JF</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m a newbie in flash. But I think I found a little bug in the rpc serializer, file &#8216;serializer.as&#8217;.</p>
<p>In this code snippet:</p>
<p>else if (arg instanceof Array)<br />
{<br />
  typeNode = xml.createElement(&#8220;array&#8221;);<br />
  var dataNode:XMLNode = xml.createElement(&#8220;data&#8221;);<br />
  var arrayVal:Array = Array(arg);<br />
  var numElements:Number = arrayVal.length;<br />
  for (var i:Number = 0; i &lt; numElements; i++)<br />
  {<br />
    dataNode.appendChild(createParamNode(xml,   arrayVal[i]));<br />
  }<br />
  typeNode.appendChild(dataNode);<br />
}</p>
<p>the variable arrayVal:Array = Array(arg) is created but only containes 1 element, the &#039;arg&#039; array.<br />
With this array, and the method calling itself in recursion, flash crash with a stack error.</p>
<p>I changed it to iterate over the arg parameter instead.<br />
Here&#039;s the code I wrote:<br />
else if (arg instanceof Array)<br />
{<br />
  typeNode = xml.createElement(&quot;array&quot;);<br />
  var dataNode:XMLNode = xml.createElement(&quot;data&quot;);<br />
  var numElements:Number = arg.length;<br />
  for (var i:Number = 0; i &lt; numElements; i++)<br />
  {<br />
    dataNode.appendChild(createParamNode(xml, arg[i]));<br />
  }<br />
  typeNode.appendChild(dataNode);<br />
}</p>
<p>Just wanted to let you know. Also, as I said, I&#039;m new to flash, so I might be wrong with my &#039;fix&#039;, but it now works on my side.</p>
<p>JF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XML-RPC vs. Flash-Client - Flashforum</title>
		<link>http://probertson.com/projects/xmlrpc/#comment-73658</link>
		<dc:creator>XML-RPC vs. Flash-Client - Flashforum</dc:creator>
		<pubDate>Mon, 01 Mar 2010 09:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/xmlrpc/#comment-73658</guid>
		<description>&lt;!--%kramer-ref-pre%--&gt;[...] erstellt werden. Ich habe Macromedia Flash MX 2004 mit ActionScript 2.0 benutzt und die sich unter http://probertson.com/projects/xmlrpc/ befindliche XML-RPC-Bibliothek eingebunden. Die Dokumentation dazu findet man unter [...]&lt;!--%kramer-ref-post%--&gt;</description>
		<content:encoded><![CDATA[<p><!--%kramer-ref-pre%-->[&#8230;] erstellt werden. Ich habe Macromedia Flash MX 2004 mit ActionScript 2.0 benutzt und die sich unter <a href="http://probertson.com/projects/xmlrpc/" rel="nofollow">http://probertson.com/projects/xmlrpc/</a> befindliche XML-RPC-Bibliothek eingebunden. Die Dokumentation dazu findet man unter [&#8230;]<!--%kramer-ref-post%--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://probertson.com/projects/xmlrpc/#comment-56488</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Mon, 23 Feb 2009 03:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/xmlrpc/#comment-56488</guid>
		<description>Hi,
I can&#039;t figure out how to get values into a struct. I&#039;ve made my inplementations of the IXmlRpcStruct interface, so my struct has all the right members and their names, but all the value nodes are empty.

I have included code along the lines of the following...
&lt;code&gt;
var myStruct:serverInfoStruct = new serverInfoStruct (&#039;value1&#039;, &#039;value2&#039;);
&lt;/code&gt;

why do my struct members have empty value nodes?

I&#039;m trying to use this to load openX advertisements into flash, and part of the requirements for thier xmlrpc call is a struct within a struct, much like an array where one of the elements is another array. Is that possible?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I can&#8217;t figure out how to get values into a struct. I&#8217;ve made my inplementations of the IXmlRpcStruct interface, so my struct has all the right members and their names, but all the value nodes are empty.</p>
<p>I have included code along the lines of the following&#8230;<br />
<code><br />
var myStruct:serverInfoStruct = new serverInfoStruct ('value1', 'value2');<br />
</code></p>
<p>why do my struct members have empty value nodes?</p>
<p>I&#8217;m trying to use this to load openX advertisements into flash, and part of the requirements for thier xmlrpc call is a struct within a struct, much like an array where one of the elements is another array. Is that possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pankaj Chawla</title>
		<link>http://probertson.com/projects/xmlrpc/#comment-54660</link>
		<dc:creator>Pankaj Chawla</dc:creator>
		<pubDate>Wed, 07 Jan 2009 08:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/xmlrpc/#comment-54660</guid>
		<description>Hi Paul,

Did you finally port the XML-RPC to AS3.0. If yes, I will be interested to check it out.</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>Did you finally port the XML-RPC to AS3.0. If yes, I will be interested to check it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [flexcoders] QTP Automation Interface</title>
		<link>http://probertson.com/projects/xmlrpc/#comment-53275</link>
		<dc:creator>[flexcoders] QTP Automation Interface</dc:creator>
		<pubDate>Fri, 28 Nov 2008 20:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/xmlrpc/#comment-53275</guid>
		<description>&lt;!--%kramer-ref-pre%--&gt;[...] a server that serves that:). I&#039;ve been able to find http://sourceforge.net/projects/xmlrpcflash and http://probertson.com/projects/xmlrpc/, both for AS 2.0. I am guessing it shouldn&#039;t be hard to make it work with 3.0, but which one would [...]&lt;!--%kramer-ref-post%--&gt;</description>
		<content:encoded><![CDATA[<p><!--%kramer-ref-pre%-->[&#8230;] a server that serves that:). I&#8217;ve been able to find <a href="http://sourceforge.net/projects/xmlrpcflash" rel="nofollow">http://sourceforge.net/projects/xmlrpcflash</a> and <a href="http://probertson.com/projects/xmlrpc/" rel="nofollow">http://probertson.com/projects/xmlrpc/</a>, both for AS 2.0. I am guessing it shouldn&#8217;t be hard to make it work with 3.0, but which one would [&#8230;]<!--%kramer-ref-post%--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://probertson.com/projects/xmlrpc/#comment-40989</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Wed, 19 Mar 2008 18:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/xmlrpc/#comment-40989</guid>
		<description>I&#039;m having difficulties getting my Flash app to communicate with a Java server. Flash runs fine up until this line myPendingCall.responder = new RelayResponder2(this, sumResult, sumFault);

I get an error in the compile of type mismatch: found com.probertson.rpc.Relayresponder2 where mx.rpc.Responder is required

Using a Responder seems to make no difference

I&#039;m using actionscript 2 in Flash CS3 and followed the step-by-step guide to the letter</description>
		<content:encoded><![CDATA[<p>I&#8217;m having difficulties getting my Flash app to communicate with a Java server. Flash runs fine up until this line myPendingCall.responder = new RelayResponder2(this, sumResult, sumFault);</p>
<p>I get an error in the compile of type mismatch: found com.probertson.rpc.Relayresponder2 where mx.rpc.Responder is required</p>
<p>Using a Responder seems to make no difference</p>
<p>I&#8217;m using actionscript 2 in Flash CS3 and followed the step-by-step guide to the letter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://probertson.com/projects/xmlrpc/#comment-7846</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Fri, 12 Jan 2007 22:40:19 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/xmlrpc/#comment-7846</guid>
		<description>We&#039;ve found an error in your XML-RPC Client Library. According to the XML-RPC specification the HTTP Content-Type header is text/xml. In your library the Content-Type in the HTTP Header is application/x-www-form-urlencoded. It can be fixed with 1 single line:

public function serializeRequest(methodName:String, args:Array):XML
{
var result:XML = new XML();
result.ignoreWhite = true;
result.contentType = &quot;text/xml&quot;; //////// add this line please
result.xmlDecl = &quot;&quot;;

regards
--
Markus

[&lt;em&gt;Paul: Thanks for the report Markus! This has been fixed in version .3.1&lt;/em&gt;]</description>
		<content:encoded><![CDATA[<p>We&#8217;ve found an error in your XML-RPC Client Library. According to the XML-RPC specification the HTTP Content-Type header is text/xml. In your library the Content-Type in the HTTP Header is application/x-www-form-urlencoded. It can be fixed with 1 single line:</p>
<p>public function serializeRequest(methodName:String, args:Array):XML<br />
{<br />
var result:XML = new XML();<br />
result.ignoreWhite = true;<br />
result.contentType = &#8220;text/xml&#8221;; //////// add this line please<br />
result.xmlDecl = &#8220;&#8221;;</p>
<p>regards<br />
&#8212;<br />
Markus</p>
<p>[<em>Paul: Thanks for the report Markus! This has been fixed in version .3.1</em>]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By:  William Brown Street</title>
		<link>http://probertson.com/projects/xmlrpc/#comment-30672</link>
		<dc:creator> William Brown Street</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/xmlrpc/#comment-30672</guid>
		<description>&lt;!--%kramer-pre%--&gt;my Del.IcIo.us [IMG RSS]  Clazh Themes Demo ¬ª Just another WordPress weblog Dark Theme Release at iLEMONed Bartelme Design &#124; User Interface and Graphics DesignXML-RPC Client Library for ActionScript, a downloadable code project, from Words, punctuated - by Paul Robertson (http://probertson.com/)Software developer/researcher with background and knowledge in area of computational geometry and/or graph theory algorithms ? Jobs for PhDs at PhDs.org&lt;!--%kramer-post%--&gt;</description>
		<content:encoded><![CDATA[<p><!--%kramer-pre%-->my Del.IcIo.us [IMG RSS]  Clazh Themes Demo ¬ª Just another WordPress weblog Dark Theme Release at iLEMONed Bartelme Design | User Interface and Graphics DesignXML-RPC Client Library for ActionScript, a downloadable code project, from Words, punctuated - by Paul Robertson (<a href="http://probertson.com/" rel="nofollow">http://probertson.com/</a>)Software developer/researcher with background and knowledge in area of computational geometry and/or graph theory algorithms ? Jobs for PhDs at PhDs.org<!--%kramer-post%--></p>
]]></content:encoded>
	</item>
</channel>
</rss>

