The other thing is that not everyone is an advanced coder. Steven did say
something to the effect of when writing classes, but automatic declaration
is a backward-compatible feature that allows beginners to code in the
timeline the same way they used to.

In AS3, whether you use your own document class or not, the Main Timeline is
essentially a class. Therefore, the instances must be declared. That means
that every user, beginner or not, accustomed to best practices or not, would
suddenly have to adjust to yet another change in fundamental coding, even
with timeline-only code.

I agree and very strongly recommend declaring all your instances in
classes--and it wouldn't do any harm to adopt that practice in timeline
coding--but that's the reasoning behind the option. So that at least that
element of timeline coding would not be broken/radically altered for every
user.

Rich
http://www.LearningActionScript3.com


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to