Follow Flex After Dark on Twitter

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.

Related Links:

Related Docs
Recent Docs
Random Docs
  • Flex Builder Help Overview of Flex Builder's help system.
  • Flex Menus Using Menus in Flex.
  • MXML Anatomy The anatomy of an MXML component file.
  • Flex Fonts Working with Fonts in Flex, including embedding and runtime loading.
  • Flex Modules Flex Modules are compiled to dynamically-loadable SWF files that can be loaded and unloaded at run-time.