Kinesis SoftwareKineticFusion

[Show Table of Contents]

9 Working with ActionScript

[Hide Table of Contents]



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.