Additional Declarations

This section contains a number of additional example declarations you can use. Use the following index, or the links on the right to go to a specific category of declaration.

If you want to see an example that uses all of available AS3 properties, see the all properties declaration.


Most of the example declarations have been updated in the documentation for AS3 3.20 to remove any template that was specified, and rename any virtual services that used the name serviceMain to service. In AS3 3.20, the generic template is the default, which allows services to use any name.

This also means that many of these declarations on a version prior to 3.20 they will fail unless you add a template. See this FAQ entry and this Troubleshooting entry for more information.


Some of the examples may be in multiple categories.

Miscellaneous Declarations