787
D
APPENDIX D
Writing Scripts for Earlier
Versions of Flash Player
ActionScript has changed considerably with each release of the Macromedia Flash authoring
tools and Flash Player. When you create content for Macromedia Flash Player 8, you can use
the full power of ActionScript. You can still use Flash 8 to create content for earlier versions of
Flash Player, but you can’t use every ActionScript element.
This chapter provides guidelines to help you write scripts that are syntactically correct for the
player version you are targeting.
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, 7 or 8, 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.
NO
T
E
You can review surveys for Flash Player version penetration on the Macromedia
website; see
www.macromedia.com/software/player_census/flashplayer/
.
Содержание FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
Страница 1: ...Learning ActionScript 2 0 in Flash...
Страница 8: ...8 Contents...
Страница 18: ...18 Introduction...
Страница 30: ...30 What s New in Flash 8 ActionScript...
Страница 66: ...66 Writing and Editing ActionScript 2 0...
Страница 328: ...328 Interfaces...
Страница 350: ...350 Handling Events...
Страница 590: ...590 Creating Interaction with ActionScript...
Страница 710: ...710 Understanding Security...
Страница 730: ...730 Debugging Applications...
Страница 780: ...780 Deprecated Flash 4 operators...
Страница 830: ...830 Index...