Dynamic Objects
Objects can be created dynamically:
var dyna:Object = { firstName: "John", lastName: "Smith" };
Besides the short-hand syntax, dynamic object creation really just takes advantage of the fact that the base Object is a dynamic class.
Objects can be created dynamically:
var dyna:Object = { firstName: "John", lastName: "Smith" };
Besides the short-hand syntax, dynamic object creation really just takes advantage of the fact that the base Object is a dynamic class.