Ok, so I have been using classes for a little over a year now. (Well, using MC Tween a LOT and just now starting to use the new Tweener class; all of the need is based around the idea I have on how code is easier to manage than the timeline. I do however believe there is a time and place for both. (Depends on your needs)
A Flash developer I work with gave me a new book about OOP. After reading the first few chapters, the little I have done has not really been hard at all. Here is my first AS class:
//eric shoemaker; my first class : -)
class CustomMovieClip extends MovieClip {
function setPosition(x, y) {
_x = x;
_y = y;
}
}
(I have saved this file in the same _root as my fla and named it CustomMovieClip.as.
// Now, to use this we go back in flash and click on the Linkage Properties in the Library. In this dialog box I check the Export for AS checkbox and type CustomMovieClip as in the AS 2.0 Class text field.
Once complete, in the IDE I type out:
eric_mc.setPosition(100,50);
eric2_mc.setPosition(400,5);
This will position the two clips on the stage at the _X and _Y I defined. Dang, that's not too hard. (smile)
Again, my goal with this is not to become an uber nerd. I always want to keep my use of flash concept driven, and a way to tell stories and communicate messages with motion. However, I feel the more I know, the better stuff I can come up with. And I won't lie, I really like learning.