<?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: NetConnection, SharedObject, &#038; NetStream&#8217;s client Property in ActionScript 3	</title>
	<atom:link href="https://jessewarden.com/2006/07/netconnection-sharedobject-netstreams-client-property-in-actionscript-3.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2006/07/netconnection-sharedobject-netstreams-client-property-in-actionscript-3.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Fri, 30 Oct 2009 15:24:20 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Juan Pablo		</title>
		<link>https://jessewarden.com/2006/07/netconnection-sharedobject-netstreams-client-property-in-actionscript-3.html/comment-page-1#comment-204834</link>

		<dc:creator><![CDATA[Juan Pablo]]></dc:creator>
		<pubDate>Fri, 30 Oct 2009 15:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1033#comment-204834</guid>

					<description><![CDATA[Dude, thanks!
I&#039;ve had lot of trouble setting up the remote SO message sending stuff, the adobe docs didn&#039;t even compile.]]></description>
			<content:encoded><![CDATA[<p>Dude, thanks!<br />
I&#8217;ve had lot of trouble setting up the remote SO message sending stuff, the adobe docs didn&#8217;t even compile.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Bill		</title>
		<link>https://jessewarden.com/2006/07/netconnection-sharedobject-netstreams-client-property-in-actionscript-3.html/comment-page-1#comment-138832</link>

		<dc:creator><![CDATA[Bill]]></dc:creator>
		<pubDate>Mon, 01 Dec 2008 18:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1033#comment-138832</guid>

					<description><![CDATA[First... I am a flash/AS3 newb.

Secondly, thank you so much for posting a clear answer to this issue.  In the hours that I spent trying to research &quot;shared object callback AS3&quot;  I could not find any clear answer.]]></description>
			<content:encoded><![CDATA[<p>First&#8230; I am a flash/AS3 newb.</p>
<p>Secondly, thank you so much for posting a clear answer to this issue.  In the hours that I spent trying to research &#8220;shared object callback AS3&#8221;  I could not find any clear answer.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ismael		</title>
		<link>https://jessewarden.com/2006/07/netconnection-sharedobject-netstreams-client-property-in-actionscript-3.html/comment-page-1#comment-17709</link>

		<dc:creator><![CDATA[Ismael]]></dc:creator>
		<pubDate>Tue, 09 Oct 2007 23:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1033#comment-17709</guid>

					<description><![CDATA[Hi
Good to know you were successful to port your client actionsctipt 2.0 to 3.0
I&#039;m been trying to port a simple connection code from 2.0 to 3.0 and I keep getting connection failed in 3.0 whilst it connects fine in 2.0

My 2.0 client-side code:
//==================
var VideoNC:NetConnection;

VideoNC = new NetConnection;
VideoNC.onStatus = function(info) {
		
	trace(info.code);
		if (info.code == &quot;NetConnection.Connect.Success&quot;) {
			
			trace(&quot;connected&quot;);
		} else if (info.code == &quot;NetConnection.Connect.Closed&quot;) {
			

		}
	}			

	VideoNC.connect(&quot;rtmp://10.211.55.6/learningObjects/&quot;);
//This is my local FMS server on my parallels desktop
//==================

I get connection success info code with this

My AS 3.0 client-side code
//==================
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.events.*;

var connection:NetConnection;
var stream:NetStream;

connection = new NetConnection();

connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);

function netStatusHandler(event:NetStatusEvent):void {
	
	trace(event.info.code);
	if (event.info.code == &quot;NetConnection.Connect.Success&quot;) {
		//connection.connect(); 
		trace(&quot;connect to&quot;);
	}

}

connection.connect(&quot;rtmp://10.211.55.6/learningObjects/&quot;);
//==================

I get connection Failed

My main.asc file in my FMS app folder is:
//==================
application.onAppStart = function () {

	trace(&quot;load new app&quot;);
}

application.onConnect = function (client) {	

	trace(&quot;connect &quot;+client.ip);

	application.acceptConnection(client);

        return true;

}

application.onDisconnect = function(client) {

	trace(&quot;disconnect &quot;+client.ip);

}
//==================

Do you have any ideas?
Thanks]]></description>
			<content:encoded><![CDATA[<p>Hi<br />
Good to know you were successful to port your client actionsctipt 2.0 to 3.0<br />
I&#8217;m been trying to port a simple connection code from 2.0 to 3.0 and I keep getting connection failed in 3.0 whilst it connects fine in 2.0</p>
<p>My 2.0 client-side code:<br />
//==================<br />
var VideoNC:NetConnection;</p>
<p>VideoNC = new NetConnection;<br />
VideoNC.onStatus = function(info) {</p>
<p>	trace(info.code);<br />
		if (info.code == &#8220;NetConnection.Connect.Success&#8221;) {</p>
<p>			trace(&#8220;connected&#8221;);<br />
		} else if (info.code == &#8220;NetConnection.Connect.Closed&#8221;) {</p>
<p>		}<br />
	}			</p>
<p>	VideoNC.connect(&#8220;rtmp://10.211.55.6/learningObjects/&#8221;);<br />
//This is my local FMS server on my parallels desktop<br />
//==================</p>
<p>I get connection success info code with this</p>
<p>My AS 3.0 client-side code<br />
//==================<br />
import flash.net.NetConnection;<br />
import flash.net.NetStream;<br />
import flash.events.*;</p>
<p>var connection:NetConnection;<br />
var stream:NetStream;</p>
<p>connection = new NetConnection();</p>
<p>connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);</p>
<p>function netStatusHandler(event:NetStatusEvent):void {</p>
<p>	trace(event.info.code);<br />
	if (event.info.code == &#8220;NetConnection.Connect.Success&#8221;) {<br />
		//connection.connect();<br />
		trace(&#8220;connect to&#8221;);<br />
	}</p>
<p>}</p>
<p>connection.connect(&#8220;rtmp://10.211.55.6/learningObjects/&#8221;);<br />
//==================</p>
<p>I get connection Failed</p>
<p>My main.asc file in my FMS app folder is:<br />
//==================<br />
application.onAppStart = function () {</p>
<p>	trace(&#8220;load new app&#8221;);<br />
}</p>
<p>application.onConnect = function (client) {	</p>
<p>	trace(&#8220;connect &#8220;+client.ip);</p>
<p>	application.acceptConnection(client);</p>
<p>        return true;</p>
<p>}</p>
<p>application.onDisconnect = function(client) {</p>
<p>	trace(&#8220;disconnect &#8220;+client.ip);</p>
<p>}<br />
//==================</p>
<p>Do you have any ideas?<br />
Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2006/07/netconnection-sharedobject-netstreams-client-property-in-actionscript-3.html/comment-page-1#comment-3623</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Thu, 02 Nov 2006 18:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1033#comment-3623</guid>

					<description><![CDATA[2 things.

First, you need to set the client property to a class that has the methods.  I do it to the class using the SharedObject, like this:

users_so.client = this;

Secondly, the methods on the class that the SharedObject is accessing must be public. If they are protected or private, you&#039;ll get an exception.


]]></description>
			<content:encoded><![CDATA[<p>2 things.</p>
<p>First, you need to set the client property to a class that has the methods.  I do it to the class using the SharedObject, like this:</p>
<p>users_so.client = this;</p>
<p>Secondly, the methods on the class that the SharedObject is accessing must be public. If they are protected or private, you&#8217;ll get an exception.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: arocker		</title>
		<link>https://jessewarden.com/2006/07/netconnection-sharedobject-netstreams-client-property-in-actionscript-3.html/comment-page-1#comment-3622</link>

		<dc:creator><![CDATA[arocker]]></dc:creator>
		<pubDate>Thu, 02 Nov 2006 15:40:55 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1033#comment-3622</guid>

					<description><![CDATA[May I ask you about the send method.
I cant get it to work ?  problem is i always get a 
null pointer exception as mentioned above , scratch  head ....
How can I implement the callback ? Can you please give me a hint ? 
Thanx in advance :)]]></description>
			<content:encoded><![CDATA[<p>May I ask you about the send method.<br />
I cant get it to work ?  problem is i always get a<br />
null pointer exception as mentioned above , scratch  head &#8230;.<br />
How can I implement the callback ? Can you please give me a hint ?<br />
Thanx in advance :)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
