views:

8

answers:

0

I have a series of movieclips, all with sets of constants to manage width, height, color, etc:

public class MyMovieClip extends MovieClip {
  public static const MY_WIDTH:Number = 200;
  public static const MY_HEIGHT:Number = 200;
  public static const MY_COLOUR:uint = 0x000000;

public function MyMovieClip()
{

// etc

}

Anyhow, this is okay for one display object, but now I have a series of heights, widths, and colors for a lot of stuff, and I was wondering, is there any way to create a central class that holds all of this information?