flash - AS2: Are functions declared in a class stored as separate instances taking up more memory on each object instantiated? -
flash - AS2: Are functions declared in a class stored as separate instances taking up more memory on each object instantiated? - my question memory utilize , objects in actionscript 2. if have class definition: class test1{ public function one(){trace("hello");} public function two(){trace("world");} } and sec class definition: class test2{ static public function one(){trace("hello");} static public function two(){trace("world");} } and following: var object1a = new test1(); var object1b = new test1(); var object2a = new test2(); var object2b = new test2(); is size of object1a + object1b greater size of object2a + object2b because of functions not beingness static (and perchance beingness copied each object instantiation)? not have actionscript 3 observe memory use, maybe can check how behaves in 3 if hard determine in 2. i'm wondering if non-static fellow member functions references single ...