<?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 DanzBlog</title>
	<atom:link href="http://www.danwize.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danwize.com/blog</link>
	<description>My work in ActionScript and C# using Flash/Flex and Silverlight.</description>
	<lastBuildDate>Wed, 06 Jul 2011 22:58:53 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on AS3 Binary Search by Danwize</title>
		<link>http://www.danwize.com/blog/as3-binary-search/comment-page-1/#comment-27</link>
		<dc:creator>Danwize</dc:creator>
		<pubDate>Wed, 06 Jul 2011 22:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.danwize.com/blog/?p=10#comment-27</guid>
		<description>@Bob Sorry for taking so long to respond!  I&#039;ve been very bad at maintaining this blog lately.  I fixed the post above, myArrayForIndexes was just a copy and paste error.  You should see it now says arrayOfStrings.  Make sure you sort the array before using binary search.</description>
		<content:encoded><![CDATA[<p>@Bob Sorry for taking so long to respond!  I&#8217;ve been very bad at maintaining this blog lately.  I fixed the post above, myArrayForIndexes was just a copy and paste error.  You should see it now says arrayOfStrings.  Make sure you sort the array before using binary search.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AS3 Binary Search by bob</title>
		<link>http://www.danwize.com/blog/as3-binary-search/comment-page-1/#comment-26</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Wed, 29 Jun 2011 20:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.danwize.com/blog/?p=10#comment-26</guid>
		<description>what is &quot;myArrayForIndexes&quot;?</description>
		<content:encoded><![CDATA[<p>what is &#8220;myArrayForIndexes&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AS3 Binary Search by bob</title>
		<link>http://www.danwize.com/blog/as3-binary-search/comment-page-1/#comment-25</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Thu, 21 Apr 2011 18:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.danwize.com/blog/?p=10#comment-25</guid>
		<description>What on earth is &quot;myArrayForIndexes.length&quot;?</description>
		<content:encoded><![CDATA[<p>What on earth is &#8220;myArrayForIndexes.length&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AS3 Binary Search by xalaseta</title>
		<link>http://www.danwize.com/blog/as3-binary-search/comment-page-1/#comment-18</link>
		<dc:creator>xalaseta</dc:creator>
		<pubDate>Sun, 11 Apr 2010 18:04:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.danwize.com/blog/?p=10#comment-18</guid>
		<description>thanks y help me ...
search strings that start with &#039;s&#039;  this is very very faster from array filter ... very very


public function likeSearch(s:String,dictArray:Array=null):Array
		{
			if(s.length==0)return new Array();
			if(!dictArray)dictArray=story;
		 	//return dictArray.filter(function (element:*, index:int, arr:Array):Boolean{if(String(element).substr(0,s.length)==s)return true;return false})
			var i:int=binarySearch(dictArray,s,0,dictArray.length)
			if(i==-1)return new Array();
			var start:int;
			var end:int;
			
			for (var ii:int=i;ii&gt;=0;ii--){
				if(String(dictArray[ii]).substr(0,s.length) == s)start=ii; else ii=-1;
			}
			for (var iii:int=i;iii right) return -1;
     		var middle:int = (left + right) / 2;
     		if(String(array[middle]).substr(0,value.length) == value)return middle;
     		else if(array[middle] &gt; value)return binarySearch(array, value, left,middle - 1);
			     else return binarySearch(array, value, middle + 1,right);
		}</description>
		<content:encoded><![CDATA[<p>thanks y help me &#8230;<br />
search strings that start with &#8217;s&#8217;  this is very very faster from array filter &#8230; very very</p>
<p>public function likeSearch(s:String,dictArray:Array=null):Array<br />
		{<br />
			if(s.length==0)return new Array();<br />
			if(!dictArray)dictArray=story;<br />
		 	//return dictArray.filter(function (element:*, index:int, arr:Array):Boolean{if(String(element).substr(0,s.length)==s)return true;return false})<br />
			var i:int=binarySearch(dictArray,s,0,dictArray.length)<br />
			if(i==-1)return new Array();<br />
			var start:int;<br />
			var end:int;</p>
<p>			for (var ii:int=i;ii&gt;=0;ii&#8211;){<br />
				if(String(dictArray[ii]).substr(0,s.length) == s)start=ii; else ii=-1;<br />
			}<br />
			for (var iii:int=i;iii right) return -1;<br />
     		var middle:int = (left + right) / 2;<br />
     		if(String(array[middle]).substr(0,value.length) == value)return middle;<br />
     		else if(array[middle] &gt; value)return binarySearch(array, value, left,middle &#8211; 1);<br />
			     else return binarySearch(array, value, middle + 1,right);<br />
		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Missing Text in Flash Player by Amber</title>
		<link>http://www.danwize.com/blog/missing-text-in-flash-player/comment-page-1/#comment-17</link>
		<dc:creator>Amber</dc:creator>
		<pubDate>Sun, 07 Mar 2010 21:25:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.danwize.com/blog/?p=38#comment-17</guid>
		<description>thanks for this - been trying to sort out for ages - apple tech were no help and wanted us to send mac in - but knew it had to be a settings thing - thanks again</description>
		<content:encoded><![CDATA[<p>thanks for this &#8211; been trying to sort out for ages &#8211; apple tech were no help and wanted us to send mac in &#8211; but knew it had to be a settings thing &#8211; thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get Rid of Yellow Focus Rect by Danwize</title>
		<link>http://www.danwize.com/blog/get-rid-of-yellow-focus-rect/comment-page-1/#comment-16</link>
		<dc:creator>Danwize</dc:creator>
		<pubDate>Wed, 03 Mar 2010 20:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.danwize.com/blog/?p=27#comment-16</guid>
		<description>I&#039;ll bet if you debug, you&#039;ll see that the entire stage is null at that point in the program.  Stage will not be active until after the applicationComplete event is fired.  Try something like this:
&lt;code&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; applicationComplete=&quot;init()&quot;&gt;
     &lt;mx:Script&gt;
          private function init():void
          {
               stage.stageFocusRect = false;
          }
     &lt;/mx:Script&gt;
&lt;/code&gt;

That should solve this problem and a whole lot of others.  Lemme know if that helps :)</description>
		<content:encoded><![CDATA[<p>I&#8217;ll bet if you debug, you&#8217;ll see that the entire stage is null at that point in the program.  Stage will not be active until after the applicationComplete event is fired.  Try something like this:<br />
&lt;code><br />
&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; applicationComplete=&#8221;init()&#8221;&gt;<br />
     &lt;mx:Script&gt;<br />
          private function init():void<br />
          {<br />
               stage.stageFocusRect = false;<br />
          }<br />
     &lt;/mx:Script&gt;<br />
&lt;/code&gt;</p>
<p>That should solve this problem and a whole lot of others.  Lemme know if that helps <img src='http://www.danwize.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get Rid of Yellow Focus Rect by Julio Serpas</title>
		<link>http://www.danwize.com/blog/get-rid-of-yellow-focus-rect/comment-page-1/#comment-15</link>
		<dc:creator>Julio Serpas</dc:creator>
		<pubDate>Wed, 03 Mar 2010 18:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.danwize.com/blog/?p=27#comment-15</guid>
		<description>statge.setFocusRect property not available in Flex Builder sdk 3.4

I tried stage.stageFocusRect = false; and I get 

TypeError: Error #1009: Cannot access a property or method of a null object reference.</description>
		<content:encoded><![CDATA[<p>statge.setFocusRect property not available in Flex Builder sdk 3.4</p>
<p>I tried stage.stageFocusRect = false; and I get </p>
<p>TypeError: Error #1009: Cannot access a property or method of a null object reference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Missing Text in Flash Player by Danwize</title>
		<link>http://www.danwize.com/blog/missing-text-in-flash-player/comment-page-1/#comment-13</link>
		<dc:creator>Danwize</dc:creator>
		<pubDate>Wed, 17 Feb 2010 22:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.danwize.com/blog/?p=38#comment-13</guid>
		<description>I&#039;m glad that worked for you!  I didn&#039;t know that problem affected Youtube videos too.</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad that worked for you!  I didn&#8217;t know that problem affected Youtube videos too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Missing Text in Flash Player by Brandon G</title>
		<link>http://www.danwize.com/blog/missing-text-in-flash-player/comment-page-1/#comment-12</link>
		<dc:creator>Brandon G</dc:creator>
		<pubDate>Wed, 17 Feb 2010 06:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.danwize.com/blog/?p=38#comment-12</guid>
		<description>Thanks, I was having this problem for some time and finally decided I needed to get it solved. I noticed that text on nfl.com and Google Street View were not working and then Youtube video would go crazy. Following your suggestion fixed my problem!</description>
		<content:encoded><![CDATA[<p>Thanks, I was having this problem for some time and finally decided I needed to get it solved. I noticed that text on nfl.com and Google Street View were not working and then Youtube video would go crazy. Following your suggestion fixed my problem!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get Rid of Yellow Focus Rect by imitrex</title>
		<link>http://www.danwize.com/blog/get-rid-of-yellow-focus-rect/comment-page-1/#comment-9</link>
		<dc:creator>imitrex</dc:creator>
		<pubDate>Wed, 02 Dec 2009 09:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.danwize.com/blog/?p=27#comment-9</guid>
		<description>works for me</description>
		<content:encoded><![CDATA[<p>works for me</p>
]]></content:encoded>
	</item>
</channel>
</rss>

