I need to create a hundred instances of a movie clip.Is it better to add functions for these movie clips in the movie clip class or in a separate class?
For example I have move(), setPosition(), setRotation() functions, would this create these functions a hundred of time and take memory place or just reference the functions? What is better?
there's a small benefit to creating one function to handle all class objects vs each class having its own class. but it's such a small benefit that it's not worth sacrificing any encapsulation principles so you should let each class member use its class methods.