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.

TweetBacks
Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
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
mack's Gravatar The example works, everything is Ok now. Though I really nad problems with this issue and had to learn for quite a long tims (downloaded much info by http://rapid4me.com SE) and at last started to understand something.
# Posted By mack | 9/17/09 4:29 AM
hotfile's Gravatar It looks like Peachpit still hasn’t gotten around to having some place to report errata for Flex 2 TFS.

When I run the completed project, the Category images (at the top of Ecomm.mxml) do not display – I have not been able to figure out why, the paths look OK in the scripts. What am I missing?

Also, I would like to know if you have a URL where one can see this project running.

Regards,,

Carlos
# Posted By hotfile | 3/28/11 12:33 AM
timo's Gravatar Wow! I didn't know anybody was still using Flex 2. I did have the v.2 Flex Grocer Project on my site, but replaced it when v.3 came out. By now, they have both been deleted because I have better use for the space on the server.

The project worked fine after making the changes describe above. I know that because I tested it myself many times and a lot of other people told me they saw it. Sorry I can't be of more help at this point.

BTW, we have been waiting for Volume 2 of Flex 4 TFS, which was scheduled to come out in October 2010. Does anybody know anything about this?

Carlos
# Posted By timo | 4/2/11 10:14 AM
pirates 4's Gravatar 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
# Posted By pirates 4 | 4/12/11 4:37 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.6.001. Contact Blog Owner