<?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: Flash Remoting (AS2) in Flash CS3</title>
	<atom:link href="http://inflagrantedelicto.memoryspiral.com/2007/05/flash-remoting-as2-in-flash-cs3/feed/" rel="self" type="application/rss+xml" />
	<link>http://inflagrantedelicto.memoryspiral.com/2007/05/flash-remoting-as2-in-flash-cs3/</link>
	<description>Joseph Labrecque: Senior Interactive Software Engineer - Artist - Author - Speaker - Adobe Education Leader - Adobe Community Professional</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:00:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Elhadji</title>
		<link>http://inflagrantedelicto.memoryspiral.com/2007/05/flash-remoting-as2-in-flash-cs3/comment-page-1/#comment-2978</link>
		<dc:creator>Elhadji</dc:creator>
		<pubDate>Sun, 22 Feb 2009 23:34:46 +0000</pubDate>
		<guid isPermaLink="false">http://josephlabrecque.com/archives/58#comment-2978</guid>
		<description>&lt;a href=&quot;#comment-163&quot; rel=&quot;nofollow&quot;&gt;@fyhao&lt;/a&gt; 
Thanks you for your post!that very nice !! Good thuff Joris!!</description>
		<content:encoded><![CDATA[<p><a href="#comment-163" rel="nofollow">@fyhao</a><br />
Thanks you for your post!that very nice !! Good thuff Joris!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fyhao</title>
		<link>http://inflagrantedelicto.memoryspiral.com/2007/05/flash-remoting-as2-in-flash-cs3/comment-page-1/#comment-163</link>
		<dc:creator>fyhao</dc:creator>
		<pubDate>Sun, 23 Sep 2007 07:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://josephlabrecque.com/archives/58#comment-163</guid>
		<description>I learned amfphp today. I also encountered this problem. Also use CS3. How to solve it? Where is the ResultEvent Classes?</description>
		<content:encoded><![CDATA[<p>I learned amfphp today. I also encountered this problem. Also use CS3. How to solve it? Where is the ResultEvent Classes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joris</title>
		<link>http://inflagrantedelicto.memoryspiral.com/2007/05/flash-remoting-as2-in-flash-cs3/comment-page-1/#comment-126</link>
		<dc:creator>joris</dc:creator>
		<pubDate>Wed, 23 May 2007 09:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://josephlabrecque.com/archives/58#comment-126</guid>
		<description>Hi,

I managed to get the classes work!
Download http://blog.vixiom.com/uploads/mx.zip for the classes.
Put this mx folder in the same folder as the .fla and then just import them.

This will generate 5 new errors WITHIN the rsDataFetcher.as and PendingCall.as.
 
There is no method with the name &#039;addEventListener&#039;.
Type mismatch in assignment statement: found mx.remoting.RsDataRange where mx.data.DataRange is required.
There is no method with the name &#039;requestRange&#039;.
There is no class or package with the name &#039;mx.data.binding&#039; found in package &#039;mx.data&#039;.
__service.log.logDebug(__service.name + &quot;.&quot;+ __methodName+ &quot;() returned &quot;+ mx.data.binding.ObjectDumper.toString( status ));


this is the code  that was given as an examle from amfphp:

import mx.remoting.debug.NetDebug;
import mx.remoting.*;
import mx.rpc.*;
NetDebug.initialize();

var service:Service = new Service(&#039;http://localhost/amfphp/gateway.php&#039;, null, &#039;com.company.MyService&#039;);

var pc:PendingCall = service.myService(&quot;arg1&quot;, {x:&#039;myX&#039;});
pc.responder= new RelayResponder(this, &quot;onSuccess&quot;, &quot;onFault&quot;);

function onSuccess(re:ResultEvent) {
	var rs:RecordSet = RecordSet(re.result);
	myDatagrid.dataProvider = rs;
}


function onFault() {
	trace(&quot;Fudge! :(&quot;);
}</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I managed to get the classes work!<br />
Download <a href="http://blog.vixiom.com/uploads/mx.zip" rel="nofollow">http://blog.vixiom.com/uploads/mx.zip</a> for the classes.<br />
Put this mx folder in the same folder as the .fla and then just import them.</p>
<p>This will generate 5 new errors WITHIN the rsDataFetcher.as and PendingCall.as.</p>
<p>There is no method with the name &#8216;addEventListener&#8217;.<br />
Type mismatch in assignment statement: found mx.remoting.RsDataRange where mx.data.DataRange is required.<br />
There is no method with the name &#8216;requestRange&#8217;.<br />
There is no class or package with the name &#8216;mx.data.binding&#8217; found in package &#8216;mx.data&#8217;.<br />
__service.log.logDebug(__service.name + &#8220;.&#8221;+ __methodName+ &#8220;() returned &#8220;+ mx.data.binding.ObjectDumper.toString( status ));</p>
<p>this is the code  that was given as an examle from amfphp:</p>
<p>import mx.remoting.debug.NetDebug;<br />
import mx.remoting.*;<br />
import mx.rpc.*;<br />
NetDebug.initialize();</p>
<p>var service:Service = new Service(&#8216;<a href="http://localhost/amfphp/gateway.php&#039;" rel="nofollow">http://localhost/amfphp/gateway.php&#039;</a>, null, &#8216;com.company.MyService&#8217;);</p>
<p>var pc:PendingCall = service.myService(&#8220;arg1&#8243;, {x:&#8217;myX&#8217;});<br />
pc.responder= new RelayResponder(this, &#8220;onSuccess&#8221;, &#8220;onFault&#8221;);</p>
<p>function onSuccess(re:ResultEvent) {<br />
	var rs:RecordSet = RecordSet(re.result);<br />
	myDatagrid.dataProvider = rs;<br />
}</p>
<p>function onFault() {<br />
	trace(&#8220;Fudge! :(&#8220;);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joris</title>
		<link>http://inflagrantedelicto.memoryspiral.com/2007/05/flash-remoting-as2-in-flash-cs3/comment-page-1/#comment-125</link>
		<dc:creator>joris</dc:creator>
		<pubDate>Wed, 23 May 2007 07:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://josephlabrecque.com/archives/58#comment-125</guid>
		<description>Hi Joseph,

Thank you very much for replying.

Just to make sure that I do the right thing:

I use flash CS 3 but export as flash 8 AS2.0

the following errors are generated: &quot;the class or interface &quot;SERVICE&quot; could not be loaded&quot;, the sanme goes for the PENDINGCALL.

Sorry to bother you man, I have never done this so how should I use your Debugger? Is there a help file somewhere I can read?

MANY thanks!


joris</description>
		<content:encoded><![CDATA[<p>Hi Joseph,</p>
<p>Thank you very much for replying.</p>
<p>Just to make sure that I do the right thing:</p>
<p>I use flash CS 3 but export as flash 8 AS2.0</p>
<p>the following errors are generated: &#8220;the class or interface &#8220;SERVICE&#8221; could not be loaded&#8221;, the sanme goes for the PENDINGCALL.</p>
<p>Sorry to bother you man, I have never done this so how should I use your Debugger? Is there a help file somewhere I can read?</p>
<p>MANY thanks!</p>
<p>joris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Labrecque</title>
		<link>http://inflagrantedelicto.memoryspiral.com/2007/05/flash-remoting-as2-in-flash-cs3/comment-page-1/#comment-124</link>
		<dc:creator>Joseph Labrecque</dc:creator>
		<pubDate>Tue, 22 May 2007 21:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://josephlabrecque.com/archives/58#comment-124</guid>
		<description>Hi Joris.  That looks correct to me but I&#039;d have to run a debug session to find out for sure.  Do you get any error messages back?  Are you using the NetConnection Debugger?</description>
		<content:encoded><![CDATA[<p>Hi Joris.  That looks correct to me but I&#8217;d have to run a debug session to find out for sure.  Do you get any error messages back?  Are you using the NetConnection Debugger?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joris</title>
		<link>http://inflagrantedelicto.memoryspiral.com/2007/05/flash-remoting-as2-in-flash-cs3/comment-page-1/#comment-123</link>
		<dc:creator>joris</dc:creator>
		<pubDate>Tue, 22 May 2007 14:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://josephlabrecque.com/archives/58#comment-123</guid>
		<description>Hi,

VERY VERY cool that you made this!

I never worked with flash remoting before and I am looking at their tutorial.

How can I make a new service with you component?
this is the example they give with the old remoting, but I really have no clue how this will work with your component.If you could help me on the way with setting this up....wow it would be super great man!


cheers

Joris (Netherlands)

[code]
NetDebug.initialize();

var service:Service = new Service(&#039;http://localhost/amfphp/gateway.php&#039;, null, &#039;com.company.MyService&#039;);

var pc:PendingCall = service.myService(&quot;arg1&quot;, {x:&#039;myX&#039;});
pc.responder:RelayResponder = new RelayResponder(this, &quot;onSuccess&quot;, &quot;onFault&quot;);

function onSuccess(re:ResultEvent)
{
    var rs:RecordSet = RecordSet(re.result);
    myDatagrid.dataProvider = rs;
}


function onFault()
{
    trace(&quot;Fudge! :(&quot;);
}


[/code]</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>VERY VERY cool that you made this!</p>
<p>I never worked with flash remoting before and I am looking at their tutorial.</p>
<p>How can I make a new service with you component?<br />
this is the example they give with the old remoting, but I really have no clue how this will work with your component.If you could help me on the way with setting this up&#8230;.wow it would be super great man!</p>
<p>cheers</p>
<p>Joris (Netherlands)</p>
<p>[code]<br />
NetDebug.initialize();</p>
<p>var service:Service = new Service('<a href="http://localhost/amfphp/gateway.php&#039;" rel="nofollow">http://localhost/amfphp/gateway.php&#039;</a>, null, 'com.company.MyService');</p>
<p>var pc:PendingCall = service.myService("arg1", {x:'myX'});<br />
pc.responder:RelayResponder = new RelayResponder(this, "onSuccess", "onFault");</p>
<p>function onSuccess(re:ResultEvent)<br />
{<br />
    var rs:RecordSet = RecordSet(re.result);<br />
    myDatagrid.dataProvider = rs;<br />
}</p>
<p>function onFault()<br />
{<br />
    trace("Fudge! :(");<br />
}</p>
<p>[/code]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bjorn</title>
		<link>http://inflagrantedelicto.memoryspiral.com/2007/05/flash-remoting-as2-in-flash-cs3/comment-page-1/#comment-115</link>
		<dc:creator>Bjorn</dc:creator>
		<pubDate>Fri, 04 May 2007 01:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://josephlabrecque.com/archives/58#comment-115</guid>
		<description>This sucks, as you mentioned no different in the previous versions.

Instead of placing the Remoting Classes or swc in the default Flash classes directory we now place it in our own codebase repository.</description>
		<content:encoded><![CDATA[<p>This sucks, as you mentioned no different in the previous versions.</p>
<p>Instead of placing the Remoting Classes or swc in the default Flash classes directory we now place it in our own codebase repository.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

