In c# I can do this:
public class Widget{
public int value1;
public int value2;
}
and elsewhere define a list of Widgets:
pulbic List<Widget> widgets = new List<Widget>();
Is it possible to make a list of Widgets in actionscript or am I stuck with jamming all the widgets into an array collection and casting each item when I use it?