MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference
| Brand: | MACROMEDIA |
| Category: | Other |
| Model: | FLEX-FLEX ACTIONSCRIPT LANGUAGE (Reference) |
| File Type: | |
| File Size: | — |
| Pages: | 830 |
Text of MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference
MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE ActiveEdit, ActiveTest, Add Life to the Web, Afterburner, Aftershock, Andromedia, Allaire, Animation PowerPack, Aria, Attain,
Authorware, Authorware Star, Backstage, Blue Sky Software, Blue Sky, Breeze, Bright Tiger, Clustercats, ColdFusion, Contents
Tab Composer, Contribute, Design In Motion, Director, Dream Templates, Dreamweaver, Drumbeat 2000, EDJE, EJIPT,
Extreme 3D, Fireworks, Flash, FlashHelp, Flash Lite, FlashPaper, Flex, Flex Builder, F
MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE INTRODUCTION: Getting Started with ActionScript . . . . . . . . . . . . . . . . . . . . . . . 5
Intended audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Using the documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Typographical conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Terms
CHAPTER 3: Working with External Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Sending and loading variables to and from a remote source. . . . . . . . . . . . . . . . . . 67
Sending messages to and from Flash Player . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
PART II: Reference
CHAPTER 4: About the ActionScript Language Reference. . . . . . . . . . . . . . . . . 77
Sample entry for most ActionScript ele
Getting Started with ActionScript
Macromedia Flex developers can use ActionScript to extend the functionality of their Flex
applications. ActionScript is an ECMAScript-based language that provides support for object-
oriented development. You are not required to use ActionScript to use Flex, but it provides flow
control and object manipulation features that are not available in strict MXML.
Intended audience
This manual assumes that you alr
Introduction: Getting Started with ActionScript
• Chapter 7, “ActionScript for Flash,” on page 490 describe functions, properties, and classes of
Macromedia Flash Player that you can use in a Macromedia Flex application, if appropriate.
• Appendix A, “Deprecated Flash 4 operators,” on page 809 lists all the ActionScript operators
and their associativity.
• Appendix B, “Keyboard Keys and Key Code Values,” on page 811 lists all the keys
Welcome to ActionScript
This part includes information on using the ActionScript language. For information on the
classes and language elements you can use in your scripts, see Part II, “Reference.”
Chapter 1: ActionScript Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 2: Creating Custom Classes with ActionScript 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Chap
MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE ActionScript has rules of grammar and punctuation that determine which characters and words
are used to create meaning and in which order they can be written. For example, in English, a
period ends a sentence; in ActionScript, a semicolon ends a statement.
The general rules described in this section apply to all ActionScript. Most ActionScript terms also
have individual requirements; for the rules for a specific term, see it
MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Chapter 1: ActionScript Basics
Differences between ActionScript and JavaScript
ActionScript is similar to the core JavaScript programming language. You don’t need to know
JavaScript to use and learn ActionScript; however, if you know JavaScript, ActionScript will
seem familiar.
This manual does not attempt to teach general programming. There are many resources that
provide more information about general programming concepts and the JavaScript languag
As with all scripting languages, ActionScript uses its own terminology. The following list provides
an introduction to important ActionScript terms:
Boolean is a true or false value.
Classes are data types that you can create to define a new type of object. To define a class,
you use the class keyword in a script file.
Constants are elements that don’t change. For example, the constant Key.TAB always has the
same meaning: it in
Chapter 1: ActionScript Basics Identifiers are names used to indicate a variable, property, object, function, or method. The first
character must be a letter, underscore (_), or dollar sign ($). Each subsequent character must be a
letter, number, underscore, or dollar sign. For example, firstName is the name of a variable.
Instances are objects that contain all the properties and methods of a particular class. For
example, all arrays are instances of t
MACROMEDIA Other Owners Instructions:
| Device Model | Type of Document | Pages | Size | Views | Downloads | Updated |
|---|---|---|---|---|---|---|
COLFUSION MX 7-CFML |
Other #1K2ZH1 |
1108 | 28 | 7 | 17-07-2026 | |
DIRECTOR MX-USING DIRECTOR MX |
#ZA58A7: DIRECTOR MX-USING DIRECTOR MX Other Using manual |
624 | 332 | 80 | 19-08-2026 | |
FLASH MX PROFESSIONAL 2004 - FLASH LITE |
FLASH MX PROFESSIONAL 2004 - FLASH LITE Operation & user’s manual - J1K381 |
22 | 1411 | 212 | 06-08-2026 | |
COLDFUSION 5 - CFML |
MACROMEDIA Other Quick reference (File: PDF, 18-05-2026) |
36 | 384 | 77 | 18-05-2026 | |
COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX |
Other #6E2I1B |
168 | 1360 | 313 | 01-08-2026 |