<?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 for Random.Thinking.ToString();</title>
	<atom:link href="http://www.metah.ch/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.metah.ch/blog</link>
	<description>Ahmet Gyger&#039;s web log.</description>
	<lastBuildDate>Fri, 11 Nov 2011 23:05:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Synchronous and Asynchronous use of Delegate with C# by Ahmet</title>
		<link>http://www.metah.ch/blog/2010/01/synchronous-and-asynchronous-use-of-delegate-with-c-2/comment-page-1/#comment-12538</link>
		<dc:creator>Ahmet</dc:creator>
		<pubDate>Fri, 11 Nov 2011 23:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.metah.ch/blog/2010/01/531/#comment-12538</guid>
		<description>Prassana, can you share your code?</description>
		<content:encoded><![CDATA[<p>Prassana, can you share your code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Synchronous and Asynchronous use of Delegate with C# by prassana kumar</title>
		<link>http://www.metah.ch/blog/2010/01/synchronous-and-asynchronous-use-of-delegate-with-c-2/comment-page-1/#comment-12529</link>
		<dc:creator>prassana kumar</dc:creator>
		<pubDate>Thu, 03 Nov 2011 11:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.metah.ch/blog/2010/01/531/#comment-12529</guid>
		<description>through the main thread execution i created a delegate to invoke but at the time of closing i am getting exception objectdispose exception what should i do</description>
		<content:encoded><![CDATA[<p>through the main thread execution i created a delegate to invoke but at the time of closing i am getting exception objectdispose exception what should i do</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wolfram Alpha, a Revolution for the Web? by WOLFRAM ALPHA, un «moteur de connaissances computationnel» &#124; Browse The Net</title>
		<link>http://www.metah.ch/blog/2009/05/wolfram-alpha-a-revolution-for-the-web/comment-page-1/#comment-12526</link>
		<dc:creator>WOLFRAM ALPHA, un «moteur de connaissances computationnel» &#124; Browse The Net</dc:creator>
		<pubDate>Thu, 27 Oct 2011 18:08:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.metah.ch/blog/?p=454#comment-12526</guid>
		<description>[...] à une vidéo présentant l’outil ainsi qu’au site de wolfram lui-même.  Voici aussi un Blog parlant de Wolfram Alpha. Comme on dit le tester c’est [...]</description>
		<content:encoded><![CDATA[<p>[...] à une vidéo présentant l’outil ainsi qu’au site de wolfram lui-même.  Voici aussi un Blog parlant de Wolfram Alpha. Comme on dit le tester c’est [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on First week in Seattle: ✔ by Ahmet</title>
		<link>http://www.metah.ch/blog/2011/06/first-week-in-seattle-%e2%9c%94/comment-page-1/#comment-12462</link>
		<dc:creator>Ahmet</dc:creator>
		<pubDate>Thu, 30 Jun 2011 22:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.metah.ch/blog/?p=656#comment-12462</guid>
		<description>Thanks Reto!</description>
		<content:encoded><![CDATA[<p>Thanks Reto!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on First week in Seattle: ✔ by Reto</title>
		<link>http://www.metah.ch/blog/2011/06/first-week-in-seattle-%e2%9c%94/comment-page-1/#comment-12461</link>
		<dc:creator>Reto</dc:creator>
		<pubDate>Thu, 30 Jun 2011 20:25:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.metah.ch/blog/?p=656#comment-12461</guid>
		<description>Good luck with your new job, looking foreward to see more posts about your new adventure.</description>
		<content:encoded><![CDATA[<p>Good luck with your new job, looking foreward to see more posts about your new adventure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Synchronous and Asynchronous use of Delegate with C# by Ahmet</title>
		<link>http://www.metah.ch/blog/2010/01/synchronous-and-asynchronous-use-of-delegate-with-c-2/comment-page-1/#comment-12415</link>
		<dc:creator>Ahmet</dc:creator>
		<pubDate>Fri, 20 May 2011 12:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.metah.ch/blog/2010/01/531/#comment-12415</guid>
		<description>Thanks Naseet.</description>
		<content:encoded><![CDATA[<p>Thanks Naseet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Chat with FMS 3 coded in ActionScript 3.0 by saran</title>
		<link>http://www.metah.ch/blog/2008/05/a-chat-with-fms-3-coded-in-actionscript-30/comment-page-1/#comment-12401</link>
		<dc:creator>saran</dc:creator>
		<pubDate>Sat, 14 May 2011 08:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.metah.ch/blog/?p=414#comment-12401</guid>
		<description>import fl.data.DataProvider;
debuger.htmlText = &quot; *** &lt;b&gt;Debuger Box&lt;/b&gt; *** \n&quot;;
 Send_btn.enabled = false;
 Room.addItem({label:&quot;Room_1&quot;, role:&quot;none&quot;});
var client_nc:NetConnection = new NetConnection(); 
client_nc.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
client_nc.objectEncoding = ObjectEncoding.AMF0;
var users_so:SharedObject;
function netStatus(e:NetStatusEvent):void
{
	debuger.appendText(&quot;Status: &quot;+e.info.code+&quot;\n&quot;);
	//Status
	switch (e.info.code) 
	{
		case &quot;NetConnection.Connect.Success&quot;:
			trace(&quot;Successfully Connected!&quot;);
			//Allow method within th class to be called by the server side script  
			client_nc.client = this;
			// Update button label
			Connect_btn.label = &quot;Disconnect&quot;;
			// Enable send button
			Send_btn.enabled = true;
			//get Remote shared Object
			users_so = SharedObject.getRemote(&quot;users_so&quot;, client_nc.uri, false);
			// Attach the shared object to &#039;client_nc&#039;
			users_so.connect(client_nc);
			// Syncronisation listener
			users_so.addEventListener(SyncEvent.SYNC, soSync);
			break;
			
		case &quot;NetConnection.Connect.Closed&quot;:
			History.text = &quot;Disconnected from the chat&quot;;
			People.removeAll();
			Connect_btn.label = &quot;Connect&quot;;
			break;
	}
}
function soSync(e:SyncEvent):void
{
	a.text=&quot;callllllllllllll&quot;
	trace(&quot; *** Shared Object Synchronized *** &quot;);
	var dp:DataProvider = new DataProvider();
	People.removeAll();
	for ( var i in users_so.data ) {
		trace(users_so.data[i]);
		if ( users_so.data[i] != null ) 
		{
			dp.addItem( { label: users_so.data[i], data:users_so.data[i] } );
		}
	}
 	dp.sortOn(&quot;label&quot;, &quot;ASC&quot;);
	People.dataProvider = dp;
}
 // Update the History on the server with the message
function setHistory(msg:String):void
{
	History.text = msg;
}
 Connect_btn.addEventListener(MouseEvent.CLICK, doConnect);

function doConnect(e:MouseEvent):void
{
	if(Connect_btn.label == &quot;Connect&quot;)
	{
		// Connect to the chat application. The second parameter, Room.text,
		// is the application instance.
  	client_nc.connect( &quot;rtmp://localhost/SOSample&quot; , false );	
	}
	else if (Connect_btn.label == &quot;Disconnect&quot;) 
	{
		// Close connection
		client_nc.close();
		// Don’t allow the user to send when not connected
		Send_btn.enabled = false;
		// Rest button label
		Connect_btn.label = &quot;Connect&quot;;
	}
}

function msgFromSrvr(msg:String):void
{
	History.appendText(msg);
}


Send_btn.addEventListener(MouseEvent.CLICK, doSend);
function doSend(e:MouseEvent):void
{
	
	// If there&#039;s message text, pass it to the server function &#039;msgFromClient&#039;
	if ((Message.text).length &gt; 0) 
	{
		client_nc.call(&quot;msgFromClient&quot;, null, Message.text);
 
	}

	// Clear the message text
	Message.text = &quot;&quot;;
}</description>
		<content:encoded><![CDATA[<p>import fl.data.DataProvider;<br />
debuger.htmlText = &#8221; *** <b>Debuger Box</b> *** \n&#8221;;<br />
 Send_btn.enabled = false;<br />
 Room.addItem({label:&#8221;Room_1&#8243;, role:&#8221;none&#8221;});<br />
var client_nc:NetConnection = new NetConnection();<br />
client_nc.addEventListener(NetStatusEvent.NET_STATUS, netStatus);<br />
client_nc.objectEncoding = ObjectEncoding.AMF0;<br />
var users_so:SharedObject;<br />
function netStatus(e:NetStatusEvent):void<br />
{<br />
	debuger.appendText(&#8220;Status: &#8220;+e.info.code+&#8221;\n&#8221;);<br />
	//Status<br />
	switch (e.info.code)<br />
	{<br />
		case &#8220;NetConnection.Connect.Success&#8221;:<br />
			trace(&#8220;Successfully Connected!&#8221;);<br />
			//Allow method within th class to be called by the server side script<br />
			client_nc.client = this;<br />
			// Update button label<br />
			Connect_btn.label = &#8220;Disconnect&#8221;;<br />
			// Enable send button<br />
			Send_btn.enabled = true;<br />
			//get Remote shared Object<br />
			users_so = SharedObject.getRemote(&#8220;users_so&#8221;, client_nc.uri, false);<br />
			// Attach the shared object to &#8216;client_nc&#8217;<br />
			users_so.connect(client_nc);<br />
			// Syncronisation listener<br />
			users_so.addEventListener(SyncEvent.SYNC, soSync);<br />
			break;</p>
<p>		case &#8220;NetConnection.Connect.Closed&#8221;:<br />
			History.text = &#8220;Disconnected from the chat&#8221;;<br />
			People.removeAll();<br />
			Connect_btn.label = &#8220;Connect&#8221;;<br />
			break;<br />
	}<br />
}<br />
function soSync(e:SyncEvent):void<br />
{<br />
	a.text=&#8221;callllllllllllll&#8221;<br />
	trace(&#8221; *** Shared Object Synchronized *** &#8220;);<br />
	var dp:DataProvider = new DataProvider();<br />
	People.removeAll();<br />
	for ( var i in users_so.data ) {<br />
		trace(users_so.data[i]);<br />
		if ( users_so.data[i] != null )<br />
		{<br />
			dp.addItem( { label: users_so.data[i], data:users_so.data[i] } );<br />
		}<br />
	}<br />
 	dp.sortOn(&#8220;label&#8221;, &#8220;ASC&#8221;);<br />
	People.dataProvider = dp;<br />
}<br />
 // Update the History on the server with the message<br />
function setHistory(msg:String):void<br />
{<br />
	History.text = msg;<br />
}<br />
 Connect_btn.addEventListener(MouseEvent.CLICK, doConnect);</p>
<p>function doConnect(e:MouseEvent):void<br />
{<br />
	if(Connect_btn.label == &#8220;Connect&#8221;)<br />
	{<br />
		// Connect to the chat application. The second parameter, Room.text,<br />
		// is the application instance.<br />
  	client_nc.connect( &#8220;rtmp://localhost/SOSample&#8221; , false );<br />
	}<br />
	else if (Connect_btn.label == &#8220;Disconnect&#8221;)<br />
	{<br />
		// Close connection<br />
		client_nc.close();<br />
		// Don’t allow the user to send when not connected<br />
		Send_btn.enabled = false;<br />
		// Rest button label<br />
		Connect_btn.label = &#8220;Connect&#8221;;<br />
	}<br />
}</p>
<p>function msgFromSrvr(msg:String):void<br />
{<br />
	History.appendText(msg);<br />
}</p>
<p>Send_btn.addEventListener(MouseEvent.CLICK, doSend);<br />
function doSend(e:MouseEvent):void<br />
{</p>
<p>	// If there&#8217;s message text, pass it to the server function &#8216;msgFromClient&#8217;<br />
	if ((Message.text).length &gt; 0)<br />
	{<br />
		client_nc.call(&#8220;msgFromClient&#8221;, null, Message.text);</p>
<p>	}</p>
<p>	// Clear the message text<br />
	Message.text = &#8220;&#8221;;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

