Adobe Flex 2: Training from the Source Errata (ISBN 0-321-42316-X)

Lesson 6, Using Remote XML Data with Controls

Issue - Tip on page 121 reads "When using E4X notation, the root node, in this case category, is not used in statements."

Solution - The Tip should read "When using E4X notation, the root node, in this case catalog, is not used in statements."

Lesson 11, Using DataGrids and itemRenderers

Issue - Reader will receive the error Access of undefined property valueObjects. Cart.mxml line 49

Solution - Add an import statement for the valueObjects.ShoppingCartItem in the inline renderer declaration as demonstrated below:
<mx:DataGridColumn editable="false">
  <mx:itemRenderer>
    <mx:Component>
      <mx:VBox>
        
        <mx:Script>
          <![CDATA[
            import valueObjects.ShoppingCartItem;
          ]]>
        </mx:Script>

        <mx:Button label="Remove"
            click="outerDocument.removeItem(valueObjects.ShoppingCartItem(data))"/>
      </mx:VBox>
    </mx:Component>
  </mx:itemRenderer>
</mx:DataGridColumn>
            

Lesson 17, Accessing Server Side Objects

Issue - product.xml, rawSalesData.xml and categorySalesData.xml are missing from the included CD

Solution - The files can be downloaded from the links below and saved to your local server:
product.xml
rawSalesData.xml
categorySalesData.xml

Lesson 17, Accessing Server Side Objects

Issue - Page 408, Step 9. "Create a public function called refreshData() that returns void"

Solution - This should read : "Create a public function called refetchData() that returns void"

CD Files

From time to time people have lost the CD that came with the book or been unable to find a file that they need on their drive. The zip file below contains the most commonly requested files from Lesson 7 and 12.
Solution - Download this file: f2tfs-extras.zip
Book Image
Please email possible new errata to answers AT digitalprimates dot net