RE: [flexcoders] Doubts about static keyword

2005-10-24 Thread Matt Chotin
An object that is declared static goes on the class object instead of on the instance object. In general there is only one copy of the class object in memory so a variable declared there will save you some space. So if you are talking about things like constants a static variable is a

Re: [flexcoders] Doubts about static keyword

2005-10-24 Thread Aldo Bucchi
aloha, there are some other issues associated to using static members that you should take into account. Personally, I only use static members for constants. take a look at this short description http://www.simonwacker.com/blog/archives/cat_flash.php#method_scope_per_class best, aldo On