Previous | ||
9.5 Working with ActionScript 2.0
ActionScript 2.0 introduces powerful new semantic checking capabilities over ActionScript 1.0. New features in ActionScript 2.0 include the ability to explicitly type variables and functions, and the introduction of formal ActionScript class hierarchies. Because some of the syntax between ActionScript 2.0 overlaps with the old and deprecated 'slash' syntax, This syntax was used in Version 4 and 5 of the Flash Player and is still currently used in some FlashLite applications. Consequently, 'slash' syntax cannot be enabled when ActionScript is being compiled as ActionScript 2.0.
The declared type of variables and methods is discarded after checking and is not represented in the output SWF movie.
9.5.1 ActionScript Classes 9.5.2 Integrating Classes into RVML 9.5.3 Error Configuration 9.5.4 Using the Class Compiler 9.5.5 Augmenting Class definitions with Metadata 9.5.6 Trace Statement Processing
Previous |
Copyright 2003-2005 Kinesis Software. All rights reserved.