<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">
<channel>
	<title>Comments for TK Assembled</title>
	
	<link>http://blog.tkassembled.com</link>
	<description>Hopefully not just another Wordpress Blog.</description>
	<lastBuildDate>Thu, 08 Jul 2010 22:57:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/tkassembledcomments" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="tkassembledcomments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on as3signals – An Awesome Solution to Events/Signals in AS3 by Haluk Ozdemir</title>
		<link>http://blog.tkassembled.com/83/#comment-142</link>
		<dc:creator>Haluk Ozdemir</dc:creator>
		<pubDate>Thu, 08 Jul 2010 22:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tkassembled.com/?p=83#comment-142</guid>
		<description>CustomSocketEvent.as;
This example can do without defining custom events, but here it is anyway:
package com.mycompany.socket {
 
	import flash.events.Event;
 
	public class CustomSocketEvent extends Event {
 
		public static const WRITE_RESULT:String = "writeResult";
 
		public static const WRITE_FAULT:String = "writeFault";
 
		public function CustomSocketEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) {
			super(type, bubbles, cancelable);
		}
 
		override public function clone():Event {
			return new CustomSocketEvent(type, bubbles, cancelable);
		}
	}
}</description>
		<content:encoded><![CDATA[<p>CustomSocketEvent.as;<br />
This example can do without defining custom events, but here it is anyway:<br />
package com.mycompany.socket {</p>
<p>	import flash.events.Event;</p>
<p>	public class CustomSocketEvent extends Event {</p>
<p>		public static const WRITE_RESULT:String = &#8220;writeResult&#8221;;</p>
<p>		public static const WRITE_FAULT:String = &#8220;writeFault&#8221;;</p>
<p>		public function CustomSocketEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) {<br />
			super(type, bubbles, cancelable);<br />
		}</p>
<p>		override public function clone():Event {<br />
			return new CustomSocketEvent(type, bubbles, cancelable);<br />
		}<br />
	}<br />
}</p>

<p><a href="http://feedads.g.doubleclick.net/~a/44IuKMqfbxIkcvKxZxZOCEGOL8k/0/da"><img src="http://feedads.g.doubleclick.net/~a/44IuKMqfbxIkcvKxZxZOCEGOL8k/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/44IuKMqfbxIkcvKxZxZOCEGOL8k/1/da"><img src="http://feedads.g.doubleclick.net/~a/44IuKMqfbxIkcvKxZxZOCEGOL8k/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on as3signals – An Awesome Solution to Events/Signals in AS3 by Haluk Ozdemir</title>
		<link>http://blog.tkassembled.com/83/#comment-141</link>
		<dc:creator>Haluk Ozdemir</dc:creator>
		<pubDate>Thu, 08 Jul 2010 22:19:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tkassembled.com/?p=83#comment-141</guid>
		<description>CustomSocketEvent.as
ackage com.mycompany.socket {
 
	import flash.events.Event;
 
	public class CustomSocketEvent extends Event {
 
		public static const WRITE_RESULT:String = "writeResult";
 
		public static const WRITE_FAULT:String = "writeFault";
 
		public function CustomSocketEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) {
			super(type, bubbles, cancelable);
		}
 
		override public function clone():Event {
			return new CustomSocketEvent(type, bubbles, cancelable);
		}
	}
}</description>
		<content:encoded><![CDATA[<p>CustomSocketEvent.as<br />
ackage com.mycompany.socket {</p>
<p>	import flash.events.Event;</p>
<p>	public class CustomSocketEvent extends Event {</p>
<p>		public static const WRITE_RESULT:String = &#8220;writeResult&#8221;;</p>
<p>		public static const WRITE_FAULT:String = &#8220;writeFault&#8221;;</p>
<p>		public function CustomSocketEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) {<br />
			super(type, bubbles, cancelable);<br />
		}</p>
<p>		override public function clone():Event {<br />
			return new CustomSocketEvent(type, bubbles, cancelable);<br />
		}<br />
	}<br />
}</p>

<p><a href="http://feedads.g.doubleclick.net/~a/LRVIHPhGFN4pSwnoWJiypBAYjvM/0/da"><img src="http://feedads.g.doubleclick.net/~a/LRVIHPhGFN4pSwnoWJiypBAYjvM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/LRVIHPhGFN4pSwnoWJiypBAYjvM/1/da"><img src="http://feedads.g.doubleclick.net/~a/LRVIHPhGFN4pSwnoWJiypBAYjvM/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on as3signals – An Awesome Solution to Events/Signals in AS3 by Haluk Ozdemir</title>
		<link>http://blog.tkassembled.com/83/#comment-140</link>
		<dc:creator>Haluk Ozdemir</dc:creator>
		<pubDate>Thu, 08 Jul 2010 22:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tkassembled.com/?p=83#comment-140</guid>
		<description>Here is my implementation in Flex, without comment:

CompareFlex.as:
package {
 
	import com.mycompany.socket.CustomSocketFlex;
	import com.mycompany.socket.CustomSocketEvent;
 
    import flash.display.Sprite;
	import flash.events.Event;
	import flash.events.IOErrorEvent;
 
	public class CompareFlex extends Sprite {
 
		public function CompareFlex() {
			var socket:CustomSocketFlex = new CustomSocketFlex();
			socket.addEventListener(Event.CONNECT, onConnect);
			socket.addEventListener(Event.CLOSE, onClose);
			socket.addEventListener(IOErrorEvent.IO_ERROR, onIoError);
			socket.addEventListener(CustomSocketEvent.WRITE_RESULT, onWriteResult);
			socket.addEventListener(CustomSocketEvent.WRITE_FAULT, onWriteFault);
			socket.connect("localhost", 80); //was 12345
 
			socket.write();
		}
 
		private function onConnect(e:Event):void {
			trace("onConnect: connect!");
		}
 
		private function onClose(e:Event):void {
			trace("close!");
		}
 
		private function onIoError(e:IOErrorEvent):void {
			trace("onIoError: ioerror!");
		}
 
		private function onWriteResult(e:CustomSocketEvent):void {
			trace("writeResult!");
		}
 
		private function onWriteFault(e:CustomSocketEvent):void {
			trace("writeFault!");
		}
	}
}

CustomSocketFlex.as:
package com.mycompany.socket {
 
	import flash.events.EventDispatcher;
	import flash.events.Event;
	import flash.events.IOErrorEvent;
	import flash.net.Socket;	
 
	public class CustomSocketFlex extends EventDispatcher {
 
		private var socket:Socket;
 
		public function CustomSocketFlex() {
			this.socket = new Socket();
			/*
			this.socket.addEventListener(Event.CONNECT, dispatchEvent);
			this.socket.addEventListener(Event.CLOSE, dispatchEvent);
			this.socket.addEventListener(IOErrorEvent.IO_ERROR, dispatchEvent);
			*/
		}
 
		public function connect(host:String, port:int):void {
			this.socket.connect(host, port);
			return;
		}
 
		public function write():void {
			var writeValue:Boolean = Math.random() &lt; 0.5;
			this.socket.writeBoolean(writeValue);
			if (writeValue) {
				this.dispatchEvent(new CustomSocketEvent(CustomSocketEvent.WRITE_RESULT));
			} else {
				this.dispatchEvent(new CustomSocketEvent(CustomSocketEvent.WRITE_FAULT));
			}
		}
	}
}</description>
		<content:encoded><![CDATA[<p>Here is my implementation in Flex, without comment:</p>
<p>CompareFlex.as:<br />
package {</p>
<p>	import com.mycompany.socket.CustomSocketFlex;<br />
	import com.mycompany.socket.CustomSocketEvent;</p>
<p>    import flash.display.Sprite;<br />
	import flash.events.Event;<br />
	import flash.events.IOErrorEvent;</p>
<p>	public class CompareFlex extends Sprite {</p>
<p>		public function CompareFlex() {<br />
			var socket:CustomSocketFlex = new CustomSocketFlex();<br />
			socket.addEventListener(Event.CONNECT, onConnect);<br />
			socket.addEventListener(Event.CLOSE, onClose);<br />
			socket.addEventListener(IOErrorEvent.IO_ERROR, onIoError);<br />
			socket.addEventListener(CustomSocketEvent.WRITE_RESULT, onWriteResult);<br />
			socket.addEventListener(CustomSocketEvent.WRITE_FAULT, onWriteFault);<br />
			socket.connect(&#8220;localhost&#8221;, 80); //was 12345</p>
<p>			socket.write();<br />
		}</p>
<p>		private function onConnect(e:Event):void {<br />
			trace(&#8220;onConnect: connect!&#8221;);<br />
		}</p>
<p>		private function onClose(e:Event):void {<br />
			trace(&#8220;close!&#8221;);<br />
		}</p>
<p>		private function onIoError(e:IOErrorEvent):void {<br />
			trace(&#8220;onIoError: ioerror!&#8221;);<br />
		}</p>
<p>		private function onWriteResult(e:CustomSocketEvent):void {<br />
			trace(&#8220;writeResult!&#8221;);<br />
		}</p>
<p>		private function onWriteFault(e:CustomSocketEvent):void {<br />
			trace(&#8220;writeFault!&#8221;);<br />
		}<br />
	}<br />
}</p>
<p>CustomSocketFlex.as:<br />
package com.mycompany.socket {</p>
<p>	import flash.events.EventDispatcher;<br />
	import flash.events.Event;<br />
	import flash.events.IOErrorEvent;<br />
	import flash.net.Socket;	</p>
<p>	public class CustomSocketFlex extends EventDispatcher {</p>
<p>		private var socket:Socket;</p>
<p>		public function CustomSocketFlex() {<br />
			this.socket = new Socket();<br />
			/*<br />
			this.socket.addEventListener(Event.CONNECT, dispatchEvent);<br />
			this.socket.addEventListener(Event.CLOSE, dispatchEvent);<br />
			this.socket.addEventListener(IOErrorEvent.IO_ERROR, dispatchEvent);<br />
			*/<br />
		}</p>
<p>		public function connect(host:String, port:int):void {<br />
			this.socket.connect(host, port);<br />
			return;<br />
		}</p>
<p>		public function write():void {<br />
			var writeValue:Boolean = Math.random() &lt; 0.5;<br />
			this.socket.writeBoolean(writeValue);<br />
			if (writeValue) {<br />
				this.dispatchEvent(new CustomSocketEvent(CustomSocketEvent.WRITE_RESULT));<br />
			} else {<br />
				this.dispatchEvent(new CustomSocketEvent(CustomSocketEvent.WRITE_FAULT));<br />
			}<br />
		}<br />
	}<br />
}</p>

<p><a href="http://feedads.g.doubleclick.net/~a/0RtmqpIEsHc2pBHVl9BLdTujRlE/0/da"><img src="http://feedads.g.doubleclick.net/~a/0RtmqpIEsHc2pBHVl9BLdTujRlE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/0RtmqpIEsHc2pBHVl9BLdTujRlE/1/da"><img src="http://feedads.g.doubleclick.net/~a/0RtmqpIEsHc2pBHVl9BLdTujRlE/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing Adobe AIR 1.x on 64bit Linux by El1iP3S01D</title>
		<link>http://blog.tkassembled.com/103/#comment-136</link>
		<dc:creator>El1iP3S01D</dc:creator>
		<pubDate>Thu, 27 May 2010 03:08:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tkassembled.com/?p=103#comment-136</guid>
		<description>Can you write a How to use gtk-recordmydesktop?</description>
		<content:encoded><![CDATA[<p>Can you write a How to use gtk-recordmydesktop?</p>

<p><a href="http://feedads.g.doubleclick.net/~a/n0bm0VI-kEKKV7mJb35yNmoFdsY/0/da"><img src="http://feedads.g.doubleclick.net/~a/n0bm0VI-kEKKV7mJb35yNmoFdsY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/n0bm0VI-kEKKV7mJb35yNmoFdsY/1/da"><img src="http://feedads.g.doubleclick.net/~a/n0bm0VI-kEKKV7mJb35yNmoFdsY/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing Adobe AIR 1.x on 64bit Linux by admin</title>
		<link>http://blog.tkassembled.com/103/#comment-135</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 27 May 2010 00:58:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tkassembled.com/?p=103#comment-135</guid>
		<description>Use "gtk-recordmydesktop". I have used it often and it usually works very well :) (I say usually because yesterday it was acting kind of weird, but only on one computer)</description>
		<content:encoded><![CDATA[<p>Use &#8220;gtk-recordmydesktop&#8221;. I have used it often and it usually works very well <img src='http://blog.tkassembled.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (I say usually because yesterday it was acting kind of weird, but only on one computer)</p>

<p><a href="http://feedads.g.doubleclick.net/~a/xUs2n-hawo6ewr96iAy3_Y0rJ64/0/da"><img src="http://feedads.g.doubleclick.net/~a/xUs2n-hawo6ewr96iAy3_Y0rJ64/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/xUs2n-hawo6ewr96iAy3_Y0rJ64/1/da"><img src="http://feedads.g.doubleclick.net/~a/xUs2n-hawo6ewr96iAy3_Y0rJ64/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing Adobe AIR 1.x on 64bit Linux by El1iP3S01D</title>
		<link>http://blog.tkassembled.com/103/#comment-134</link>
		<dc:creator>El1iP3S01D</dc:creator>
		<pubDate>Thu, 27 May 2010 00:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tkassembled.com/?p=103#comment-134</guid>
		<description>I finally installed Adobe Air Beta using have of your instruction and 3 other sites as well...Thanks...By the way what program do you recommend to record your desktop to illustrate how i installed adobe air beta?</description>
		<content:encoded><![CDATA[<p>I finally installed Adobe Air Beta using have of your instruction and 3 other sites as well&#8230;Thanks&#8230;By the way what program do you recommend to record your desktop to illustrate how i installed adobe air beta?</p>

<p><a href="http://feedads.g.doubleclick.net/~a/YXHO7TTyylEOJtvB3kr_lQlLusE/0/da"><img src="http://feedads.g.doubleclick.net/~a/YXHO7TTyylEOJtvB3kr_lQlLusE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/YXHO7TTyylEOJtvB3kr_lQlLusE/1/da"><img src="http://feedads.g.doubleclick.net/~a/YXHO7TTyylEOJtvB3kr_lQlLusE/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing Adobe AIR 1.x on 64bit Linux by admin</title>
		<link>http://blog.tkassembled.com/103/#comment-133</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 26 May 2010 04:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tkassembled.com/?p=103#comment-133</guid>
		<description>Yeah, it has to be installed as root, I thought that was pretty clear from the script. When running something as "sudo," that means it needs to be run as root.

Installing it as root should allow you to run it with other users, otherwise you'll have to chown and chmod files to get things running correctly.</description>
		<content:encoded><![CDATA[<p>Yeah, it has to be installed as root, I thought that was pretty clear from the script. When running something as &#8220;sudo,&#8221; that means it needs to be run as root.</p>
<p>Installing it as root should allow you to run it with other users, otherwise you&#8217;ll have to chown and chmod files to get things running correctly.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/y3bPcOy8iP-E_5emnA26fnl7T6c/0/da"><img src="http://feedads.g.doubleclick.net/~a/y3bPcOy8iP-E_5emnA26fnl7T6c/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/y3bPcOy8iP-E_5emnA26fnl7T6c/1/da"><img src="http://feedads.g.doubleclick.net/~a/y3bPcOy8iP-E_5emnA26fnl7T6c/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing Adobe AIR 1.x on 64bit Linux by El1iP3S01D</title>
		<link>http://blog.tkassembled.com/103/#comment-132</link>
		<dc:creator>El1iP3S01D</dc:creator>
		<pubDate>Wed, 26 May 2010 04:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tkassembled.com/?p=103#comment-132</guid>
		<description>i finally installed, but i did it as root...So now users do not have access to Adobe Air and it's apps...So how do i give users access to Adeob Air and everything that goes with it?</description>
		<content:encoded><![CDATA[<p>i finally installed, but i did it as root&#8230;So now users do not have access to Adobe Air and it&#8217;s apps&#8230;So how do i give users access to Adeob Air and everything that goes with it?</p>

<p><a href="http://feedads.g.doubleclick.net/~a/mSerS8Un-bGz3H3DFGL-_KdOYdU/0/da"><img src="http://feedads.g.doubleclick.net/~a/mSerS8Un-bGz3H3DFGL-_KdOYdU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/mSerS8Un-bGz3H3DFGL-_KdOYdU/1/da"><img src="http://feedads.g.doubleclick.net/~a/mSerS8Un-bGz3H3DFGL-_KdOYdU/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing Adobe AIR 1.x on 64bit Linux by El1iP3S01D</title>
		<link>http://blog.tkassembled.com/103/#comment-131</link>
		<dc:creator>El1iP3S01D</dc:creator>
		<pubDate>Wed, 26 May 2010 00:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tkassembled.com/?p=103#comment-131</guid>
		<description>I follow your steps to the last period and this is what i get, Error loading the runtime (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
 How do you solve this?</description>
		<content:encoded><![CDATA[<p>I follow your steps to the last period and this is what i get, Error loading the runtime (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)<br />
 How do you solve this?</p>

<p><a href="http://feedads.g.doubleclick.net/~a/UMqqyQHdZVx0KmOXsrtqQ_OsIx4/0/da"><img src="http://feedads.g.doubleclick.net/~a/UMqqyQHdZVx0KmOXsrtqQ_OsIx4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/UMqqyQHdZVx0KmOXsrtqQ_OsIx4/1/da"><img src="http://feedads.g.doubleclick.net/~a/UMqqyQHdZVx0KmOXsrtqQ_OsIx4/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing Adobe AIR 1.x on 64bit Linux by El1iP3S01D</title>
		<link>http://blog.tkassembled.com/103/#comment-130</link>
		<dc:creator>El1iP3S01D</dc:creator>
		<pubDate>Tue, 25 May 2010 22:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tkassembled.com/?p=103#comment-130</guid>
		<description>Let me try again, I'll write u soon...</description>
		<content:encoded><![CDATA[<p>Let me try again, I&#8217;ll write u soon&#8230;</p>

<p><a href="http://feedads.g.doubleclick.net/~a/M4Nzk0Kqh6M0ceJAmgJucjFtlf4/0/da"><img src="http://feedads.g.doubleclick.net/~a/M4Nzk0Kqh6M0ceJAmgJucjFtlf4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/M4Nzk0Kqh6M0ceJAmgJucjFtlf4/1/da"><img src="http://feedads.g.doubleclick.net/~a/M4Nzk0Kqh6M0ceJAmgJucjFtlf4/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
	</item>
</channel>
</rss>
