MovieClip(root)
This is what makes AS3 still programmable, but I wish they wouldn’t force you to cast it to MovieClip. That’s just stupid. More and more as I program with AS3 it feels like it’s full of poor choices of syntax. I mean, why do you have to do that whole addEventListener every time that you want to make a simple button? I understand that they’re trying to centralize code, but come on. Sometimes if its just a tiny function, it’s BETTER to have it on a button isntead of clogging up the main frame.
Why did they take away var on textboxes? Why did they take away eval? Meh…