Actionscript Cookbook

Errata for Actionscript Cookbook

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 xix

The note in the middle of the page says "...you can download the complete ActionScript libraries from http://www.person13.com/ascb" when in fact some libraries come straight from Macromedia. Therefore, the following HAS BEEN ADDED to the end of the note: "However, some library files, such as RecordSet.as and DataGlue.as must be downloaded from Macromedia's web site as part of the Flash Remoting Components, available at http://www.macromedia.com/software/flashremoting/downloads/components"

Anonymous    Oct 01, 2003
Printed
Page 62
In the middle of page, there are two typos where "setTransform" is misspelled as "setTranform".

The first occurrence was In paragraph 4 (the short paragraph beginning with "After defining...") The second occurrence was in line 2 of the subsequent example code. The first instance NOW READS: setTransform () The second occurrence NOW READS: my_color.setTransform(myColorTransform);

Anonymous    Oct 01, 2003
Printed
Page 102
5.4 - end of the first paragraph of the "Discussion" header

reads "....23 dollars and 40 cents is formatted as $24.40, not $23.4." should be: "....23 dollars and 40 cents is formatted as $23.40, not $23.4."

Anonymous   
Printed
Page 118
in the middle of the page is the line

return (Number(a.val) > Number(b.val)) NOW READS: return (Number(a.val) > Number(b.val));

Anonymous    Oct 01, 2003
Printed
Page 225
5th line from top

Grammar error: ...contained within the object but lying outside the its visible area. should be: ...contained within the object but lying outside its visible area.

Anonymous   
Printed
Page 263
Last code block

The code was decribed as : String.prototype.simpleReplace = function (search, replace, working) { The correct is String.prototype.simpleReplace = function(search, replace, matchCase) {

Anonymous   
Printed
Page 336
On the top of page 336 (at the end of recipe 11.19), the two URLs for waxpraxis.org are outdated.

The previous URL was: http://www.waxpraxis.org/encryption/md5 NOW READS: http://www.waxpraxis.org/archives/000033.html And the URL: http://www.waxpraxis.org/encryption/sha1 NOW READS: http://www.waxpraxis.org/sha1.as

Anonymous    Oct 01, 2003
Printed
Page 366
last paragraph

Last paragraph dicribing alternatives to instantiation of classes unable to instatiate with constructor "new". "... if you want to create a new text field at authoring time? You might be tempted....." Should be "... if you want to create a new text field at run time? You might be tempted....."

Anonymous   
Printed
Page 410
2nd paragraph (Code sample line 15)

There's a typo in the book for (var i = 0; i < _global.SoundQueue_array.length; i++) { startNextInQueue[i].onSoundComplete = startNextInQueue; } should be: for (var i = 0; i < _global.SoundQueue_array.length; i++) { SoundQueue_array[i].onSoundComplete = startNextInQueue; }

Anonymous   
Printed
Page 445
In Recipe 14.4,

There were six occurrences of the word "myCam". All six instances HAVE BEEN CHANGED to: "myCam_cam"

Anonymous    Oct 01, 2003
Printed
Page 459
2nd line

var position = subscribe_ns.duration / streamLength * 100; should be: var position = subscribe_ns.time / streamLength * 100;

Anonymous   
Printed
Page 479
Perl script, last line of code

print $res->headers_as_string, " ", $res->content;( Should Be: print $res->headers_as_string, " ", $res->content;

Anonymous   
Printed
Page 488
top

The last "if" statement of the example: if (this.loadingObj.isLoaded){ clearInterval(this.interval); } NOW READS: if (this.monitored.isLoaded){ clearInterval(this.interval); }

Anonymous    Oct 01, 2003
Printed
Page 538
discussion first line f code

my_xml= new XML("<abc><a>eh</a><b>bee</b><c>cee</c>"); should be: my_xml= new XML("<abc><a>eh</a><b>bee</b><c>cee</c></abc>");

Anonymous   
Printed
Page 577
- at the end of the first paragraph at the top of the page

"...in which the service object is set when calling getService()" NOW READS: "response object" instead of "service object"

Anonymous    Oct 01, 2003