Flex 2 Training from the Source errata

Book errata can cause a lot of frustration, especially the "little" errors. Anyone can catch that something is missing, or a big, glaring mistake. In the case of Flex 2 Training from the Source, a slight error can make newbies like me (the very audience the book is intended for) go bananas.

If you are working through the book, you may run into problems of images not displaying: that's because there are some errors in the image paths shown in the book. The author's blog has a post for book errata, where supposedly, you can let him know about errors and he will post them. But I reported these path problems in early April, and nothing happened. So, I am showing here what I think are errata that I have spotted so far. If anyone finds errors in THIS, I would appreciate a comment, and I will fix it.

In (project folder).views.ecomm.GroceryDetail.mxml:

(TFS page ??) - at the bottom of the page
Reads: source="{'../assets/'+groceryItem.imageName}"
Should be: source="{'assets/'+groceryItem.imageName}"

(TFS page 303, 19.) - private function dragIt
Reads: imageProxy.load("../assets/"+groceryItem.imageName);
Should be: imageProxy.load("assets/"+groceryItem.imageName);

In (project folder).views.ecomm. TextAndPic.mxml:

(TFS page ??)
Reads: source="{'../assets/nav'+data.catName+'.jpg'}"
Should be: source="{'assets/nav'+data.catName+'.jpg'}"

In the book:

Lesson 17, page 408, 9.:
Reads: ... function called refreshData() ...
Should be: ... function called refetchData() ...

Lesson 17, page 411, 24.:
Tag v:AddProduct is missing attribute
Label = "Add product"

Lesson 17, page 422, 32. second line:
Reads: updateProduct() function. Have it pass ...
Should be: deleteProduct() function. Have it pass ...

Lesson 18, page 461, 14. , fourth line:
Reads: grossOrNet="{grossOrNet}"
Should be: grossOrNet="{grossOrNetGroup.selection.data}"

If I find any more, I will add to the above list on this same entry, so check this entry once in a while (I don't want to create a new comment each time; this will keep the errata list all in one place).

Have fun.

Comments
Bill's Gravatar Perfect. I'll try your solutions. I'll also add to your arrata if I find anything more then you.

Thanks cheftimo, Pretty sad that the target audience/customer has to come to the rescue to make a book worth something more then fire starter

Bill
# Posted By Bill | 6/4/07 11:15 AM
Bill's Gravatar Hi Carlos

Here's the solution to the flex builder problem I was having. I haven't returned to the book samples yet but I will be this week-end. These Flex Builder 2 HotFixes are required for using Flex with Coldfusion on Flex 2.0.1 and the Public beta of Coldfusion 8

sdk:
http://www.adobe.com/support/flex/ts/documents/fle...
fb for win
http://www.adobe.com/support/flex/ts/documents/fle...
fb for mac
http://www.adobe.com/support/flex/ts/documents/fle...

after installing the updater you should be ready to go.
# Posted By Bill | 6/7/07 2:25 PM
Travis's Gravatar One of your fixes has a typo.
source="{'../assets/nav'+data.catName+'.jpg'}"
Should be:
source="{'assets/n av'+data.catName+'.jpg'}"
SHOULD BE
source="{'assets/nav'+data.catName+'.jpg'}"
Sorry for caps only way I could think of to really define the correct. You have a space in your path. You can fix it though and delete this post.
# Posted By Travis | 11/19/07 3:38 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.1.002. Contact Blog Owner