Posted by justme on Wed, 17 Feb 2010 19:02:22
On page 158 of the book there is an example for creating a red square. The code in the book has the Color tag as a child of the Layer tag which doesn't seem to work. The FrameXML.log gives the error: "Unknown child node in Layer element: Color".
It seems there is a missing Texture tag that is supposed to be a child of the Layer tag. The Color tag should then be a child of the Texture tag. Or at least this is how I got the example to work for me.
I am not sure if this is just a typo since I am still just learning, but I figured I would post this in case someone else had the same problem.
Posted by jnwhiteh on Wed, 17 Feb 2010 19:07:36
You're correct, the
<Color>tag should be inside of a
<Texture>tag that has setAllPoints set to true. I'll update the errata on that chapter, thank you!
Updated: Chapter 9
Posted by DunsfordMage on Fri, 05 Mar 2010 16:01:44
I'll update the errata on that chapter, thank you!
I've just got the book - is there one place to go for all the updates?
Posted by jnwhiteh on Sat, 06 Mar 2010 00:26:49
This is the only one so far (I think), but each Chapter contains the errata. I may make a comprehensive list but its a bit difficult to figure out how to present it.