Steven Sacks wrote:

Making a class for globals is lame.  I don't get why people do stuff
like that.  It's completely unnecessary.  Here's how I make a
namespace for globals in one line.

On frame one of the root timeline:

_global.APP = {};

Wow. That was so hard.

I can make the same, now it's just OOP:

dynamic class APP {}

Wow, that was easy - and without even mentioning _global. They do
exactly the same; will you still recommend your version over mine? :)

--
Morten Barklund - Information Architect - TBWA\Play
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174

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

Reply via email to