Table of Contents

C.1 Best Practices in Flash 6 ActionScript

Very little of Flash 5 ActionScript was formally deprecated in Flash 6. The following formal changes to the language were introduced in Flash 6:

The following list presents new features that are preferred over previous Flash 5 alternatives:

For more best practices in Flash 6 ActionScript, see:

http://www.macromedia.com/desdev/mx/flash/whitepapers/actionscript_standards.pdf

As a rule, the new objects, classes, statements, and operators introduced in Flash 6 (as listed in the Preface) cannot be used when exporting to Flash 5 format. Three exceptions are the switch statement and the strict equality and inequality operators (= = = and !==), which are all available when exporting from the Flash MX authoring tool to Flash 5 format. When a movie is set to export as version 5, the Flash MX Output window reports any incompatibility warnings at export time.


Table of Contents