MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH User manual

Category
Software
Type
User manual

This manual is also suitable for

Learning ActionScript 2.0 in Flash
Trademarks
1 Step RoboPDF, ActiveEdit, ActiveTest, Authorware, Blue Sky Software, Blue Sky, Breeze, Breezo, Captivate, Central,
ColdFusion, Contribute, Database Explorer, Director, Dreamweaver, Fireworks, Flash, FlashCast, FlashHelp, Flash Lite,
FlashPaper, Flash Video Encoder, Flex, Flex Builder, Fontographer, FreeHand, Generator, HomeSite, JRun, MacRecorder,
Macromedia, MXML, RoboEngine, RoboHelp, RoboInfo, RoboPDF, Roundtrip, Roundtrip HTML, Shockwave, SoundEdit,
Studio MX, UltraDev, and WebHelp are either registered trademarks or trademarks of Macromedia, Inc. and may be registered in
the United States or in other jurisdictions including internationally. Other product names, logos, designs, titles, words, or phrases
mentioned within this publication may be trademarks, service marks, or trade names of Macromedia, Inc. or other entities and
may be registered in certain jurisdictions including internationally.
Third-Party Information
This guide contains links to third-party websites that are not under the control of Macromedia, and Macromedia is not
responsible for the content on any linked site. If you access a third-party website mentioned in this guide, then you do so at your
own risk. Macromedia provides these links only as a convenience, and the inclusion of the link does not imply that Macromedia
endorses or accepts any responsibility for the content on those third-party sites.
Speech compression and decompression technology licensed from Nellymoser, Inc. (www.nellymoser.com).
Sorenson™ Spark™ video compression and decompression technology licensed from
Sorenson Media, Inc.
Opera ® browser Copyright © 1995-2002 Opera Software ASA and its suppliers. All rights reserved.
Macromedia Flash 8 video is powered by On2 TrueMotion video technology. © 1992-2005 On2 Technologies, Inc. All Rights
Reserved. http://www.on2.com.
Visual SourceSafe is a registered trademark or trademark of Microsoft Corporation in the United States and/or other countries.
Copyright © 2005 Macromedia, Inc. All rights reserved. This manual may not be copied, photocopied, reproduced,
translated, or converted to any electronic or machine-readable form in whole or in part without written approval from
Macromedia, Inc. Notwithstanding the foregoing, the owner or authorized user of a valid copy of the software with which
this manual was provided may print out one copy of this manual from an electronic version of this manual for the sole
purpose of such owner or authorized user learning to use such software, provided that no part of this manual may be
printed out, reproduced, distributed, resold, or transmitted for any other purposes, including, without limitation,
commercial purposes, such as selling copies of this documentation or providing paid-for support services.
Acknowledgments
Project Management: Sheila McGinn
Writing: Jen deHaan; Peter deHaan, Joey Lott
Managing Editor: Rosana Francescato
Lead Editor: Lisa Stanziano
Editing: Linda Adler, Geta Carlson, Evelyn Eldridge, John Hammett, Mary Kraemer, Noreen Maher, Jessie Wood, Anne Szabla
Production Management: Patrice O’Neill, Kristin Conradi, Yuko Yagi
Media Design and Production: Adam Barnett, Aaron Begley, Paul Benkman. John Francis, Geeta Karmarkar, Masayo Noda,
Paul Rangel, Arena Reed, Mario Reynoso
Special thanks to Jody Bleyle, Mary Burger, Lisa Friendly, Stephanie Gowin, Bonnie Loo, Mary Ann Walsh, Erick Vera, the beta
testers, and the entire Flash and Flash Player engineering and QA teams.
First Edition: September 2005
Macromedia, Inc.
601 Townsend St.
San Francisco, CA 94103
3
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Intended audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
System requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Updating Flash XML files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
About the documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Additional resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Chapter 1: What’s New in Flash 8 ActionScript . . . . . . . . . . . . . . 19
New in ActionScript 2.0 and Flash 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Changes to security model for locally installed SWF files. . . . . . . . . . 28
Chapter 2: Writing and Editing ActionScript 2.0 . . . . . . . . . . . . . 31
About ActionScript and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Organizing ActionScript code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Using the Actions panel and Script window. . . . . . . . . . . . . . . . . . . . . . 35
About the Actions panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
About the Script window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
About coding in the Actions panel and Script window. . . . . . . . . . . . . 38
About Actions panel features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
About behaviors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
About ActionScript publish settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Chapter 3: About ActionScript . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
What is ActionScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
About choosing between ActionScript 1.0 and ActionScript 2.0 . . . 69
Understanding ActionScript and Flash Player . . . . . . . . . . . . . . . . . . . .70
Chapter 4: Data and Data Types. . . . . . . . . . . . . . . . . . . . . . . . . . . 71
About data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
About data types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
About variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Organizing data in objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
About casting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
4Contents
Chapter 5: Syntax and Language Fundamentals . . . . . . . . . . . . 113
About syntax, statements, and expressions . . . . . . . . . . . . . . . . . . . . . .114
About dot syntax and target paths. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118
About language punctuators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
About constants and keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
About statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .141
About arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
About operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Chapter 6: Functions and Methods . . . . . . . . . . . . . . . . . . . . . . . 201
About functions and methods. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Understanding methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .222
Chapter 7: Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
About object-oriented programming and Flash . . . . . . . . . . . . . . . . . .226
Writing custom class files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .235
About working with custom classes in an application . . . . . . . . . . . . .238
Example: Writing custom classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .263
Example: Using custom class files in Flash . . . . . . . . . . . . . . . . . . . . . .276
Assigning a class to symbols in Flash . . . . . . . . . . . . . . . . . . . . . . . . . . .279
Compiling and exporting classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
Understanding classes and scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .283
About top-level and built-in classes . . . . . . . . . . . . . . . . . . . . . . . . . . . .286
About working with built-in classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .296
Chapter 8: Inheritance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
About inheritance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
About writing subclasses in Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Using polymorphism in an application . . . . . . . . . . . . . . . . . . . . . . . . . 308
Chapter 9: Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
About interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
Creating interfaces as data types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
Understanding inheritance and interfaces . . . . . . . . . . . . . . . . . . . . . . 320
Example: Using interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
Example: Creating a complex interface . . . . . . . . . . . . . . . . . . . . . . . . .323
Contents 5
Chapter 10: Handling Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
Using event handler methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Using event listeners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
Using event listeners with components. . . . . . . . . . . . . . . . . . . . . . . . . 335
Using button and movie clip event handlers. . . . . . . . . . . . . . . . . . . . . 337
Broadcasting events from component instances . . . . . . . . . . . . . . . . 342
Creating movie clips with button states. . . . . . . . . . . . . . . . . . . . . . . . . 342
Event handler scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
Scope of the this keyword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
Using the Delegate class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
Chapter 11: Working with Movie Clips. . . . . . . . . . . . . . . . . . . . . . 351
About controlling movie clips with ActionScript . . . . . . . . . . . . . . . . . 352
Calling multiple methods on a single movie clip . . . . . . . . . . . . . . . . . 354
Loading and unloading SWF files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
Changing movie clip position and appearance . . . . . . . . . . . . . . . . . . 357
Dragging movie clips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Creating movie clips at runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
Adding parameters to dynamically created movie clips. . . . . . . . . . . 364
Managing movie clip depths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
About caching and scrolling movie clips with ActionScript . . . . . . . 369
Using movie clips as masks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Handling movie clip events. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
Assigning a class to a movie clip symbol. . . . . . . . . . . . . . . . . . . . . . . . 378
Initializing class properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Chapter 12: Working with Text and Strings . . . . . . . . . . . . . . . . . 381
About text fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
About loading text and variables into text fields . . . . . . . . . . . . . . . . . 392
Using fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398
About font rendering and anti-alias text . . . . . . . . . . . . . . . . . . . . . . . . 406
About text layout and formatting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .414
Formatting text with Cascading Style Sheet styles . . . . . . . . . . . . . . .421
Using HTML-formatted text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
Example: Creating scrolling text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
About strings and the String class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
6Contents
Chapter 13: Animation, Filters, and Drawings . . . . . . . . . . . . . . 469
Scripting animation with ActionScript 2.0 . . . . . . . . . . . . . . . . . . . . . .470
About bitmap caching, scrolling, and performance . . . . . . . . . . . . . 480
About the Tween and TransitionManager classes . . . . . . . . . . . . . . . 481
Using filter effects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498
Working with filters using ActionScript . . . . . . . . . . . . . . . . . . . . . . . . 505
Manipulating filter effects with code . . . . . . . . . . . . . . . . . . . . . . . . . . . 530
Creating bitmaps with the BitmapData class . . . . . . . . . . . . . . . . . . . .534
About blending modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .537
About operation order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 540
Drawing with ActionScript. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 540
Understanding scaling and slice guides . . . . . . . . . . . . . . . . . . . . . . . . .556
Chapter 14: Creating Interaction with ActionScript . . . . . . . . . . 561
About events and interaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .562
Controlling SWF file playback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .562
Creating interactivity and visual effects . . . . . . . . . . . . . . . . . . . . . . . . .566
Creating runtime data bindings using ActionScript . . . . . . . . . . . . . . .579
Deconstructing a sample script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .588
Chapter 15: Working with Images, Sound, and Video . . . . . . . . 591
About loading and working with external media . . . . . . . . . . . . . . . . 592
Loading external SWF and image files. . . . . . . . . . . . . . . . . . . . . . . . . 593
About loading and using external MP3 files . . . . . . . . . . . . . . . . . . . . .598
Assigning linkage to assets in the library . . . . . . . . . . . . . . . . . . . . . . . 602
About using FLV video. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603
About creating progress animations for media files. . . . . . . . . . . . . . .624
Chapter 16: Working with External Data . . . . . . . . . . . . . . . . . . 633
Sending and loading variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .634
Using HTTP to connect to server-side scripts . . . . . . . . . . . . . . . . . . .638
About file uploading and downloading . . . . . . . . . . . . . . . . . . . . . . . . . 644
About XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .652
Sending messages to and from Flash Player . . . . . . . . . . . . . . . . . . . .663
About the External API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .667
Chapter 17: Understanding Security. . . . . . . . . . . . . . . . . . . . . . .677
About compatibility with previous Flash Player security models . . . 677
About local file security and Flash Player. . . . . . . . . . . . . . . . . . . . . . . .679
About domains, cross-domain security, and SWF files . . . . . . . . . . 694
Server-side policy files for permitting access to data . . . . . . . . . . . . .702
HTTP to HTTPS protocol access between SWF files . . . . . . . . . . . . 707
Contents 7
Chapter 18: Debugging Applications . . . . . . . . . . . . . . . . . . . . . . 711
Debugging your scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 711
Using the Output panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 724
Chapter 19: Best Practices and Coding Conventions for
ActionScript 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731
Naming conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732
Using comments in your code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742
ActionScript coding conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 745
ActionScript and Flash Player optimization . . . . . . . . . . . . . . . . . . . . . 762
Formatting ActionScript syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 764
Appendix A: Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . .773
Appendix B: Deprecated Flash 4 operators . . . . . . . . . . . . . . . 779
Appendix C: Keyboard Keys and Key Code Values . . . . . . . . . . 781
Appendix D: Writing Scripts for
Earlier Versions of Flash Player . . . . . . . . . . . . . . . . . . . . . . . . . . .787
About targeting earlier versions of Flash Player . . . . . . . . . . . . . . . . . 787
Using Flash 8 to create content for Flash Player 4 . . . . . . . . . . . . . . 788
Appendix E: Object-Oriented Programming with
ActionScript 1.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 791
About ActionScript 1.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 792
Creating a custom object in ActionScript 1.0 . . . . . . . . . . . . . . . . . . . . 794
Assigning methods to a custom object in ActionScript 1.0. . . . . . . . 795
Defining event handler methods in ActionScript 1.0 . . . . . . . . . . . . . 796
Creating inheritance in ActionScript 1.0 . . . . . . . . . . . . . . . . . . . . . . . . 798
Adding getter/setter properties to objects in ActionScript 1.0. . . . . 800
Using Function object properties in ActionScript 1.0. . . . . . . . . . . . . .801
Appendix F: Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 803
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 811
8Contents
9
Introduction
Macromedia Flash Basic 8 and Macromedia Flash Professional 8 are the professional standard
authoring tools for producing high-impact web experiences. ActionScript is the language you
use to add interactivity to Flash applications, whether your applications are simple animated
SWF files or more complex rich Internet applications. You dont have to use ActionScript to
use Flash, but if you want to provide basic or complex user interactivity, work with objects
other than those built into Flash (such as buttons and movie clips), or otherwise turn a SWF
file into a more robust user experience, you’ll probably want to use ActionScript.
For more information, see the following topics:
Intended audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Updating Flash XML files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
System requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
About the documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Additional resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Intended audience
This manual assumes that you have already installed Flash Basic 8 or Flash Professional 8 and
know how to use the user interface.You should know how to place objects on the Stage and
manipulate them in the Flash authoring environment. If you have used a scripting language
before, ActionScript will seem familiar. But if youre new to programming, ActionScript basics
are easy to learn. You can start with simple commands and build more complexity as you
progress. You can add a lot of interactivity to your files without having to learn (or write) a lot
of code.
10 Introduction
System requirements
ActionScript 2.0 does not have any system requirements in addition to Flash 8.
This manual assumes that you are using the default publishing settings for your Flash files:
Flash Player 8 and ActionScript 2.0. If you change either of these settings, explanations and
code samples in the documentation might not work correctly. If you develop applications for
earlier versions of Flash Player, see Appendix D, “Writing Scripts for Earlier Versions of Flash
Player,” on page 787.
Updating Flash XML files
It is important that you always have the latest Flash XML files installed. Macromedia
sometimes introduces features in dot releases (minor releases) of Flash Player. When such a
release is available, you should update your version of Flash to get the latest XML files.
Otherwise, the Flash 8 compiler might generate errors if you use new properties or methods
that were unavailable in the version of Flash Player that came with your Flash installation.
For example, Flash Player 7 (7.0.19.0) contained a new method for the System object,
System.security.loadPolicyFile. To access this method, you must use the Player
Updater installer to update all the Flash players that are installed with Flash. Otherwise, the
Flash compiler displays errors.
Remember that you can install a Player Updater that is one or more major versions ahead of
your version of Flash. By doing this, you will get the XML files that you need but shouldnt
have any compiler errors when you publish to older versions of Flash Player. Sometimes new
methods or properties are available to older versions, and having the latest XML files
minimizes the compiler errors you get when you try to access older methods or properties.
About the documentation
This manual provides an overview of ActionScript syntax and information on how to use
ActionScript when working with different types of objects. For details on the syntax and usage
of every language element, see the ActionScript 2.0 Language Reference.
For more information, see the following topics:
“Learning ActionScript 2.0 book overview” on page 11
About the sample files” on page 14
“Terms used in this document” on page 13
“Copy and paste code” on page 13
About the documentation 11
Learning ActionScript 2.0 book overview
The following list summarizes the contents of this manual:
Chapter 1, “What’s New in Flash 8 ActionScript, describes features that are new in
ActionScript, changes to the compiler and debugger, and the new programming model for
the ActionScript 2.0 language.
Chapter 2, “Writing and Editing ActionScript 2.0, describes features of the ActionScript
editor within Flash that make it easier to write code.
Chapter 3, “About ActionScript, outlines what the ActionScript language is and details
how to choose between which version of ActionScript to use.
Chapter 4, “Data and Data Types, describes the terminology and basic concepts about
data, data types, and variables. You use these concepts throughout the manual.
Chapter 5, “Syntax and Language Fundamentals, describes the terminology and basic
concepts of the ActionScript language. You use these concepts throughout the manual.
Chapter 6, “Functions and Methods, describes how to write different kinds of functions
and methods and how to use them in your application.
Chapter 7, “Classes, describes how to create custom classes and objects in ActionScript.
This chapter also lists the built-in classes in ActionScript and provides a brief overview of
how you use them to access powerful features in ActionScript.
Chapter 8, “Inheritance, describes inheritance in the ActionScript language and describes
how to extend built-in or custom classes.
Chapter 9, “Interfaces, describes how to create and work with interfaces in ActionScript.
Chapter 10, “Handling Events, describes a few different ways to handle events: event
handler methods, event listeners, and button and movie clip event handlers.
Chapter 11, “Working with Movie Clips, describes movie clips and the ActionScript you
can use to control them.
Chapter 12, “Working with Text and Strings, describes the different ways you can control
text and strings in Flash and includes information on text formatting and FlashType
(advanced text rendering, such as anti-alias text).
Chapter 13, “Animation, Filters, and Drawings, describes how to create code-based
animation and images, add filters to objects, and draw using ActionScript.
Chapter 14, “Creating Interaction with ActionScript, describes some simple ways in
which you can create more interactive applications, including controlling when SWF files
play, creating custom pointers, and creating sound controls.
12 Introduction
Chapter 15, “Working with Images, Sound, and Video, describes how to import external
media files, such as bitmap images, MP3 files, Flash Video (FLV) files, and other SWF
files, in your Flash applications. This chapter also provides an overview of how to work
with video in your applications, and how to create progress bar loading animations.
Chapter 16, “Working with External Data, describes how to process data from external
sources using server- or client-side scripts in your applications. This chapter describes how
to integrate data with your applications.
Chapter 17, “Understanding Security, explains security in Flash Player, as it pertains to
working with SWF files locally on your hard disk. This chapter also explains cross-domain
security issues, and how to load data from servers, or across domains.
Chapter 18, “Debugging Applications, describes the ActionScript debugger within Flash
that makes it easier to write applications.
Chapter 19, “Best Practices and Coding Conventions for ActionScript 2.0, explains the
best practices for using Flash and writing ActionScript. This chapter also lists standardized
coding conventions, such as naming variables, and other conventions.
Appendix A, “Error Messages, lists the error messages that the Flash compiler can
generate.
Appendix B, “Deprecated Flash 4 operators, lists all the deprecated Flash 4 operators and
their associativity.
Appendix C, “Keyboard Keys and Key Code Values, lists all the keys on a standard
keyboard and the corresponding ASCII key code values that are used to identify the keys
in ActionScript.
Appendix D, “Writing Scripts for Earlier Versions of Flash Player, provides guidelines to
help you write scripts that are syntactically correct for the player version you are targeting.
Appendix E, “Object-Oriented Programming with ActionScript 1.0, provides
information on using the ActionScript 1.0 object model to write scripts.
Appendix F, “Terminology, lists commonly used terminology when working with the
ActionScript language and provides descriptions for the terms.
This manual explains how to use the ActionScript language. For information on the language
elements themselves, see the ActionScript 2.0 Language Reference.
Typographical conventions
This manual uses the following typographical conventions:
Code font indicates ActionScript code.
About the documentation 13
Bold code font, typically within a procedure, indicates code that you need to modify or
add to code you have already added to your FLA file. In some case, it might be used to
highlight code to look at.
Boldface text indicates data you need to type into the user interface, such as a filename or
instance name.
Italic text indicates a new term defined in the text that follows. In a file path, it might
indicate a value that should be replaced (for example, with a directory name on your own
hard disk).
Terms used in this document
The following terms are used in this manual:
You refers to the developer who is writing a script or application.
The user refers to the person who is running your scripts and applications.
Compile time is the time at which you publish, export, test, or debug your document.
Runtime is the time at which your script is running in Flash Player.
ActionScript terms such as method and object are defined in Appendix F, “Terminology,” on
page 803.
Copy and paste code
When you paste ActionScript from the Help panel into your FLA or ActionScript file, you
have to be careful about special characters. Special characters include special quotation marks
(also called curly quotation marks or smart quotation marks). These characters are not
interpreted by the ActionScript editor, so your code throws an error if you try to compile it
in Flash.
You can determine that your quotation mark characters are special characters if they do not
color-code correctly. That is, if all your strings do not change in color in the code editor, you
need to replace the special characters with regular straight quotation mark characters. If you
type a single or double quotation mark character directly into the ActionScript editor, you
always type a straight quotation mark character. The compiler (when you test or publish a
SWF file) throws an error and lets you know if there are the wrong kind (special quotation
marks or curly quotation marks) of characters in your code.
NOTE
You might also encounter special quotation marks if you paste ActionScript from other
locations, such as a web page or a Microsoft Word document.
14 Introduction
Be cautious of proper line breaks when you copy and paste code. If you paste your code from
some locations, the line of code might break in an improper location. Make sure that the color
coding of your syntax is correct in the ActionScript editor if you think line breaks might be a
problem. You might want to compare your code in the Actions panel to that in the Help panel
to see if it matches. Try turning on Word Wrap in the ActionScript editor to help solve
surplus line breaks in your code (select View > Word Wrap in the Script window, or Word
Wrap from the Actions panel pop-up menu.)
Additional resources
In addition to this manual about ActionScript, there are manuals on other Flash topics, such
as components and Macromedia Flash Lite. You can access each manual in the Help panel
(Help > Flash Help), by viewing the default Table of Contents. Click the Clear button to see
each manual thats available; for more information, see “Where to find documentation on
other subjects” on page 17.
For more information about other available resources, see the following topics:
About the sample files” on page 14
“Where to find PDF files or printed documentation” on page 15
About LiveDocs” on page 15
Additional online resources” on page 16
“Where to find documentation on other subjects” on page 17
About the sample files
There are numerous ActionScript-based sample files available that install with Flash. These
sample files show you how code works in a FLA file; this is often a useful learning tool. The
chapters in this manual often reference these files, but we recommend that you also check out
the sample files folder on your hard disk.
The sample files include application FLA files that use common Flash functionality installed
with Flash. These applications were designed to introduce new Flash developers to the
capabilities of Flash applications, as well as show advanced developers how Flash features work
in context.
Additional resources 15
You can find the ActionScript-focused sample source files in the Samples folder on your
hard disk.
In Windows, browse to boot drive\Program Files\Macromedia\Flash 8\
Samples and Tutorials\Samples\ActionScript\.
On the Macintosh, browse to Macintosh HD/Applications/Macromedia Flash 8/
Samples and Tutorials/Samples/ActionScript/.
You might find the following components-focused sample files useful, because they contain a
lot of ActionScript code. Theyre also in the Samples folder on your hard disk:
In Windows, browse to boot drive\Program Files\Macromedia\Flash 8\
Samples and Tutorials\Samples\Components\.
On the Macintosh, browse to Macintosh HD/Applications/Macromedia Flash 8/
Samples and Tutorials/Samples/Components/.
You can also find additional sample files for download on the Internet. The following web
page contains links and descriptions of additional sample files: www.macromedia.com/go/
flash_samples/.
Where to find PDF files or printed documentation
If you prefer to read documentation in printed format, the PDF versions of each Help manual
are available for downloading. Go to www.macromedia.com/support/documentation/ and
select the product youre interested in. You can view or download the PDF or link to the
LiveDocs version of the manual.
Often, you can also purchase printed documentation. For updated information, go to the
Documentation support site and select Flash Basic 8 or Flash Professional 8.
About LiveDocs
You can access documentation at the LiveDocs website, in addition to accessing it from the
Help panel. The LiveDocs website contains all of the Flash Help pages and might contain
comments that clarify, update, or correct parts of the documentation. Click View Comments
on LiveDocs at the bottom of a page in the Help panel to display the equivalent page on the
LiveDocs website. Go to http://livedocs.macromedia.com to see a list of all of the available
documentation in the LiveDocs format.
16 Introduction
Technical writers monitor the LiveDocs website. One of the advantages of LiveDocs is seeing
comments that clarify the documentation or correct any errata or issues that arise after a
software release. LiveDocs is not the place to make help requests, such as asking questions
about your code that doesnt work, comment on problems with software or installation, or ask
how to create something with Flash. It is the correct place to provide feedback about the
documentation (for example, you notice a sentence or paragraph that could be clarified).
When you click the button to add a comment on LiveDocs, there are several points about the
kinds of comments that are acceptable on the system. Please read these guidelines closely, or
your comment might be removed from the website.
If you have a question about Flash, please ask it on the Macromedia web forums:
www.macromedia.com/support/forums/. The web forums are the best place to ask questions,
because there are many Macromedia employees, Team Macromedia volunteers, Macromedia
user group managers and members, and even technical writers who monitor these forums.
Engineers do not monitor the LiveDocs system but do monitor the Flash wish list. If you
think you have found a bug in the software, or you would like to request an enhancement to
Flash, please fill out the wishform at www.macromedia.com/go/wish. If you report your bug
or enhancement request on LiveDocs, it will not be officially added to the bug database. You
must use the wishform instead, if you want an engineer to see your bug or request.
Remember to be careful about special characters and line breaks when you paste from the
web, including LiveDocs. Macromedia has made every effort to remove all special characters
from code samples, but if you have problems pasting code, see “Copy and paste code
on page 13.
Additional online resources
There are several resources online that offer a wealth of instruction, help, and guidance to help
you learn Macromedia Flash 8. Check the following websites often for updates:
The Macromedia Developer Center website (www.macromedia.com/devnet) is updated
regularly with the latest information on Flash, plus advice from expert users, advanced topics,
examples, tips, tutorials (including multipart tutorials), and other updates. Check the website
often for the latest news on Flash and how to get the most out of the program.
The Macromedia Flash Support Center (www.macromedia.com/support/flash) provides
TechNotes, documentation updates, and links to additional resources in the Flash
community.
The Macromedia Weblogs website (http://weblogs.macromedia.com) provides a list of both
Macromedia employee and community weblogs (also known as blogs).
Additional resources 17
The Macromedia web forums (http://webforums.macromedia.com) provides numerous
forums for asking specific questions about Flash, your applications, or the ActionScript
language. The forums are monitored by Team Macromedia volunteers and often visited by
Macromedia employees as well. If youre not sure where to go, or how to solve a problem, a
Flash forum is a good place to start.
The Macromedia Community website (www.macromedia.com/community) regularly hosts
Macrochats, a series of live presentations on a variety of topics by Macromedia employees or
community members. Check the website often for updates and to register for Macrochats.
Where to find documentation on other subjects
The following manuals offer additional information on subjects commonly associated with
ActionScript 2.0:
For information about the elements that compose the ActionScript language, see the
ActionScript 2.0 Language Reference.
For information about working in the Flash authoring environment, see How to Use Help.
For information about working with components, see Using Components.
18 Introduction
19
1
CHAPTER 1
What’s New in Flash 8
ActionScript
Macromedia Flash Basic 8 and Macromedia Flash Professional 8 provide several
enhancements that make it easy for you to write robust scripts using the ActionScript (AS)
language. The new features, which are discussed in this chapter, include new language
elements (see Additions to the ActionScript language” on page 22), improved editing tools
(see ActionScript editing changes” on page 27), changes to the security model, and other
ActionScript-related improvements to the authoring tool.
For more information, see the following topics:
New in ActionScript 2.0 and Flash 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Changes to security model for locally installed SWF files. . . . . . . . . . . . . . . . . . . . . . 28
New in ActionScript 2.0 and Flash 8
The ActionScript language has grown and developed since its introduction several years ago.
With each new release of Flash, additional keywords, objects, methods, and other language
elements were added to ActionScript. There are also ActionScript-related improvements to
the Flash 8 authoring environments. Flash Basic 8 and Flash Professional 8 introduce several
new language elements for expressive features, such as filters and blending modes, and
application development, such as JavaScript integration (ExternalInterface) and file input and
output (FileReference and FileReferenceList).
This section provides an overview of the ActionScript language elements and classes that are
new or changed in Flash 8 and ActionScript-related improvements to the authoring tool. For
a list of specific additions to ActionScript 2.0, see Additions to the ActionScript language
on page 22. To use any of the new language elements in your scripts, you must target Flash
Player 8 (the default) when you publish your documents.
20 What’s New in Flash 8 ActionScript
The following features were added to both Flash Basic 8 and Flash Professional 8 (unless
noted otherwise):
ActionScript editor enhancements let you show hidden characters in your scripts. For
more information, see “Showing hidden characters” on page 53.
Debug options are now available in the Script window, as well as the Actions panel, for
ActionScript files.
The Configuration directory that includes XML files and Class files is reorganized. See
“Configuration files that install with Flash 8” on page 65 for details.
You can set a preference to reload modified script files when working on an application,
which helps you avoid working with older versions of script files, and overwriting newer
script files. For more information, see About ActionScript preferences” on page 42.
The Script window feature is available in Flash Basic 8 and Flash Professional 8. That
means you can now create an ActionScript file in either program.
Script Assist (similar to Normal Mode in earlier editions of Flash) helps you code without
needing to understand syntax. For more information on Script Assist, see About Script
Assist” on page 58.
You can load new kinds of image files at runtime, which include progressive JPEG images,
and non-animated GIF and PNG files. If you load an animated file, the first frame of the
animation appears.
You can assign linkage identifiers to bitmap and sound files stored in the Library, which
means that you can attach images to the Stage or work with these assets in shared libraries.
Bitmap caching lets you improve the performance of your applications at runtime by
caching a bitmap representation of your instances. You can use ActionScript code to access
this property. For more information, see About bitmap caching, scrolling, and
performance” on page 480.
9-slice scaling lets you scale movie clip instances without widening the strokes that outline
the movie clip. You can use ActionScript code to access this feature in Flash Basic 8 and
Flash Professional 8, or in the Flash 8 authoring tool. For more information, see “Working
with 9-slice scaling in ActionScript” on page 558. For information about accessing 9-slice
scaling in the authoring tool, see About 9-slice scaling and movie clip symbols
on page 79 in Using Flash.
You can now add metadata information to your FLA files in the Publish Settings dialog
box. You can add a name and description to your FLA file using the dialog box to help
increase online search visibility.
The Strings panel is improved to include multiline support in the String field and a
language XML file. For more information, see About the Strings panel” on page 452.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477
  • Page 478 478
  • Page 479 479
  • Page 480 480
  • Page 481 481
  • Page 482 482
  • Page 483 483
  • Page 484 484
  • Page 485 485
  • Page 486 486
  • Page 487 487
  • Page 488 488
  • Page 489 489
  • Page 490 490
  • Page 491 491
  • Page 492 492
  • Page 493 493
  • Page 494 494
  • Page 495 495
  • Page 496 496
  • Page 497 497
  • Page 498 498
  • Page 499 499
  • Page 500 500
  • Page 501 501
  • Page 502 502
  • Page 503 503
  • Page 504 504
  • Page 505 505
  • Page 506 506
  • Page 507 507
  • Page 508 508
  • Page 509 509
  • Page 510 510
  • Page 511 511
  • Page 512 512
  • Page 513 513
  • Page 514 514
  • Page 515 515
  • Page 516 516
  • Page 517 517
  • Page 518 518
  • Page 519 519
  • Page 520 520
  • Page 521 521
  • Page 522 522
  • Page 523 523
  • Page 524 524
  • Page 525 525
  • Page 526 526
  • Page 527 527
  • Page 528 528
  • Page 529 529
  • Page 530 530
  • Page 531 531
  • Page 532 532
  • Page 533 533
  • Page 534 534
  • Page 535 535
  • Page 536 536
  • Page 537 537
  • Page 538 538
  • Page 539 539
  • Page 540 540
  • Page 541 541
  • Page 542 542
  • Page 543 543
  • Page 544 544
  • Page 545 545
  • Page 546 546
  • Page 547 547
  • Page 548 548
  • Page 549 549
  • Page 550 550
  • Page 551 551
  • Page 552 552
  • Page 553 553
  • Page 554 554
  • Page 555 555
  • Page 556 556
  • Page 557 557
  • Page 558 558
  • Page 559 559
  • Page 560 560
  • Page 561 561
  • Page 562 562
  • Page 563 563
  • Page 564 564
  • Page 565 565
  • Page 566 566
  • Page 567 567
  • Page 568 568
  • Page 569 569
  • Page 570 570
  • Page 571 571
  • Page 572 572
  • Page 573 573
  • Page 574 574
  • Page 575 575
  • Page 576 576
  • Page 577 577
  • Page 578 578
  • Page 579 579
  • Page 580 580
  • Page 581 581
  • Page 582 582
  • Page 583 583
  • Page 584 584
  • Page 585 585
  • Page 586 586
  • Page 587 587
  • Page 588 588
  • Page 589 589
  • Page 590 590
  • Page 591 591
  • Page 592 592
  • Page 593 593
  • Page 594 594
  • Page 595 595
  • Page 596 596
  • Page 597 597
  • Page 598 598
  • Page 599 599
  • Page 600 600
  • Page 601 601
  • Page 602 602
  • Page 603 603
  • Page 604 604
  • Page 605 605
  • Page 606 606
  • Page 607 607
  • Page 608 608
  • Page 609 609
  • Page 610 610
  • Page 611 611
  • Page 612 612
  • Page 613 613
  • Page 614 614
  • Page 615 615
  • Page 616 616
  • Page 617 617
  • Page 618 618
  • Page 619 619
  • Page 620 620
  • Page 621 621
  • Page 622 622
  • Page 623 623
  • Page 624 624
  • Page 625 625
  • Page 626 626
  • Page 627 627
  • Page 628 628
  • Page 629 629
  • Page 630 630
  • Page 631 631
  • Page 632 632
  • Page 633 633
  • Page 634 634
  • Page 635 635
  • Page 636 636
  • Page 637 637
  • Page 638 638
  • Page 639 639
  • Page 640 640
  • Page 641 641
  • Page 642 642
  • Page 643 643
  • Page 644 644
  • Page 645 645
  • Page 646 646
  • Page 647 647
  • Page 648 648
  • Page 649 649
  • Page 650 650
  • Page 651 651
  • Page 652 652
  • Page 653 653
  • Page 654 654
  • Page 655 655
  • Page 656 656
  • Page 657 657
  • Page 658 658
  • Page 659 659
  • Page 660 660
  • Page 661 661
  • Page 662 662
  • Page 663 663
  • Page 664 664
  • Page 665 665
  • Page 666 666
  • Page 667 667
  • Page 668 668
  • Page 669 669
  • Page 670 670
  • Page 671 671
  • Page 672 672
  • Page 673 673
  • Page 674 674
  • Page 675 675
  • Page 676 676
  • Page 677 677
  • Page 678 678
  • Page 679 679
  • Page 680 680
  • Page 681 681
  • Page 682 682
  • Page 683 683
  • Page 684 684
  • Page 685 685
  • Page 686 686
  • Page 687 687
  • Page 688 688
  • Page 689 689
  • Page 690 690
  • Page 691 691
  • Page 692 692
  • Page 693 693
  • Page 694 694
  • Page 695 695
  • Page 696 696
  • Page 697 697
  • Page 698 698
  • Page 699 699
  • Page 700 700
  • Page 701 701
  • Page 702 702
  • Page 703 703
  • Page 704 704
  • Page 705 705
  • Page 706 706
  • Page 707 707
  • Page 708 708
  • Page 709 709
  • Page 710 710
  • Page 711 711
  • Page 712 712
  • Page 713 713
  • Page 714 714
  • Page 715 715
  • Page 716 716
  • Page 717 717
  • Page 718 718
  • Page 719 719
  • Page 720 720
  • Page 721 721
  • Page 722 722
  • Page 723 723
  • Page 724 724
  • Page 725 725
  • Page 726 726
  • Page 727 727
  • Page 728 728
  • Page 729 729
  • Page 730 730
  • Page 731 731
  • Page 732 732
  • Page 733 733
  • Page 734 734
  • Page 735 735
  • Page 736 736
  • Page 737 737
  • Page 738 738
  • Page 739 739
  • Page 740 740
  • Page 741 741
  • Page 742 742
  • Page 743 743
  • Page 744 744
  • Page 745 745
  • Page 746 746
  • Page 747 747
  • Page 748 748
  • Page 749 749
  • Page 750 750
  • Page 751 751
  • Page 752 752
  • Page 753 753
  • Page 754 754
  • Page 755 755
  • Page 756 756
  • Page 757 757
  • Page 758 758
  • Page 759 759
  • Page 760 760
  • Page 761 761
  • Page 762 762
  • Page 763 763
  • Page 764 764
  • Page 765 765
  • Page 766 766
  • Page 767 767
  • Page 768 768
  • Page 769 769
  • Page 770 770
  • Page 771 771
  • Page 772 772
  • Page 773 773
  • Page 774 774
  • Page 775 775
  • Page 776 776
  • Page 777 777
  • Page 778 778
  • Page 779 779
  • Page 780 780
  • Page 781 781
  • Page 782 782
  • Page 783 783
  • Page 784 784
  • Page 785 785
  • Page 786 786
  • Page 787 787
  • Page 788 788
  • Page 789 789
  • Page 790 790
  • Page 791 791
  • Page 792 792
  • Page 793 793
  • Page 794 794
  • Page 795 795
  • Page 796 796
  • Page 797 797
  • Page 798 798
  • Page 799 799
  • Page 800 800
  • Page 801 801
  • Page 802 802
  • Page 803 803
  • Page 804 804
  • Page 805 805
  • Page 806 806
  • Page 807 807
  • Page 808 808
  • Page 809 809
  • Page 810 810
  • Page 811 811
  • Page 812 812
  • Page 813 813
  • Page 814 814
  • Page 815 815
  • Page 816 816
  • Page 817 817
  • Page 818 818
  • Page 819 819
  • Page 820 820
  • Page 821 821
  • Page 822 822
  • Page 823 823
  • Page 824 824
  • Page 825 825
  • Page 826 826
  • Page 827 827
  • Page 828 828
  • Page 829 829
  • Page 830 830

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH User manual

Category
Software
Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI