By Rich and Zevan
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5 out of 5)
Loading ... Loading ...
2,068 views

This page will list any significant errors or important omission discovered after publication of the book. If you would like to report a problem, please use the contact form and we will respond as quickly as we can. Thanks for reading!

UPDATE: We’ve decided that we will also probably report minor issues, too, to keep track of them for subsequent printings/editions and possibly help anyone that may not spot the fix. Please feel free to report anything you find, and offer any suggestions you may have.

Print

Chapter 2

  1. Page 25, bottom:
    Near the end of the last code block, the variable declaration line has an extra trailing parenthesis. It should read:

    var celDeg:Number = farToCel(68);
    

    Thanks, Ken!

Chapter 3

  1. Page 33, margin illustration:
    The decimal place for the scaleX, scaleY, and alpha properties in the margin illustration were omitted. The values for each property are represented correctly in the table on the same page. Thanks, Mary!
  2. Page 45, code block, line 6:
    This isn’t really an error, because the example was arbitrary, but a reader pointed out a nice real-world adjustment. If you really want to simulate the second hand on a timepiece, you can change the rotation increment to 6 instead of 5. 360-degrees divided by 60 seconds equals 6. Thanks, Bryon!

Chapter 4

  1. Page 64: In each of the first three syntax examples, the variable name should be dO (lowercase d, uppercase O) rather than do (both letters lowercase). This typo causes an error to be thrown because do is a reserved word. Watch for a future post about naming conventions that this error spawned.Thanks, Jeff!
  2. Page 69, second code block, line 7 should read:
    for (var i:Number = 0; i < btnNum; i++) {
    

    The downloadable source code does not show this error, but please see the next entry. Thanks, Nick!

  3. In the same code block, a line was omitted between lines 9 and 10. The new line should read:
    btn.name = "button" + i;
    

    The line references in the following two paragraphs should read line 8 for Btn and line 9 for horizontal position. The downloadable source code was correct, but has also been updated to move the variable declaration outside the loop to match the text. Thanks, Todd!

Chapter 8

  1. Page 150, first code block, the last line of code (the comment) should read:
    //(x=100, y=100)
    

    The code is correct, but the supplied comment that indicates what appears in the Output panel is incorrect. Thanks, Hank!

Code Only

Chapter 3

The supplemental document classes (not referenced in the text) contained an editing error where the filenames were changed, but the class and constructor names were not updated to match. This was corrected on January 12, ‘08, so this only applies if you downloaded this source code prior to that date.
The downloadable source code is correct. Thanks, Nick!

Chapter 5

In frame_labels_01.fla, a typo in the first event listener occurred, where the k in onClick ended up at the end of the line. This was corrected on February 2, ‘08, so this only applies if you downloaded this source code prior to that date.
The downloadable source code is correct. Thanks, Dan!

Share This:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • blogmarks
  • BlogMemes
  • Fark
  • feedmelinks
  • Furl
  • Ma.gnolia
  • Netscape
  • Reddit
  • Slashdot
  • SphereIt
  • Spurl
  • StumbleUpon
  • Technorati
  • YahooMyWeb
  • BlinkList
  • DotNetKicks
  • LinkaGoGo
  • NewsVine
  • blinkbits
  • co.mments
  • MyShare