

































<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Debugging ActionScript 2.0 Code:&#160; Lifting the Blindfold</title>
	<link>http://www.quip.net/blog/2006/flash/debugging-actionscript</link>
	<description>Luck is the residue of good design.</description>
	<pubDate>Tue, 07 Feb 2012 19:16:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-289</link>
		<pubDate>Sat, 10 Jun 2006 18:49:24 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-289</guid>
					<description>Jeckyl would know, for sure.  Always something to keep learning in Flash!</description>
		<content:encoded><![CDATA[<p>Jeckyl would know, for sure.  Always something to keep learning in Flash!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: NSurveyor</title>
		<link>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-237</link>
		<pubDate>Wed, 07 Jun 2006 01:50:31 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-237</guid>
					<description>Did a little digging into the newsgroups... and haha, I found this: 

Jeckyl:

&quot;alpha values are always a multiple of 100/256 .. because inside the flash 
player, alpha values range 0..256.  So there is no exact 10% value.&quot;

So there are indeed 257 values, because Jeckyl is almost never wrong... :)

&lt;a href=&quot;http://groups.google.com/group/macromedia.flash.actionscript/browse_frm/thread/9b1d361da3ce3727?tvc=1&amp;#38;q=alpha+values+group%3A*flash&amp;#38;hl=en&quot; class=&quot;external&quot; target=&quot;_blank&quot;&gt;See this Adobe forum thread (via Google Groups).&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Did a little digging into the newsgroups&#8230; and haha, I found this: </p>
<p>Jeckyl:</p>
<p>&#8220;alpha values are always a multiple of 100/256 .. because inside the flash<br />
player, alpha values range 0..256.  So there is no exact 10% value.&#8221;</p>
<p>So there are indeed 257 values, because Jeckyl is almost never wrong&#8230; <img src='http://www.quip.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://groups.google.com/group/macromedia.flash.actionscript/browse_frm/thread/9b1d361da3ce3727?tvc=1&amp;q=alpha+values+group%3A*flash&amp;hl=en" class="external" target="_blank">See this Adobe forum thread (via Google Groups).</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-224</link>
		<pubDate>Mon, 05 Jun 2006 00:33:19 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-224</guid>
					<description>The more I think about it, the less confident I feel about my original reply, NSurveyor.  ;)  This reminds me of the classic &lt;a href=&quot;http://www.newton.dep.anl.gov/newton/askasci/1995/math/MATH005.HTM&quot; class=&quot;external&quot; target=&quot;_blank&quot;&gt;&quot;missing dollar&quot;/hotel puzzle&lt;/a&gt;, which always seems to stump me when I haven't re-read it in a while.  If you figure it out, let me know!  :)</description>
		<content:encoded><![CDATA[<p>The more I think about it, the less confident I feel about my original reply, NSurveyor.  <img src='http://www.quip.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   This reminds me of the classic <a href="http://www.newton.dep.anl.gov/newton/askasci/1995/math/MATH005.HTM" class="external" target="_blank">&#8220;missing dollar&#8221;/hotel puzzle</a>, which always seems to stump me when I haven&#8217;t re-read it in a while.  If you figure it out, let me know!  <img src='http://www.quip.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: NSurveyor</title>
		<link>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-218</link>
		<pubDate>Sun, 04 Jun 2006 20:35:25 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-218</guid>
					<description>How so? The way I see it, the minimum value for my above code is 0. The maximum is 256. That gives 257 values? I don't see how the minimum value is 1 (according to my code)???</description>
		<content:encoded><![CDATA[<p>How so? The way I see it, the minimum value for my above code is 0. The maximum is 256. That gives 257 values? I don&#8217;t see how the minimum value is 1 (according to my code)???
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-210</link>
		<pubDate>Fri, 02 Jun 2006 00:56:04 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-210</guid>
					<description>NSurveyor,

Flash only supports 256 levels of transparency, but your experiment is very interesting (as usual!).  :)  In Flash, the range goes from 0 to 255, which is 256 values; in your math equation, the range goes from 1 to 256, which is, again, 256 values.</description>
		<content:encoded><![CDATA[<p>NSurveyor,</p>
<p>Flash only supports 256 levels of transparency, but your experiment is very interesting (as usual!).  <img src='http://www.quip.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   In Flash, the range goes from 0 to 255, which is 256 values; in your math equation, the range goes from 1 to 256, which is, again, 256 values.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: NSurveyor</title>
		<link>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-209</link>
		<pubDate>Thu, 01 Jun 2006 22:43:19 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-209</guid>
					<description>You know, I've never actually used the Debugger panel. And now I can see how useful it really is... guess it's time to start using it! 

Also, aren't there 257 levels of transparency? 

MovieClip.prototype.addProperty('_alpha256', function () {
	return this._alpha/100*256;
}, function (x) {
	this._alpha = x/256*100;
});
_alpha256 = 0;
trace(_alpha256);
_alpha256 = 128;
trace(_alpha256);
_alpha256 = 256;
trace(_alpha256);

0-256 is 257 values.

&lt;a href=&quot;http://groups.google.com/group/macromedia.flash.actionscript/browse_thread/thread/6b76793251222638/1de244a4a56d6d17?lnk=st&amp;#38;q=alpha+author%3Asaif7463%40yahoo.com+257&amp;#38;rnum=1#1de244a4a56d6d17&quot; class=&quot;external&quot; target=&quot;_blank&quot;&gt;See this Adobe forum thread (via Google Groups).&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>You know, I&#8217;ve never actually used the Debugger panel. And now I can see how useful it really is&#8230; guess it&#8217;s time to start using it! </p>
<p>Also, aren&#8217;t there 257 levels of transparency? </p>
<p>MovieClip.prototype.addProperty(&#8217;_alpha256&#8242;, function () {<br />
	return this._alpha/100*256;<br />
}, function (x) {<br />
	this._alpha = x/256*100;<br />
});<br />
_alpha256 = 0;<br />
trace(_alpha256);<br />
_alpha256 = 128;<br />
trace(_alpha256);<br />
_alpha256 = 256;<br />
trace(_alpha256);</p>
<p>0-256 is 257 values.</p>
<p><a href="http://groups.google.com/group/macromedia.flash.actionscript/browse_thread/thread/6b76793251222638/1de244a4a56d6d17?lnk=st&amp;q=alpha+author%3Asaif7463%40yahoo.com+257&amp;rnum=1#1de244a4a56d6d17" class="external" target="_blank">See this Adobe forum thread (via Google Groups).</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-184</link>
		<pubDate>Wed, 31 May 2006 02:54:37 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-184</guid>
					<description>Thanks, ImagicDigital!  I owe thanks to Jen deHaan for many of those screenshots.  She was great about eliciting more and more detail from me.</description>
		<content:encoded><![CDATA[<p>Thanks, ImagicDigital!  I owe thanks to Jen deHaan for many of those screenshots.  She was great about eliciting more and more detail from me.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ImagicDigital</title>
		<link>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-183</link>
		<pubDate>Wed, 31 May 2006 01:45:01 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/debugging-actionscript#comment-183</guid>
					<description>Congrats on a great article!  There's a ton of info in it, but very well organized, and -- of course -- made interesting with good writing.  I like the fact that it was so well illustrated with screenshots (allows the reader to follow along even without opening up your sample files). Which I will download anyway, to get at the traceXML function you mention above! ;)</description>
		<content:encoded><![CDATA[<p>Congrats on a great article!  There&#8217;s a ton of info in it, but very well organized, and &#8212; of course &#8212; made interesting with good writing.  I like the fact that it was so well illustrated with screenshots (allows the reader to follow along even without opening up your sample files). Which I will download anyway, to get at the traceXML function you mention above! <img src='http://www.quip.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

