Hi Craig, It seems odd that you are getting these errors. There are some typos in the code which we are aware of, and we apologize for those of course. You can have a look at the Errata document att flash3dbook.com and if you find any errors in the book that are not in that list, please e-mail me.
As for the actual compile errors in the engine, and the debug feedback you're getting (that a ReferenceError happens on a line where no dereferencing is made for example) seems to imply that something is actually corrupt either in your code or in your tooling. An error might be occurring and I'm not denying that, but if your debugger says that it happens on a line that only contains a null comparison, it's likely that your SWF and your source code are out of sync. Is everything cleaning and building properly? What tool are you using? I'm sorry if I'm missing something in your post, but why would you say that the code you posted necessarily causes a null dereference? The Init.parse() method never returns null, so _ini will no doubt have a value in the code that you're pasting from the View's constructor. As for not finding the book on apress.com, try to just enter title or ISBN in the search field at the top right. You'll see that a link comes up to the site of FriendsOfED, which is the subsidiary of Apress which has released this book. That's where the source code can actually be found, and it's unfortunate that the link to apress.com was put into the book without it actually being listed on that site. Cheers /R On Feb 20, 10:47 am, Craig Murray <[email protected]> wrote: > namespace problem... but why?
