We’re officially starting with Chapter 3 instead of Chapters 1 or 2.
Chapter 1 is more of an overview of Robert Penner’s history and learning process.
Chapter 2 begins to teach Object Oriented Programming and some of Penner’s techniques to use OOP with AS1.
Since I am converting the AS1 classes to AS2, we can leave off that chapter. If you want an overview of OOP, there are plenty of resources out there including multiple Flash AS2 books on the subject.
Chapter 3 lays out the framework for working with Trigonometry and Coordinate Systems in Flash. Both are essential throughout the rest of the book.
I’ve broken down the AS1 code in Chapter 3 into 3 seperate AS2 classes: Degree, MathUtil, and Polar, all of which will be included in the com.robertpenner.utils namespace.
(I won’t be walking you through too much of the usage of these classes, because they are covered in depth in the actual book. My documentation will include at least one usage of each method, but beyond that you really should buy the book.)
Documentation:
com.robertpenner.utils.Degree
com.robertpenner.utils.MathUtil
com.robertpenner.utils.Polar
I’ll gladly lend a hand.. I’ve got some free time so mail me and let me know how far you are, and we can get this done pronto… It’s been on my todo list for waaaay to long… respect 😉