creating Objects

Hello everyone,

How can I create object type vars, like (var obj:Object=new Object(); obj.param1=....; obj.param2=....)

Is it possible ?

You'd usually make a class to do it:

class Whatever
{
    var name : String;
    var number : int;
}

Then used as such:

var whatever = new Whatever();
whatever.name = "Moo";
whatever.number = 42;