<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>dispatchEvent &#187; AS3 Bible</title>
	<link>http://www.partlyhuman.com/blog</link>
	<description>Welcome to dispatchEvent, a blog brought to you by Roger Braunstein of partlyhuman and Mims Wright of losdesigns.</description>
	<pubDate>Fri, 09 May 2008 06:49:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>ActionScript 3.0 Bible Errata</title>
		<link>http://www.partlyhuman.com/blog/mims/actionscript-30-bible-errata</link>
		<comments>http://www.partlyhuman.com/blog/mims/actionscript-30-bible-errata#comments</comments>
		<pubDate>Thu, 27 Mar 2008 20:14:43 +0000</pubDate>
		<dc:creator>Mims Wright</dc:creator>
		
		<category><![CDATA[AS3 Bible]]></category>

		<category><![CDATA[Authors]]></category>

		<category><![CDATA[actionscript 3.0 bible]]></category>

		<category><![CDATA[as3bible]]></category>

		<category><![CDATA[bible]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[errata]]></category>

		<category><![CDATA[error]]></category>

		<category><![CDATA[wiley]]></category>

		<guid isPermaLink="false">http://mimswright.com/blog/?p=254</guid>
		<description><![CDATA[
Much like the authors of the original Bible, we authors of the ActionScript 3.0 Bible have caught a lot of heat over discrepancies in our book. Unfortunately, working with several co-authors has its drawbacks and I am not able to take full responsibility for all of the content. If you find problems or are having [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://mimswright.com/blog/?attachment_id=255' rel='attachment wp-att-255' title='BibleErrata'><img src='http://mimswright.com/blog/wp-content/uploads/2008/03/bibleerrata.jpg' alt='BibleErrata' /></a><br />
Much like the authors of the original Bible, we authors of the <a href="http://www.amazon.com/ActionScript-3-0-Bible-Roger-Braunstein/dp/0470135603">ActionScript 3.0 Bible</a> have caught a lot of heat over discrepancies in our book. Unfortunately, working with several co-authors has its drawbacks and I am not able to take full responsibility for all of the content. If you find problems or are having trouble compiling your code, I encourage you to please visit the <a href="http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470135603,descCd-ERRATA.html">Wiley website</a> to check for corrections and to fill out the errata form. The publisher will be better able to coordinate with the right people to fix any issues. </p>
<p>Please accept our apologies for the errors you&#8217;ve found so far.<br />
Mims</p>
]]></content:encoded>
			<wfw:commentRss>http://www.partlyhuman.com/blog/mims/actionscript-30-bible-errata/feed</wfw:commentRss>
		</item>
		<item>
		<title>Reader Question: Why isn&#8217;t event bubbling working</title>
		<link>http://www.partlyhuman.com/blog/mims/reader-question-why-isnt-event-bubbling-working</link>
		<comments>http://www.partlyhuman.com/blog/mims/reader-question-why-isnt-event-bubbling-working#comments</comments>
		<pubDate>Tue, 18 Mar 2008 18:24:18 +0000</pubDate>
		<dc:creator>Mims Wright</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[AS3 Bible]]></category>

		<category><![CDATA[Authors]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://mimswright.com/blog/?p=252</guid>
		<description><![CDATA[A reader sent me this question. Thanks in advance to Michael:

i&#8217;m dispatching an event from a sprite after it fades in completely
dispatchEvent(new Event(Main.ENTER_SCREEN_COMPLETE));
i&#8217;m trying to listen for to this event but for some reason it doesn&#8217;t get picked up when  the capturing parameter is set to false.. that is for bubbling and the target [...]]]></description>
			<content:encoded><![CDATA[<p>A reader sent me this question. Thanks in advance to Michael:</p>
<blockquote><p>
i&#8217;m dispatching an event from a sprite after it fades in completely<br />
<code>dispatchEvent(new Event(Main.ENTER_SCREEN_COMPLETE));</code></p>
<p>i&#8217;m trying to listen for to this event but for some reason it doesn&#8217;t get picked up when  the capturing parameter is set to false.. that is for bubbling and the target phase.</p>
<p>This works<br />
<code>container.addEventListener(Main.ENTER_SCREEN_COMPLETE,  screenTweenComplete, <strong>true</strong>, 0, true);</code></p>
<p>This does NOT work<br />
<code>container.addEventListener(Main.ENTER_SCREEN_COMPLETE,  screenTweenComplete, <strong>false</strong>, 0, true);</code></p>
<p>Where container, is an ancestor to everything on the screen. Essentially its the the stage.</p>
<p>Any clues why this is happening?
</p></blockquote>
<p>Answer after the jump.<br />
 <a href="http://www.partlyhuman.com/blog/mims/reader-question-why-isnt-event-bubbling-working#more-252" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.partlyhuman.com/blog/mims/reader-question-why-isnt-event-bubbling-working/feed</wfw:commentRss>
		</item>
		<item>
		<title>No children on the stage - a confusing Flash CS3 display list issue</title>
		<link>http://www.partlyhuman.com/blog/mims/no-children-on-the-stage-a-confusing-flash-cs3-display-list-issue</link>
		<comments>http://www.partlyhuman.com/blog/mims/no-children-on-the-stage-a-confusing-flash-cs3-display-list-issue#comments</comments>
		<pubDate>Wed, 16 Jan 2008 01:00:02 +0000</pubDate>
		<dc:creator>Mims Wright</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[AS3 Bible]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://mimswright.com/blog/?p=227</guid>
		<description><![CDATA[A reader wrote to me with an interesting Flash CS3 problem that had me stumped at first (mostly because I use FlexBuilder instead of Flash). I thought I&#8217;d post the answer here so we can all benefit from it.
The Problem
Ben H. writes&#8230;

I’ve been trying to get familiar with a “best practice” on [looping through the [...]]]></description>
			<content:encoded><![CDATA[<p>A reader wrote to me with an interesting Flash CS3 problem that had me stumped at first (mostly because I use FlexBuilder instead of Flash). I thought I&#8217;d post the answer here so we can all benefit from it.</p>
<h3>The Problem</h3>
<p>Ben H. writes&#8230;</p>
<blockquote><p>
I’ve been trying to get familiar with a “best practice” on [looping through the display list].  The trouble is, when I enter the following on the first frame of a blank .fla file:</p>
<p><code>trace("Number of Children in a blank SWF:"+stage.numChildren);<br />
trace("Child 1:" + stage.getChildAt(0));</code></p>
<p>I get this:</p>
<p><code>Number of Children in a blank SWF:1<br />
Child 1:[object MainTimeline]</code></p>
<p>Now that may seem grand, but I’ve drawn several shapes and have a text field and named movieclip instances on stage as well – so why [does it only count one child?]
</p></blockquote>
<p>Solution after the jump.<br />
 <a href="http://www.partlyhuman.com/blog/mims/no-children-on-the-stage-a-confusing-flash-cs3-display-list-issue#more-227" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.partlyhuman.com/blog/mims/no-children-on-the-stage-a-confusing-flash-cs3-display-list-issue/feed</wfw:commentRss>
		</item>
		<item>
		<title>Building and Running AS3 Bible Examples</title>
		<link>http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples</link>
		<comments>http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples#comments</comments>
		<pubDate>Wed, 05 Dec 2007 04:23:02 +0000</pubDate>
		<dc:creator>Roger Braunstein</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[AS3 Bible]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples</guid>
		<description><![CDATA[I&#8217;ve received several emails from readers who have had trouble running code from the ActionScript 3.0 Bible. You can find a step-by-step guide to running example code in the Introduction to that book. We all know that a picture is worth a thousand words, but friends, we are living in the HD age, and pictures [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve received several emails from readers who have had trouble running code from the ActionScript 3.0 Bible. You can find a step-by-step guide to running example code in the Introduction to that book. We all know that a picture is worth a thousand words, but friends, we are living in the HD age, and <b>pictures are boring us to tears</b>. Today&#8217;s sophisticated audience demands excitement, explosions, underwater scenes, bullet time, pole dances, and THX certified sound! So to provide a gripping emotional connection with my readers, I here provide <b>video tutorials</b> on how to build examples from the book (in under 5  minutes!). First, using Flash CS3, then using Flex Builder 3. Pow! Boom! Kachow!</p>
<p><a href="http://partlyhuman.com/articles/screencasts/running-as3-examples-using-flash.html"><img src="http://partlyhuman.com/articles/misc/fl.png" width="128" height="128" alt="FL"/></a><a href="http://partlyhuman.com/articles/screencasts/running-as3-examples-using-flex-builder.html"><img src="http://partlyhuman.com/articles/misc/fx.png" width="128" height="128" alt="FX"/></a></p>
<p><a href="http://partlyhuman.com/articles/screencasts/running-as3-examples-using-flash.html">See how to run example code using Flash</a> | <a href="http://partlyhuman.com/articles/screencasts/running-as3-examples-using-flex-builder.html">See how to run example code using Flex Builder</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
