Corrections
Arrg!
Saint Augustine once said “This is the very perfection of a man, to find out his own imperfections.” We can buy that. No one is truly perfect, and though we gave it our best shot, Foundation Flash CS4 for Designers managed to get to the printer’s with a number of errors. Here are their corrections.
p.79
In Step 4, you’re instructed to click the “Custom” button in the Property inspector in order to customize a stroke. In Flash CS4, this button is now represented instead by a pencil icon, and a tooltip reads “Edit stroke style” when you hover over the button.
p.184
The third sentence in Step 12 unnecessarily repeats the phrase “and then”.
p.200, 201
The coffee, milk, and cream example is meant well, but our explanation is poor on the printed page, and possibly misleading — particularly the sentence, on p.201, “As stated, the full expression doesn’t actually care what the beverage is (if there even is a beverage).” Technically, this is only true when the value of the dairy variable is “cream”, because only then does the || (or) part of the statement evaluate as true, regardless what value the other parts have. The bottom line, however, is remains: when in doubt, use parentheses to clarify your if statements.
p.217
In the paragraph immediately after Step 3, the third sentence discusses the expression “loop++”, saying it can be swapped “with its longhand equivalent.” That longhand equivalent appears in print as “long = long + 1”, but it should be “loop = loop + 1”.
p.322
In Figure 7-27, the caption should read “artwork by Steve Napierski” (on the printed page, the artist’s name is misspelled).
p.373
In the caption for Figure 8-11, the word “anywere” should be spelled “anywhere”.
p.377
The last word in Step 1 should be “frames” instead of “fames”.
p.378
In Step 4, the first sentence incorrectly refers to the “Timeline layer”. This reference should be “Timeline panel”.
p.562
The fifth paragraph, which starts with “To begin with,” incorrectly states “The target property refers to the object that dispatched this event in the first place, which is xmlDoc.” While it is true that the target property refers to the XML instance (xmlDoc), the object that actually dispatched the Event.COMPLETE event is the URLLoader instance (loader).
p.563
In the fourth paragraph, the word “quote” should be “quite”.
p.564
In the first and third code snippets, the expression xml should be xmlDoc; that is:
trace(xml.film[0]); should be trace(xmlDoc.film[0]);,
trace(xml.film[1]); should be trace(xmlDoc.film[1]);,
and trace(xmlDoc.film[xml.film.length() - 1].@title); should be trace(xmlDoc.film[xmlDoc.film.length() - 1].@title)
p.566
The last code snippet on this page should be trace(xmlDoc.film[2].cast.descendants()); (on the printed page, the expression erroneously contains an additional word, “character”).
