<?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 on: Building and Running AS3 Bible Examples</title>
	<atom:link href="http://dispatchevent.org/roger/building-and-running-as3-bible-examples/feed/" rel="self" type="application/rss+xml" />
	<link>http://dispatchevent.org/roger/building-and-running-as3-bible-examples/</link>
	<description>Collective thoughts on the Flash Platform, iOS, Unity, and any other technology we use.</description>
	<lastBuildDate>Tue, 24 Jan 2012 12:18:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mitch</title>
		<link>http://dispatchevent.org/roger/building-and-running-as3-bible-examples/comment-page-1/#comment-151634</link>
		<dc:creator>Mitch</dc:creator>
		<pubDate>Wed, 24 Jun 2009 22:08:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples#comment-151634</guid>
		<description>Hi everybody! Im at the page 13 (Overriding variables) and i have no idea to run this code:

package {
    public class Local {
        public var a:String = &quot;instance&quot;;
        public var b:String = &quot;instance&quot;;
        public function method():void {
            var a:String = &quot;function&quot;;
            b = &quot;function&quot;;
            trace(a);
            trace(b);
        }
    }
}

Please help me run this (i can&#039;t run any code in this book except the Hello World example - same problem with the downloaded codes)

Please HEEEELP!!!

Can anyone explain step-by-step how to accomplish it?

Thank you!!</description>
		<content:encoded><![CDATA[<p>Hi everybody! Im at the page 13 (Overriding variables) and i have no idea to run this code:</p>
<p>package {<br />
    public class Local {<br />
        public var a:String = &#8220;instance&#8221;;<br />
        public var b:String = &#8220;instance&#8221;;<br />
        public function method():void {<br />
            var a:String = &#8220;function&#8221;;<br />
            b = &#8220;function&#8221;;<br />
            trace(a);<br />
            trace(b);<br />
        }<br />
    }<br />
}</p>
<p>Please help me run this (i can&#8217;t run any code in this book except the Hello World example &#8211; same problem with the downloaded codes)</p>
<p>Please HEEEELP!!!</p>
<p>Can anyone explain step-by-step how to accomplish it?</p>
<p>Thank you!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satish</title>
		<link>http://dispatchevent.org/roger/building-and-running-as3-bible-examples/comment-page-1/#comment-132708</link>
		<dc:creator>Satish</dc:creator>
		<pubDate>Mon, 15 Dec 2008 13:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples#comment-132708</guid>
		<description>Hi Roger,  
Happy X&#039;mas and Happy New Year to all of you!!

I had been working with AS2.0, till recently. But now I have been reading your book and trying the AS3Bible - examples as per the instructions. 

I am storing class files in com.wiley.ac3bible and flash documents  outside com, but for every program that i run i get only blank swf file, when debugged it gives only message that 
&quot;A definition for the document class could not found in the ckasspath, so one will automatically generated in the SWF file upon export&quot; 
I have flash player 9 (debug version) only flash files work but class files dont.  
Is it required to set the classpath? How??  

Kindly help me out.

You have written the book nicely, the language is so down-to-earth, easy to understand and  you have made tedious topics quite interesting to read !!

Hope I will get the required hints from you.

Regards to Mims and Joushua too.

Satish
Bangalore/India.</description>
		<content:encoded><![CDATA[<p>Hi Roger,<br />
Happy X&#8217;mas and Happy New Year to all of you!!</p>
<p>I had been working with AS2.0, till recently. But now I have been reading your book and trying the AS3Bible &#8211; examples as per the instructions. </p>
<p>I am storing class files in com.wiley.ac3bible and flash documents  outside com, but for every program that i run i get only blank swf file, when debugged it gives only message that<br />
&#8220;A definition for the document class could not found in the ckasspath, so one will automatically generated in the SWF file upon export&#8221;<br />
I have flash player 9 (debug version) only flash files work but class files dont.<br />
Is it required to set the classpath? How??  </p>
<p>Kindly help me out.</p>
<p>You have written the book nicely, the language is so down-to-earth, easy to understand and  you have made tedious topics quite interesting to read !!</p>
<p>Hope I will get the required hints from you.</p>
<p>Regards to Mims and Joushua too.</p>
<p>Satish<br />
Bangalore/India.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://dispatchevent.org/roger/building-and-running-as3-bible-examples/comment-page-1/#comment-125679</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Sat, 13 Sep 2008 14:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples#comment-125679</guid>
		<description>Regarding code for Chap 12_2 and 12_3 (I think you&#039;re referring to the StageListenerSprit and StageTestProject scripts?) 

It isn&#039;t too clear in the text. I was able to get it to work by saving the StageTestProject class as a package in the same directory as the StageListenerSprite package. I had to add the fully qualified path and that it extends Sprite to the beginning of the file. Both packages then reside in the same com.wiley.as3bible folder:

So for example, StageListenerSprite&#039;s code would begin with:

  package com.wiley.as3bible
  {
    import flash.display.Sprite;
    import flash.events.Event;

    public class StageListenerSprite extends Sprite
  ...etc... 

and the StageTestProject package/class would begin with:

  package com.wiley.as3bible
  {
    import flash.display.Sprite  
    // you need this because StageTestProject extends Sprite

    public class StageTestProject extends Sprite
  ...etc...

Then, in your FLA file, in the Document Class field, you would enter:
  com.wiley.as3bible.StageTestProject
as your document class, so it will be the first thing to run when you run your movie. StageTestProject will look for the StageListenerSprite class in the same directory  (com.wiley.as3bible) to access its function.

The output once it all is hooked up would be:

   after the constructor is called the stage = null
      (since nothing was added to the stage yet, so the stage/display list is null)
  0 
      (since adding an item to the display list now creates a stage so it is no longer null)
  0
      (since removing an item doesn&#039;t remove the display list so the stage still exists)
 

I got to this conclusion because both StageListenerSprite and StageTestProject are listed as public classes so they would need to reside in separate packages (files) because including them in the same file produces the error:

5006: An ActionScript file can not have more than one externally visible definition: com.wiley.as3bible.StageListenerSprite com.wiley.as3bible.StageTestProject</description>
		<content:encoded><![CDATA[<p>Regarding code for Chap 12_2 and 12_3 (I think you&#8217;re referring to the StageListenerSprit and StageTestProject scripts?) </p>
<p>It isn&#8217;t too clear in the text. I was able to get it to work by saving the StageTestProject class as a package in the same directory as the StageListenerSprite package. I had to add the fully qualified path and that it extends Sprite to the beginning of the file. Both packages then reside in the same com.wiley.as3bible folder:</p>
<p>So for example, StageListenerSprite&#8217;s code would begin with:</p>
<p>  package com.wiley.as3bible<br />
  {<br />
    import flash.display.Sprite;<br />
    import flash.events.Event;</p>
<p>    public class StageListenerSprite extends Sprite<br />
  &#8230;etc&#8230; </p>
<p>and the StageTestProject package/class would begin with:</p>
<p>  package com.wiley.as3bible<br />
  {<br />
    import flash.display.Sprite<br />
    // you need this because StageTestProject extends Sprite</p>
<p>    public class StageTestProject extends Sprite<br />
  &#8230;etc&#8230;</p>
<p>Then, in your FLA file, in the Document Class field, you would enter:<br />
  com.wiley.as3bible.StageTestProject<br />
as your document class, so it will be the first thing to run when you run your movie. StageTestProject will look for the StageListenerSprite class in the same directory  (com.wiley.as3bible) to access its function.</p>
<p>The output once it all is hooked up would be:</p>
<p>   after the constructor is called the stage = null<br />
      (since nothing was added to the stage yet, so the stage/display list is null)<br />
  0<br />
      (since adding an item to the display list now creates a stage so it is no longer null)<br />
  0<br />
      (since removing an item doesn&#8217;t remove the display list so the stage still exists)</p>
<p>I got to this conclusion because both StageListenerSprite and StageTestProject are listed as public classes so they would need to reside in separate packages (files) because including them in the same file produces the error:</p>
<p>5006: An ActionScript file can not have more than one externally visible definition: com.wiley.as3bible.StageListenerSprite com.wiley.as3bible.StageTestProject</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mims Wright</title>
		<link>http://dispatchevent.org/roger/building-and-running-as3-bible-examples/comment-page-1/#comment-97542</link>
		<dc:creator>Mims Wright</dc:creator>
		<pubDate>Thu, 27 Mar 2008 19:51:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples#comment-97542</guid>
		<description>Hi Steve, Mike, Jeremiah, 

I&#039;m forwarding your concerns to our publisher who can help coordinate with the author of that chapter to get things straightened out. In the meantime, the best thing you can do is fill out an Errata form on the Wiley website. 

http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470135603,descCd-ERRATA.html

Thanks!
Mims</description>
		<content:encoded><![CDATA[<p>Hi Steve, Mike, Jeremiah, </p>
<p>I&#8217;m forwarding your concerns to our publisher who can help coordinate with the author of that chapter to get things straightened out. In the meantime, the best thing you can do is fill out an Errata form on the Wiley website. </p>
<p><a href="http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470135603,descCd-ERRATA.html" rel="nofollow">http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470135603,descCd-ERRATA.html</a></p>
<p>Thanks!<br />
Mims</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Harris</title>
		<link>http://dispatchevent.org/roger/building-and-running-as3-bible-examples/comment-page-1/#comment-94589</link>
		<dc:creator>Steve Harris</dc:creator>
		<pubDate>Thu, 20 Mar 2008 13:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples#comment-94589</guid>
		<description>My comment is the same as Mike.
I can follow the video but don&#039;t know how to incorporate the code from 12_2 and 12_3.</description>
		<content:encoded><![CDATA[<p>My comment is the same as Mike.<br />
I can follow the video but don&#8217;t know how to incorporate the code from 12_2 and 12_3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremiah</title>
		<link>http://dispatchevent.org/roger/building-and-running-as3-bible-examples/comment-page-1/#comment-90589</link>
		<dc:creator>Jeremiah</dc:creator>
		<pubDate>Mon, 10 Mar 2008 19:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples#comment-90589</guid>
		<description>The code in chapter27 exercise is giving me multiple errors.


will you please double check, triple check that coding I have copy and followed your steps, but I still can not get the app to execute.

Thanks

J.</description>
		<content:encoded><![CDATA[<p>The code in chapter27 exercise is giving me multiple errors.</p>
<p>will you please double check, triple check that coding I have copy and followed your steps, but I still can not get the app to execute.</p>
<p>Thanks</p>
<p>J.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://dispatchevent.org/roger/building-and-running-as3-bible-examples/comment-page-1/#comment-68257</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 02 Jan 2008 05:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples#comment-68257</guid>
		<description>Thanks this video helped out a lot but I have a question about the code. I have another question about running some of the code. In the files for Chap 12_2 and Chap 12_3 how are we suppose to run these? What links them together?

Many Thanks!!
Mike</description>
		<content:encoded><![CDATA[<p>Thanks this video helped out a lot but I have a question about the code. I have another question about running some of the code. In the files for Chap 12_2 and Chap 12_3 how are we suppose to run these? What links them together?</p>
<p>Many Thanks!!<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mims Wright</title>
		<link>http://dispatchevent.org/roger/building-and-running-as3-bible-examples/comment-page-1/#comment-63967</link>
		<dc:creator>Mims Wright</dc:creator>
		<pubDate>Thu, 13 Dec 2007 18:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples#comment-63967</guid>
		<description>Todd,
The code samples are available on the wiley website. 
Check this post: http://mimswright.com/blog/?p=196

Furthermore, Wiley has linked to this blog post on the book site but you probably know that since you&#039;re reading this.</description>
		<content:encoded><![CDATA[<p>Todd,<br />
The code samples are available on the wiley website.<br />
Check this post: <a href="http://mimswright.com/blog/?p=196" rel="nofollow">http://mimswright.com/blog/?p=196</a></p>
<p>Furthermore, Wiley has linked to this blog post on the book site but you probably know that since you&#8217;re reading this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd Hamilton</title>
		<link>http://dispatchevent.org/roger/building-and-running-as3-bible-examples/comment-page-1/#comment-63756</link>
		<dc:creator>Todd Hamilton</dc:creator>
		<pubDate>Wed, 12 Dec 2007 19:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples#comment-63756</guid>
		<description>Great Book but,

Is there anywhere where we can get the miles of source code published in the book but not available in the download source.
Chapter 33 is a good example.

It&#039;s frustrating that long examples have to be typed in by hand.</description>
		<content:encoded><![CDATA[<p>Great Book but,</p>
<p>Is there anywhere where we can get the miles of source code published in the book but not available in the download source.<br />
Chapter 33 is a good example.</p>
<p>It&#8217;s frustrating that long examples have to be typed in by hand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger Braunstein</title>
		<link>http://dispatchevent.org/roger/building-and-running-as3-bible-examples/comment-page-1/#comment-61993</link>
		<dc:creator>Roger Braunstein</dc:creator>
		<pubDate>Wed, 05 Dec 2007 19:50:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples#comment-61993</guid>
		<description>Thanks Jason!

In the Flash video, the dialog that comes at 3:43 up warns us that Flash couldn&#039;t find the definition of the class Example. This happens because it can&#039;t find com/wiley/as3bible/Example.as, because we haven&#039;t yet saved the FLA to the right location. If you saved the FLA to the right place before entering anything in the Document class field, you would not see that warning when entering it in, because it would find the corresponding file right away.

In the Flex video, if you are &lt;em&gt;really&lt;/em&gt; attentive you might notice that I changed some of the code. I did not resize the textfield to be the same size as the stage, because the &lt;tt&gt;stage&lt;/tt&gt; property is not available in AS3 display objects until the &lt;tt&gt;Event.ADDED_TO_STAGE&lt;/tt&gt; event is fired, an idiosyncrasy that at one point trips up everyone new to AS3, myself included. Remember that &lt;tt&gt;stage&lt;/tt&gt; is now a property of each display object and not global, and that you can&#039;t be guaranteed a non-null value until after &lt;tt&gt;Event.ADDED_TO_STAGE&lt;/tt&gt; is fired. Beware!</description>
		<content:encoded><![CDATA[<p>Thanks Jason!</p>
<p>In the Flash video, the dialog that comes at 3:43 up warns us that Flash couldn&#8217;t find the definition of the class Example. This happens because it can&#8217;t find com/wiley/as3bible/Example.as, because we haven&#8217;t yet saved the FLA to the right location. If you saved the FLA to the right place before entering anything in the Document class field, you would not see that warning when entering it in, because it would find the corresponding file right away.</p>
<p>In the Flex video, if you are <em>really</em> attentive you might notice that I changed some of the code. I did not resize the textfield to be the same size as the stage, because the <tt>stage</tt> property is not available in AS3 display objects until the <tt>Event.ADDED_TO_STAGE</tt> event is fired, an idiosyncrasy that at one point trips up everyone new to AS3, myself included. Remember that <tt>stage</tt> is now a property of each display object and not global, and that you can&#8217;t be guaranteed a non-null value until after <tt>Event.ADDED_TO_STAGE</tt> is fired. Beware!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://dispatchevent.org/roger/building-and-running-as3-bible-examples/comment-page-1/#comment-61954</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 05 Dec 2007 16:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.partlyhuman.com/blog/roger/building-and-running-as3-bible-examples#comment-61954</guid>
		<description>Those seem like they would be really helpful for new developers. You should do more instructional videos if you have the time. You&#039;re good at it.</description>
		<content:encoded><![CDATA[<p>Those seem like they would be really helpful for new developers. You should do more instructional videos if you have the time. You&#8217;re good at it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

