Updates

Latest Tweet



What's New?

Check out for latest innovation, a computer based training video collection


Like this Page

ActionScript for Flash MX: The Definitive Guide, Second Edition Review by Sergio Oliveira

Cover ActionScript2 which will not run on Flash CS3

This book looks pretty good and the first chapter was very promising. However I must tell my experience so at least people don't waste time and get frustrated like I did.

The very first example of the book, the Multiple-Choice Quiz will NOT run on latest Flash CS3. It turns out that Flash CS3 (ActionScript3) decided to kill backwards compatibility and throw away the onRelease method for its buttons. So you get a bunch of compile errors. I managed to find out by myself that with AS3 you must use addEventListener to handle clicks to SimpleButton.

Anyways, the line:

totalOutput_txt.text = "Your final score is: " + totalCorrect + "/2.";

Is not compiling either with the error:

1120: Access of undefined property totalOutput_txt.

The totalOutput_txt is being created by "reflection" with the line:

createTextField("totalOutput_txt", 1, 150, 200, 200, 20);

But it looks like Flash CS3 does not like this. Again, another compatibility problem with CS3...

There goes my first star out. Now comes my second start out:

This book assumes that you DO KNOW how to play with FLASH, how to play with the timeline, etc. It does make a good effort to guide you through the steps to create the movie frames, etc, but I felt that I needed a flash designer near me to explain me what was going on.

Anyway, I was looking for a book like: Flash + AS for Java Programmers, but I guess I am asking too much. If anyone has a recommendation for me, please reply in this comment!