Learning ActionScript 2.0 in Adobe Flash |
|
|
|
| Writing Scripts for Earlier Versions of Flash Player > About targeting earlier versions of Flash Player | |||
When you write scripts, use the Availability information for each element in the ActionScript 2.0 Language Reference to determine if an element you want to use is supported by the Flash Player version you are targeting. You can also determine which elements you can use by showing the Actions toolbox; elements that are not supported for your target version appear in yellow.
If you create content for Flash Player 6 and later, you should use ActionScript 2.0, which provides several important features that aren't available in ActionScript 1.0, such as improved compiler errors and more robust object-oriented programming capabilities.
To specify the player and ActionScript version you want to use when publishing a document, select File > Publish Settings and make your selections on the Flash tab. If you need to target Flash Player 4, see the next section.
|
|
|
|