<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Thanks, Mister!</title>
	<atom:link href="http://thanksmister.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://thanksmister.com</link>
	<description>Flex, AIR, &#38; Android Development Blog</description>
	<lastBuildDate>Wed, 18 Jan 2012 10:30:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Remove Underline from Clickable text in TextView on Android by Hitman</title>
		<link>http://thanksmister.com/2011/05/20/android-remove-underline-from-clickable-text-in-textview/#comment-2054</link>
		<dc:creator><![CDATA[Hitman]]></dc:creator>
		<pubDate>Wed, 18 Jan 2012 10:30:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.thanksmister.com/?p=1512#comment-2054</guid>
		<description><![CDATA[Thanx a Lot man........
You saved my day....]]></description>
		<content:encoded><![CDATA[<p>Thanx a Lot man&#8230;&#8230;..<br />
You saved my day&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex Spark Rounded Image and Image Button Controls by Ken Rogers (@pixels4nickels)</title>
		<link>http://thanksmister.com/2012/01/17/flex-spark-rounded-image-and-image-button-controls/#comment-2052</link>
		<dc:creator><![CDATA[Ken Rogers (@pixels4nickels)]]></dc:creator>
		<pubDate>Tue, 17 Jan 2012 21:30:57 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=1877#comment-2052</guid>
		<description><![CDATA[Anytime! I will be replacing some legacy code in our app with this tomorrow :)]]></description>
		<content:encoded><![CDATA[<p>Anytime! I will be replacing some legacy code in our app with this tomorrow <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrolling List Control with Tweener by Toàn Toét</title>
		<link>http://thanksmister.com/2009/01/25/scrolling-list-control-with-tweener/#comment-2039</link>
		<dc:creator><![CDATA[Toàn Toét]]></dc:creator>
		<pubDate>Wed, 04 Jan 2012 07:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=305#comment-2039</guid>
		<description><![CDATA[Thanks so much.]]></description>
		<content:encoded><![CDATA[<p>Thanks so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AS3 Scrolling List for Android and iOS devices by Paul Hinrichsen</title>
		<link>http://thanksmister.com/2010/10/14/android-as3-scrolling-list/#comment-2034</link>
		<dc:creator><![CDATA[Paul Hinrichsen]]></dc:creator>
		<pubDate>Thu, 22 Dec 2011 10:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.thanksmister.com/?p=1151#comment-2034</guid>
		<description><![CDATA[Hi

Thanks VERY much for all your hard work on this item and for making it available.

I have played around with it and even managed to add my own items to the list. I have also managed to play around with the font and font size in the list.

The only problem I have encountered, (hope it hasnt already been answered cause then I am just wasting your time), is the following;

If My list consists of names, for example,

John, Edgar, Paul .......

The tail of the &quot;g&quot; in Edgar keeps getting chopped off. I have played around with changing item height or font size but it still happens. I suspect the text is inside a frame of some sort and the tail is being chopped because it underhangs the bottom of the frame but I could be wrong.

Any ideas where I can fix this?

Thanks again.

Paul]]></description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Thanks VERY much for all your hard work on this item and for making it available.</p>
<p>I have played around with it and even managed to add my own items to the list. I have also managed to play around with the font and font size in the list.</p>
<p>The only problem I have encountered, (hope it hasnt already been answered cause then I am just wasting your time), is the following;</p>
<p>If My list consists of names, for example,</p>
<p>John, Edgar, Paul &#8230;&#8230;.</p>
<p>The tail of the &#8220;g&#8221; in Edgar keeps getting chopped off. I have played around with changing item height or font size but it still happens. I suspect the text is inside a frame of some sort and the tail is being chopped because it underhangs the bottom of the frame but I could be wrong.</p>
<p>Any ideas where I can fix this?</p>
<p>Thanks again.</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Firefox, Flex URLRequest, and Sessions Issue by balon patlatma</title>
		<link>http://thanksmister.com/2007/05/10/firefox-flex-urlrequest-and-sessions-issue/#comment-2028</link>
		<dc:creator><![CDATA[balon patlatma]]></dc:creator>
		<pubDate>Sun, 11 Dec 2011 08:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=59#comment-2028</guid>
		<description><![CDATA[Legends, this problem has been bugging me for a long time?]]></description>
		<content:encoded><![CDATA[<p>Legends, this problem has been bugging me for a long time?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AS3 Scrolling List for Android and iOS devices by thanksmister</title>
		<link>http://thanksmister.com/2010/10/14/android-as3-scrolling-list/#comment-2027</link>
		<dc:creator><![CDATA[thanksmister]]></dc:creator>
		<pubDate>Sat, 10 Dec 2011 18:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.thanksmister.com/?p=1151#comment-2027</guid>
		<description><![CDATA[I had it on enter frame, the timer just worked better.   The ideas for speeding up graphics are valid and worth a try.  However, this list doesn&#039;t recycle its children, so it renders the entire list.  Performance will go down as the number of objects increase.]]></description>
		<content:encoded><![CDATA[<p>I had it on enter frame, the timer just worked better.   The ideas for speeding up graphics are valid and worth a try.  However, this list doesn&#8217;t recycle its children, so it renders the entire list.  Performance will go down as the number of objects increase.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AS3 Scrolling List for Android and iOS devices by supermaggel</title>
		<link>http://thanksmister.com/2010/10/14/android-as3-scrolling-list/#comment-2026</link>
		<dc:creator><![CDATA[supermaggel]]></dc:creator>
		<pubDate>Sat, 10 Dec 2011 18:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.thanksmister.com/?p=1151#comment-2026</guid>
		<description><![CDATA[I love this, works like a charm. However speed is not that great i think, even on android (at least on a Desire HD). Has anyone tried to change the Timer for an ENTER_FRAME solution? Combined with bitmaps instead of using the graphics API, and maybe even bitmap text rendering if you use text in your scrollable items? I&#039;d very like to know this for deciding on wether or not to use the TouchList :&gt; Thanks Mister ;)]]></description>
		<content:encoded><![CDATA[<p>I love this, works like a charm. However speed is not that great i think, even on android (at least on a Desire HD). Has anyone tried to change the Timer for an ENTER_FRAME solution? Combined with bitmaps instead of using the graphics API, and maybe even bitmap text rendering if you use text in your scrollable items? I&#8217;d very like to know this for deciding on wether or not to use the TouchList :&gt; Thanks Mister <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload to S3 with cURL and AIR NativeProcess by 使用Adobe AIR 2的Native Process调用Curl命令 &#124; Flashache</title>
		<link>http://thanksmister.com/2011/03/16/upload-s3-curl-air-nativeprocess/#comment-2025</link>
		<dc:creator><![CDATA[使用Adobe AIR 2的Native Process调用Curl命令 &#124; Flashache]]></dc:creator>
		<pubDate>Sat, 10 Dec 2011 18:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thanksmister.com/?p=1414#comment-2025</guid>
		<description><![CDATA[[...] Upload to S3 with cURL and AIR NativeProcess [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Upload to S3 with cURL and AIR NativeProcess [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ImageCache, a cheap way to cache images in Adobe Flex by thanksmister</title>
		<link>http://thanksmister.com/2009/01/29/flex-imagecache-a-cheap-way-to-cache-images/#comment-2009</link>
		<dc:creator><![CDATA[thanksmister]]></dc:creator>
		<pubDate>Mon, 28 Nov 2011 19:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=336#comment-2009</guid>
		<description><![CDATA[@Rui

Hey thanks for the contribution and source code man!!  I will try to work this into the code base and put up a version on Github.]]></description>
		<content:encoded><![CDATA[<p>@Rui</p>
<p>Hey thanks for the contribution and source code man!!  I will try to work this into the code base and put up a version on Github.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ImageCache, a cheap way to cache images in Adobe Flex by Rui Pires</title>
		<link>http://thanksmister.com/2009/01/29/flex-imagecache-a-cheap-way-to-cache-images/#comment-2008</link>
		<dc:creator><![CDATA[Rui Pires]]></dc:creator>
		<pubDate>Mon, 28 Nov 2011 19:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=336#comment-2008</guid>
		<description><![CDATA[If you want to save the cache to disk when using Abode Air, (So that you still have some images when the net connection fails, for exemple) you may add this two methods to the ImageCacheUtility Class.

You could also call the unserialize method in the getInstance method, and the serialize when appropriate, i.e. when closing the app.

pastebin: http://pastebin.com/z90LLB72

the code in case Pastebin deletes the paste.

Cheers!

 Rui Pires

[sourcecode]
		public function serialize():void
		{	
			// save the instance
			
			var f:File = File.applicationStorageDirectory.resolvePath(&#039;imageCache.obj&#039;);
			
			var s:FileStream = new FileStream();
			s.open(f, FileMode.WRITE);
			
			// now convert the dict to a format we can sereialize
			var writeDict:ArrayCollection = new ArrayCollection();
			
			for each (var obj:Object in imageDictionary)
			{
				// convert bitmap data
				var bytes:ByteArray = new ByteArray();
				bytes.writeUnsignedInt(obj.data.width); // store width of image
				bytes.writeBytes(obj.data.getPixels(obj.data.rect)); // store bitmapdata as bytearray
				bytes.compress();
								
				var saveObj:Object = new Object();
				saveObj.bytes = bytes;
				saveObj.id = obj.id;
				
				writeDict.addItem(saveObj);
			}
			
			s.writeObject(writeDict);
		}
		
		public function unserialize():void
		{
			registerClassAlias(&#039;BitmapData&#039;, BitmapData);
			
			var f:File = File.applicationStorageDirectory.resolvePath(&#039;imageCache.obj&#039;);
			
			var s:FileStream = new FileStream();
			s.open(f, FileMode.READ);
			
			var readDict:ArrayCollection = s.readObject() as ArrayCollection;
			var newDict:ArrayCollection = new ArrayCollection();
			
			// convert the byteaerray bitmapdata to a new imageDict
			
			for each (var readObj:Object in readDict)
			{
				var rawData:ByteArray = readObj.bytes as ByteArray;
				rawData.uncompress();
				
				var width:int = rawData.readUnsignedInt(); // first 4 bytes (unsigned integer)
				var height:int = ((rawData.length - 4) / 4) / width;
				
				var bmd:BitmapData = new BitmapData(width, height, true, 0); // 32 bit transparent bitmap
				bmd.setPixels(bmd.rect, rawData); // position of data is now at 5th byte
				
				var convertedObj:Object = new Object();
				convertedObj.data = bmd;
				convertedObj.id = readObj.id;
				
				newDict.addItem(convertedObj);
				
			}
			
			// we can now use this data instead of the old data
			imageDictionary = newDict;
		}
[/sourcecode]]]></description>
		<content:encoded><![CDATA[<p>If you want to save the cache to disk when using Abode Air, (So that you still have some images when the net connection fails, for exemple) you may add this two methods to the ImageCacheUtility Class.</p>
<p>You could also call the unserialize method in the getInstance method, and the serialize when appropriate, i.e. when closing the app.</p>
<p>pastebin: <a href="http://pastebin.com/z90LLB72" rel="nofollow">http://pastebin.com/z90LLB72</a></p>
<p>the code in case Pastebin deletes the paste.</p>
<p>Cheers!</p>
<p> Rui Pires</p>
<pre class="brush: plain;">
		public function serialize():void
		{
			// save the instance

			var f:File = File.applicationStorageDirectory.resolvePath('imageCache.obj');

			var s:FileStream = new FileStream();
			s.open(f, FileMode.WRITE);

			// now convert the dict to a format we can sereialize
			var writeDict:ArrayCollection = new ArrayCollection();

			for each (var obj:Object in imageDictionary)
			{
				// convert bitmap data
				var bytes:ByteArray = new ByteArray();
				bytes.writeUnsignedInt(obj.data.width); // store width of image
				bytes.writeBytes(obj.data.getPixels(obj.data.rect)); // store bitmapdata as bytearray
				bytes.compress();

				var saveObj:Object = new Object();
				saveObj.bytes = bytes;
				saveObj.id = obj.id;

				writeDict.addItem(saveObj);
			}

			s.writeObject(writeDict);
		}

		public function unserialize():void
		{
			registerClassAlias('BitmapData', BitmapData);

			var f:File = File.applicationStorageDirectory.resolvePath('imageCache.obj');

			var s:FileStream = new FileStream();
			s.open(f, FileMode.READ);

			var readDict:ArrayCollection = s.readObject() as ArrayCollection;
			var newDict:ArrayCollection = new ArrayCollection();

			// convert the byteaerray bitmapdata to a new imageDict

			for each (var readObj:Object in readDict)
			{
				var rawData:ByteArray = readObj.bytes as ByteArray;
				rawData.uncompress();

				var width:int = rawData.readUnsignedInt(); // first 4 bytes (unsigned integer)
				var height:int = ((rawData.length - 4) / 4) / width;

				var bmd:BitmapData = new BitmapData(width, height, true, 0); // 32 bit transparent bitmap
				bmd.setPixels(bmd.rect, rawData); // position of data is now at 5th byte

				var convertedObj:Object = new Object();
				convertedObj.data = bmd;
				convertedObj.id = readObj.id;

				newDict.addItem(convertedObj);

			}

			// we can now use this data instead of the old data
			imageDictionary = newDict;
		}
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
