Errata

Introduction to Flex 2

Errata for Introduction to Flex 2

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.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

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

Version Location Description Submitted by Date submitted
Printed Page 1.4
Code example

The function,

private function convertCtoF(celsius:Number):Number
{
return 9/5 * (celsius + 32);
}

returns an incorrect value. The formula should be:

return (9/5 * celsius) + 32;

{section 1.4} about midway through the code for the temperature converter;
Function to convert Celsius to Fahrenheit is incorrect. The author has the function like so:

private function convertCtoF(celsius:Number):Number
{
return 9/5 * (celsius + 32);
}

Which produces a wrong answer. It should simply be:

private function convertCtoF(celsius:Number):Number
{
return 9/5 * celsius + 32;
}

For example, when converting 100 Celsius, the boiling point of water or 212 Fahrenheit, the converter mistakenly gives
237.60 degrees as the answer. See the author's website at http://www.partlyhuman.com/books/flexshortcut/code/temperature/
to view the finished converter.

Anonymous   
Printed Page 7
AVM2 section (don't know about page number - reading from safari)

"Like Java, new and delete are the primary means to manage your application's memory."

delete is not used in Java to free up memory.

Anonymous