Errata


Print Print Icon

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 "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



Version Location Description Submitted By Corrected
Printed Page 83
1st paragraph

"The Object received by onStaus(), named..."
should read:
"The Object received by onStatus(), named..."

Anonymous 
Printed Page 85
Code listing at the very bottom of the page.

the conditional part of the if statement is incorrect:

if (info.code = "NetConnection.Connect.Success")
Should be:
if (info.code == "NetConnection.Connect.Success")

Anonymous 
Printed Page 86
Longer of the two code listings on the page

the conditional part of the if statement is incorrect:

if (info.code = "NetConnection.Connect.Rejected")
Should be:
if (info.code == "NetConnection.Connect.Rejected")

Anonymous 
Printed Page 194
SSAS Code Example 5-15

should read:

log_s = Stream.get("log");
log_s.record("append");

application.onAppStart = function(){
log_s.send("onLog", {event: "onAppStart",
time: new Date(),
appInstance: application.name});
}

application.onConnect = function(client, userName, password){
client.userName = userName; // Added this line to fix bug where userName was
undefined in onDisconnect.
log_s.send("onLog", {event: "onConnect",
time: new Date(),
ip: client.ip,
userName: userName});
return true;
}

application.onDisconnect = function(client){

log_s.send("onLog", {event: "onDisconnect",
time: new Date(),
ip: client.ip,
userName: client.userName}); // Changed userName to
client.userName to fix bug.
return true;
}

application.onAppStop = function(){
log_s.send("onLog", {event: "onAppStop",
time: new Date(),
appInstance: application.name});
}

Note that these errors are corrected in the downloadable examples.

Anonymous 
Printed Page 220
The second one line code listing after "However, if frame rate is given

priority:";
There are two code listings on page 220. The second one is incorrect. The true value
in the parameter list should be false.

Instead of:

However, If the frame rate is given priority:
user_cam.setMode(640, 480, 30, true);

The text should read:

However, If the frame rate is given priority:
user_cam.setMode(640, 480, 30, false);

Anonymous 
Printed Page 345
2nd paragraph

In the source files the "sample9_5.zip" file contains the same files as the "sample9_4.zip" file.

Note from the Author or Editor:
Thanks for pointing this out! I've corrected the zip file on the book's site. Also, I noticed a related problem. On the same page this code is incorrect:

// Handle the result of calling areYouOk().
AreYouOKResultHandler.onResult = function(val) {
trace("Client " + this.clientID + " returned " + val);
}

The prototype object was omitted. The correct code is in the zip file and is:

// Handle the result of calling areYouOk().
AreYouOKResultHandler.prototype.onResult = function(val) {
trace("Client " + this.clientID + " returned " + val);
}

Anonymous