If you like Java so much, why don't you marry it?

If you want to make deferential commentary regarding Actionscript, go to Java forums and seek validation from your Java friends. Unlike us Flashcoders, I'm sure they'd be happy to oblige.

It's extremely easy to make a document class in AS2 and it is most certainly not a hack. You make an empty movieclip (CTRL+F8), assign your main class to it (under Linkage), put it on the root timeline at 0,0 and you're done. Doesn't get much easier than that.

It's not a hack, there is nothing negative about it and it has quite a few positives. Just build your entire application within that clip.

The "hacks" that I have seen about how to force the root to have a class assigned to it are complicated at best, and unnecessary (as I have just illustrated) at worst, not to mention you can run into issues when you take into account FlashVars and other _root considerations.

When I'm developing, I hear two voices in my head:

Judge Judy says, "KISS! Keep It Simple, Stupid."
and David Hansson says "DRY! Don't Repeat Yourself."
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to