AML is an object-oriented programming language specially designed to support multimedia. A class can contain fields and methods. The name of the class is it's type. Fields are variables available to an instance of a class or Sub-class. All fields are initialized to 'void' when the object is created.
Methods are function or procedures available to an instance of a class.
Methods in addition to those defined by the class may be specified by an object when declared. Objects are intances of a class. They take up memory. Only an object may initialize its fields. And this is done with the 'with' statement in the object declaration.