Errata

Essential ActionScript 2.0

Errata for Essential ActionScript 2.0

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page xxi
first two illustrations

'this is a tip illustration' was reversed with the image for 'this is a warning'.
The text for the 'tip' and 'warning' icons HAS BEEN SWAPPED, so that the appropriate text
appears with its corresponding icon.

Anonymous    Jul 01, 2004
Printed
Page xxiii
2nd last line

"Nick Reader" NOW READS "Nick Reeder"

Anonymous    Sep 01, 2005
Printed
Page 27
Example 3-2 second line of code

var today:Number is missing a ; at the end.

Anonymous   
Printed
Page 36
End of "Why Post-Colon Syntax?" paragraph

In a place where Colin is talking about AS 2.0 post-colon syntax, JavaScript 2.0 and
ECMAScript specification, it appears the icon that relates the current discussion to
AS 1.0.

Colin says: This error report is correct. There should be no note icon at all.

Anonymous   
Printed
Page 41
1st paragraph of 'Circomventing type checking', in the 3rd line

'If you are sadistic'

NOW READS:
'If you are masochistic'

Anonymous    Sep 01, 2005
Printed
Page 50
third code example

1) the comments NOW have two slashes (//) not three (///).
2) the word "underfined" NOW READS "undefined"
3) the word "formate" NOW READS "format"

Anonymous    Sep 01, 2005
Printed
Page 66
2nd paragraph

"which are declared once for the class , but for which each instance maintains it own value"

NOW READS:
"which are declared once for the class , but for which each instance maintains its own value"

Anonymous    Sep 01, 2005
Printed
Page 161
Last sentence before Figure 6-1

"ad nauseum" NOW READS spelled "ad nauseam".

Anonymous    Sep 01, 2005
Printed
Page 191
Bottom code example beginning with "class B extends A"

public static var p:String = "The property of B.p";

NOW READS:
public static var p:String = "Goodbye";

Anonymous    Sep 01, 2005
Printed
Page 230
3rd para

interface IntA{
function methodA():Void;
}
interface IntB extends A{
function methodB();Void;
}

NOW READS:
interface IntA{
function methodA():Void;
}
interface IntB extends IntA{
function methodB():Void;
}

Anonymous    Sep 01, 2005
Printed
Page 237
In figure 8.1, the parenthesized text in the bottom-right most box

should read:

(SomeConcreteType used via composition)

not:
(SomeAbstractType used via composition)

Anonymous   
Printed
Page 246
Top of page under "Windows 98";t he path to configuration files in Windows 98

C:WindowsApplication DataMacromediaFlash MX 2004LANGUAGE_CODEConfiguration

NOW READS:
C:WindowsApplication DataMacromediaFlash MX 2004LANGUAGE_CODEConfiguration
or
C:WindowsProfilesUSERApplication DataMacromediaFlash MX 2004LANGUAGE_CODEConfiguration

Anonymous    Jul 01, 2004
Printed
Page 298
1st paragraph, second line

"CombBox" should be "ComboBox"

Anonymous   
Printed
Page 323
4th paragraph

"The physical incarnation of AvatarSymbol is named "avatar" and is placed on depth 1 of ..."

NOW READS:
"The physical incarnation of AvatarSymbol is named "avatar" and is placed on depth 0 of ..."

Anonymous    Sep 01, 2005
Printed
Page 325
2nd paragraph

"which is much tidier and easier to understand than:
var av:Avatar = someMovieClip.attachMovie("AvatarSymbol", "avatar", 0);
av.init(100,100);"

In my opinion, it should be:

"which is much tidier and easier to understand than:
var av:Avatar = Avatar(someMovieClip.attachMovie("AvatarSymbol", "avatar", 0));
av.init(100,100)"

Because the former cause a type mismatch error.

Anonymous   
Printed
Page 371
last paragraph

"As a matter of good form, the 'handleMessage()' method should be declared
private so that it cannot be accessed by other classes. Code external to the
Logger class should use one of the five logging methods (namely fatal(),
error(), warn(), info() or debug())."

Anonymous   
Printed
Page 433, 428
figure 19-1 and 19-2

in the figures, the description of the arrow pointing up to the "EventListener" box
at the top right should read "extends" not "implements".

Anonymous   
Printed
Page 463
Under Events broadcast to listeners

The following event HAS BEEN ADDED:
onLoadInit(target:Object):Void

Anonymous    Sep 01, 2005