Getting Started
About Flash
About Flash Player
What's new in Flash
New features available in both Flash MX 2004 and Flash MX Professional 2004
New features available in Flash MX Professional 2004 only
Guide to instructional media
Using the Help panel
Using the Start page
System requirements
Installing and activating Flash
Upgrading from Macromedia Flash MX 2004 to Macromedia Flash MX Professional 2004
Switching between trial mode editions
Purchasing a Flash edition from trial mode
Configuration folders installed with Flash
Changing or removing Flash Player
Configuring a server for Flash Player
Using the Stage
Zooming
Moving the view of the Stage
Using the Timeline
Changing the appearance of the Timeline
Moving the playhead
Changing the display of frames in the Timeline
Using frames and keyframes
Working with frames in the Timeline
Using layers
Creating layers and layer folders
Viewing layers and layer folders
Editing layers and layer folders
Organizing layers and layer folders
Using guide layers
About the main toolbar and edit bar
Using the Tools panel
Selecting tools
Customizing the Tools panel
Using the grid, guides, and rulers
Using the grid
Using guides
Using rulers
Using panels and the Property inspector
About the Property inspector
About the Library panel
About the Actions panel
Using panels
Setting preferences in Flash
Customizing keyboard shortcuts
Using context menus
Accessibility in the Flash authoring environment
About Flash authoring accessibility on the Macintosh
Selecting panels or the Property inspector with keyboard shortcuts
Selecting controls in a panel or the Property inspector using keyboard shortcuts
Navigating dialog box controls using keyboard shortcuts (Windows only)
Selecting the Stage or objects on the Stage using keyboard shortcuts
Navigating tree controls using keyboard shortcuts
Working with library items using keyboard shortcuts
Workflow for building an application
Examine a completed application
Run the completed application
Open the authoring document
Examine the completed application
View the library for your document
Close the application
Create a new document
Open a new document
Define document properties
Add media content
Add vector art
Import images into the library
Add art from the library
Add text
Add navigation controls
Add and configure components
Add a behavior
Add motion and basic interactivity
Add a Timeline effect
Extend a layer in the Timeline
Test the application
Publish and view the application
Publish the application
View your published application in a browser
The next steps
Resources
Using Flash
Creating or opening a document and setting properties
Using document tabs for multiple documents (Windows only)
Saving Flash documents
About adding media content
About creating motion and interactivity
About components
Using the library to manage media assets
Working with library items
Working with folders in the Library panel
Sorting items in the Library panel
Editing items in the library
Renaming library items
Deleting library items
Finding unused library items
Updating imported files in the Library panel
Working with common libraries
About ActionScript
Multiple Timelines and levels
Nested movie clips
Parent and child movie clips
Movie clip hierarchy
Using absolute and relative target paths
Absolute paths
Relative paths
Writing target paths
Working with scenes
Using the Movie Explorer
Using Find and Replace
Finding and replacing text
Finding and replacing fonts
Finding and replacing colors
Finding and replacing symbols
Finding and replacing sound, video, or bitmap files
Using the Undo, Redo, and Repeat menu commands
Using the History panel
Undoing steps with the History panel
Replaying steps with the History panel
Copying and pasting steps between documents
Saving documents when you undo steps
Automating tasks with the Commands menu
About steps that can't be used in commands
Creating and managing commands
Running commands
Getting more commands
About customizing context menus in Flash documents
About the links menu in Flash Player
Speeding up document display
Optimizing Flash documents
Testing document download performance
Printing from the Flash authoring tool
Creating and managing projects (Flash Professional only)
Using version control with projects (Flash Professional only)
Troubleshooting remote folder setup (Flash Professional only)
Types of symbols
About controlling instances and symbols with ActionScript
Creating symbols
Converting animation on the Stage into a movie clip
Duplicating symbols
Creating instances
Creating buttons
Enabling, editing, and testing buttons
Editing symbols
Changing instance properties
Changing the color and transparency of an instance
Swapping one instance for another
Changing an instance's type
Setting the animation for graphic instances
Controlling instances with behaviors
Breaking apart instances
Getting information about instances on the Stage
Copying library assets between documents
Using shared library assets
Working with runtime shared assets
Defining runtime shared assets in a source document
Linking to runtime shared assets from a destination document
Updating or replacing symbols using sharing during authoring
Resolving conflicts between library assets
Using the Stroke Color and Fill Color controls in the Tools panel
Using the Stroke Color and Fill Color controls in the Property inspector
Working with solid colors and gradient fills in the Color Mixer
Modifying strokes with the Ink Bottle tool
Applying solid, gradient, and bitmap fills with the Paint Bucket tool
Transforming gradient and bitmap fills
Copying strokes and fills with the Eyedropper tool
Locking a gradient or bitmap to fill the Stage
Modifying color palettes
Duplicating and removing colors
Using the default palette and the web-safe palette
Sorting the palette
Importing and exporting color palettes
About vector and bitmap graphics
Vector graphics
Bitmap graphics
Flash drawing and painting tools
About overlapping shapes in Flash
Drawing with the Pencil tool
Drawing straight lines, ovals, and rectangles
Drawing polygons and stars
Using the Pen tool
Setting Pen tool preferences
Drawing straight lines with the Pen tool
Drawing curved paths with the Pen tool
Adjusting anchor points on paths
Adjusting segments
Painting with the Brush tool
Reshaping lines and shape outlines
Reshaping using the Selection tool
Straightening and smoothing lines
Optimizing curves
Erasing
Modifying shapes
Snapping
Object snapping
Pixel snapping
Snap alignment
Specifying drawing settings
About Unicode text encoding in Flash applications
About font outlines and device fonts
About using device fonts
About masking device fonts
Creating text
Creating scrolling text
Setting text attributes
About aliasing text
Choosing a font, point size, style, and color
Setting character spacing, kerning, and character position
Setting alignment, margins, indents, and line spacing
Making text selectable by users
Using device fonts (static horizontal text only)
Setting dynamic and input text options
Creating font symbols
Editing text
Checking spelling
Using Spelling Setup
Using the Check Spelling feature
About transforming text
Using Timeline effects with text
Breaking text apart
Linking text to a URL (horizontal text only)
Preserving rich text formatting
Substituting missing fonts
Selecting substitute fonts
Working with substitute fonts
Controlling text with ActionScript
Creating and removing text fields dynamically
Setting text field properties dynamically
Formatting text dynamically
Using text field events to trigger scripts
About using Cascading Style Sheets (CSS) with text fields
Creating scrolling text
Placing artwork into Flash
Importing file formats for vector or bitmap files
Importing Fireworks PNG files
Importing FreeHand MX files
Importing Adobe Illustrator, EPS, or PDF files
AutoCAD DXF files
Working with imported bitmaps
Using the Property inspector to work with bitmaps
Setting bitmap properties
Applying a bitmap fill
Editing bitmaps in an external editor
Breaking apart a bitmap
Converting bitmaps to vector graphics
Selecting objects
Selecting objects with the Selection tool
Modifying selections
Selecting objects with the Lasso tool
Hiding selection highlighting
Grouping objects
Moving, copying, and deleting objects
Moving objects
Moving and copying objects by pasting
About copying artwork with the Clipboard
Copying transformed objects
Deleting objects
Stacking objects
Transforming objects
Working with the center point during transformations
Transforming objects freely
Distorting objects
Modifying shapes with the Envelope modifier
Scaling objects
Rotating objects
Skewing objects
Flipping objects
Restoring transformed objects
Aligning objects
Breaking apart groups and objects
Using Timeline effects
Adding a Timeline effect
Timeline effect settings
Editing a Timeline effect
Deleting a Timeline effect
Tweened animation
Frame-by-frame animation
Layers in animation
Creating keyframes
Representations of animations in the Timeline
Frame rates
Extending still images
Distributing objects to layers for tweened animation
New layers
Distributing objects to layers
Tweening instances, groups, and type
Tweening motion along a path
Tweening shapes
Using shape hints
Creating frame-by-frame animations
Editing animation
Onion skinning
Moving an entire animation
Using mask layers
About file formats for imported video
About the Sorenson Spark codec
Tips for creating Flash video with Sorenson Spark
Using the Video Import wizard
Editing video clips in the Video Import wizard
Selecting compression profiles in the Video Import wizard
Selecting advanced settings in the Video Import wizard
Importing Macromedia Flash Video (FLV) files
Importing linked QuickTime video files
Setting the directory path of a linked QuickTime video
About playing back external FLV files dynamically
Changing the properties of a video clip
Controlling video playback using behaviors
About controlling video playback using the Timeline
Exporting FLV files from video-editing applications (Flash Professional only)
Playing FLV video clips with media components (Flash Professional only)
Defining cue points (Flash Professional only)
Adding actions to a cue point (Flash Professional only
Importing sounds
Adding sounds to a document
Adding sounds to buttons
Using sounds with Sound objects
About accessing ID3 properties in MP3 files with Flash Player
Using the sound-editing controls
Controlling sound playback using behaviors
Starting and stopping sounds at keyframes
About the onSoundComplete event
Compressing sounds for export
Using the ADPCM compression option
Using the MP3 compression option
Using the Raw compression option
Using the Speech compression option
Guidelines for exporting sound in Flash documents
Using sounds in Flash documents for mobile devices (Flash Professional only)
Creating a Flash Lite sound file
Understanding screen-based documents and the screen authoring environment (Flash Professional only)
Workflow for authoring screen-based documents (Flash Professional only)
Slide presentations and form applications (Flash Professional only)
Document structure and hierarchy (Flash Professional only)
About using preloaders with screen-based documents
Slide screens and form screens (Flash Professional only)
Using the Screen Outline pane (Flash Professional only)
About undoing and redoing commands with screens (Flash Professional only)
Using the screens context menu (Flash Professional only)
Creating a new screen-based document (Flash Professional only)
Adding screens to a document (Flash Professional only)
Naming screens (Flash Professional only)
Setting properties and parameters for a screen (Flash Professional only)
Specifying the ActionScript class and registration point of a screen (Flash Professional only)
Setting parameters for a screen (Flash Professional only)
About adding media content to screens (Flash Professional only)
Selecting and moving screens (Flash Professional only)
Creating controls and transitions for screens with behaviors (Flash Professional only)
Adding controls to screens using behaviors (Flash Professional only)
Adding transitions to screens using behaviors (Flash Professional only)
Using Find and Replace with screens (Flash Professional only)
About using the Movie Explorer with screens (Flash Professional only)
About using Timelines with screens (Flash Professional only)
About using ActionScript with screens (Flash Professional only)
Screen instance names, class names, and registration points (Flash Professional only)
How screens interact with ActionScript (Flash Professional only)
About using components with screens (Flash Professional only)
Accessibility in the Flash screens authoring environment (Flash Professional only)
Selecting an encoding language
Unicode and Macromedia Flash Player
Text encoding in Flash Player 7
Unicode encoding formats supported by Flash Player
About encoding in external XML files
Fonts for Unicode-encoded text
Using embedded fonts
Authoring multilanguage text with the Strings panel
Selecting languages for translation
Adding strings to the Strings panel
Publishing and deploying multilanguage text
XML file format
Translating text in the Strings panel or an XML file
Importing an XML file into the Strings panel
Creating documents with multilanguage text without using the Strings panel
Using the XMLConnector component to connect to external XML files
Using a Western keyboard to enter Asian characters on the Stage
Using ActionScript to load external files
Creating documents with multilanguage text using the #include action
Creating documents with multilanguage text using text variables
Using external text or XML files that are not Unicode encoded
Additional resources
Creating a simple application
Workflows for using the data components
Data binding (Flash Professional only)
A simple binding example
Working with schemas in the Schema tab (Flash Professional only)
Adding a component property to a schema
Adding a schema field to a schema item
About handling data types in data binding (Flash Professional only)
Working with bindings in the Bindings tab (Flash Professional only)
About debugging data binding and web services (Flash Professional only)
Data binding in Flash Player 7 versus Flash Player 6
Data connectivity (Flash Professional only)
Connecting to web services with the WebService connector component (Flash Professional only)
Using the Web Services panel
Connecting to XML data with the XMLConnector component (Flash Professional only)
About data connectivity and security in Flash Player
Data management (Flash Professional only)
Managing data with the DataSet component (Flash Professional only)
Data resolution (Flash Professional only)
Resolving XML data with the XUpdateResolver component (Flash Professional only)
Resolving data to a relational database (Flash Professional only)
Formatting your results (Flash Professional only)
Advanced topics in data integration
Schema item settings
When to edit schema item settings
Virtual schemas
Adding bindings using path expressions
Default data binding events
Server-side requirements for resolving XML data
Server-side requirements for resolving data for RDBMS
Lazy decoding in the WebServiceConnector component
Transfer objects in the DataSet component
Playing your Flash SWF files
About publishing secure Flash documents
Publishing Flash documents
Setting publish options for the Flash SWF file format
Specifying publish settings that create HTML documents with embedded Flash content
Configuring publish settings for Flash Player detection
Specifying publish settings for GIF files
Specifying publish settings for JPEG files
Specifying publish settings for PNG files
Specifying publish settings for QuickTime videos
About publishing Flash Lite documents
Using publish profiles
Creating a publish profile
Duplicating a publish profile
Modifying a publish profile
Exporting a publish profile
Importing a publish profile
Deleting a publish profile
About HTML publishing templates
Customizing HTML publishing templates
Using HTML template variables
Creating an image map
Creating a text report
Creating a URL report
Using shorthand template variables
Sample template
Editing Flash HTML settings
Using object and embed tags
Parameters and attributes
Previewing the publishing format and settings
Using Flash Player
About configuring a web server for Flash
Exporting Flash content and images
About export file formats
Adobe Illustrator
Animated GIF, GIF Sequence, and GIF Image
Bitmap (BMP)
DXF Sequence and AutoCAD DXF Image
Enhanced Metafile (Windows)
Encapsulated PostScript (EPS) 3.0 with Preview
Flash document (SWF)
Macromedia Flash Video (FLV)
JPEG Sequence and JPEG Image
PICT (Macintosh)
PNG sequence and PNG image
QuickTime
QuickTime Video (Macintosh)
WAV audio (Windows)
Windows AVI (Windows)
Windows Metafile
Updating Flash content for Dreamweaver UltraDev
Worldwide accessibility standards
Macromedia Flash Accessibility web page
Understanding screen reader technology
Using Flash to enter accessibility information for screen readers
The Flash Accessibility panel
Selecting names for buttons, text fields, and entire Flash applications
Specifying advanced accessibility options for screen readers
Making an entire Flash application accessible
Viewing and creating tab order and reading order
Creating a tab order index for keyboard navigation in the Accessibility panel (Flash Professional only)
About animation and accessibility for the visually impaired
Using accessible components
Creating accessibility with ActionScript
Implementing screen reader detection with the Accessibility.isActive() method
Using ActionScript to create a tab order for accessible objects
Accessibility for hearing-impaired users
Testing accessible content
Controlling printing
Supported printers
Using the ActionScript PrintJob class
Building a print job
Starting a print job
Adding pages to a print job
Specifying a target
Sending the print job to the printer
Deleting the print job
Printing frames independent of the PrintJob class
Designating printable frames (when not using the PrintJob object)
Specifying a print area (when not using the PrintJob object)
Using the print() function (when not using the PrintJob object)
Changing the printed background color
Using frame labels to disable printing
Printing from the Flash Player context menu
Publishing a document with printable frames
Getting started with Flash learning interactions
About Flash learning interactions
Including a Flash learning interaction in a document
Using the quiz templates
Setting the quiz parameters
Modifying learning interactions in a quiz
Configuring a Learning Interaction component
Adding learning interactions to a quiz template
Adding learning interactions to a document that doesn't use a quiz template
About managing library assets for learning interactions
Removing a learning interaction from the Timeline
Testing to see if a movie clip is broken apart
Changing the appearance of a learning interaction
Changing the images in a graphical learning interaction
Changing buttons, check boxes, and radio buttons
About using components within a learning interaction
Testing a quiz
Configuring learning interactions
Configuring a Drag and Drop interaction
Adding and removing Drag objects and Target objects
Configuring a Fill in the Blank interaction
Configuring a Hot Object interaction
Adding and removing hot object distractors
Configuring a Hot Spot interaction
Adding and removing hot spot distractors
Configuring a Multiple Choice interaction
Adding and removing multiple-choice distractors
Configuring a True or False interaction
True or False interaction distractors
Adding, naming, and registering assets
About naming Learning Interaction component instances
Naming UI components (RadioButton, CheckBox, Button, and TextInput)
Naming dynamic text fields
Registering dynamic text fields and UI components
Naming and registering graphic distractors
Text field names
Asset name defaults
Drag and Drop learning interaction asset names
Fill in the Blank learning interaction asset names
Hot Object learning interaction asset names
Hot Spot learning interaction asset names
Multiple Choice learning interaction asset names
True or False learning interaction asset names
Setting feedback options for a learning interaction
Setting Knowledge Track options for a learning interaction
Setting navigation options for a learning interaction
Setting control button labels for a learning interaction
Tracking to AICC- or SCORM-compliant learning management systems
Overview of the communication for AICC- and SCORM-compliant content
AICC communication overview
SCORM communication overview
Preparing Flash learning interactions for web hosting
Preparing an AICC-compliant learning interaction for web hosting
Preparing a SCORM-compliant learning interaction for web hosting
Extending learning interaction scripts
Accessing cumulative tracking data through the SessionArray
Tracking properties available in the SessionArray
Predefined property names
Basic structure of the Learning Interaction scripts and components
Reviewing or editing the LToolboxClass script
Using samples
Using the accessibility features in Flash
Building a photo scrapbook
Customizing the Flash Player context menu
Using device font masking
Developing multilingual content
Understanding text enhancements
Building custom panels with the Extensibility API
Building a news reader (Flash Professional only)
Using scriptable masks
Using advanced video features (Flash Professional only)
Building a population viewer (Flash Professional only)
Using templates
Using advertising templates
Using video templates (Flash Professional only)
Using the Photo Slideshow template
Using presentation templates
Using the screen presentation templates (Flash Professional only)
Using the mobile device templates
Using quiz templates
Using form application templates (Flash Professional only)
Layout tag summary for XML to UI dialog boxes
Control tag summary for XML to UI dialog boxes
<column>
<columns>
<dialog>
<grid>
<hbox>
<row>
<rows>
<separator>
<spacer>
<vbox>
<button>
<checkbox>
<choosefile>
<colorchip>
<flash>
<label>
<listbox>
<listitem>
<menulist>
<menupop>
<menuitem>
<popupslider>
<property>
<radiogroup>
<radio>
<targetlist>
<textbox>
Using ActionScript
Intended audience
System requirements
Using the documentation
Typographical conventions
Terms used in this document
Additional resources
Updating Flash XML files
New and changed ActionScript language elements
New security model and legacy SWF files
Porting existing scripts to Flash Player 7
ECMA-262 compliance
Domain-name rules for settings and local data
Cross-domain and subdomain access between SWF files
HTTP to HTTPS protocol access between SWF files
Server-side policy files for permitting access to data
ActionScript editor changes
Debugging changes
New object-oriented programming model
Differences between ActionScript and JavaScript
Terminology
Syntax
Case sensitivity
Dot syntax
Slash syntax
Curly braces
Semicolons
Parentheses
Comments
Keywords and reserved words
Constants
About data types
String data type
Number data type
Boolean data type
Object data type
MovieClip data type
Null data type
Undefined data type
Void data type
Assigning data types to elements
Automatic data typing
Strict data typing
Casting objects
Determining an item's data type
About variables
Naming a variable
Scoping and declaring variables
Using variables in a program
Using operators to manipulate values in expressions
Operator precedence and associativity
Numeric operators
Comparison operators
String operators
Logical operators
Bitwise operators
Equality operators
Assignment operators
Dot and array access operators
Specifying an object's path
Using condition statements
Using built-in functions
Creating functions
Defining a function
Passing parameters to a function
Using variables in a function
Returning values from a function
Calling a user-defined function
Working with FLA files
Organizing Timelines and the library
Using scenes
Saving and version control
General coding conventions
General naming guidelines
Avoiding reserved words
Formatting code
ActionScript coding standards
Organizing ActionScript in a document
Writing ActionScript
Using scope
Using functions
Using classes and ActionScript 2.0
Creating and organizing classes
Programming classes
Using prefixes in classes
Using comments in classes
Wrapping lines of code
Using design patterns
Behaviors conventions
Comparing timeline code with object code
Using behaviors
Being consistent
Being courteous
Screens conventions
Organizing code for screens
Placing code in the FLA file
Using external ActionScript
Working with other structural elements
Video conventions
Using video
Importing and embedding video
Exporting FLV files
Using Media components
Dynamically loading video using ActionScript
Performance and Flash Player
Optimizing graphics and animation
Working with components in Flash Player
Preloading components and classes
Working with text
Optimizing ActionScript in Flash Player
Guidelines for Flash applications
Building Flash Applications
Organizing files and storing code
Creating secure applications
Projects and version control guidelines
Using projects
Using version control
Guidelines for accessibility in Flash
Creating accessible sites
Using screen readers
Exposing SWF file structure and navigation
Controlling descriptions and repetition
Using color
Ordering, tabbing, and the keyboard
Handling audio and animation
Extending Flash and accessibility
Working with accessibility and components
Testing frequently and making changes
Advertising with Flash
Using recommended dimensions
Creating SWF file advertisements
Controlling when ActionScript runs
Using the Actions panel and Script window
About the ActionScript editor environment
Managing scripts in a FLA file
Using the ActionScript editor
Syntax highlighting
Writing code that triggers code hints
Using code hints
Using Escape shortcut keys
Checking syntax and punctuation
Formatting code
Unicode support for ActionScript
Debugging your scripts
Debugging a SWF file from a remote location
Displaying and modifying variables
Using the Watch list
Displaying movie clip properties and changing editable properties
Setting and removing breakpoints
Stepping through lines of code
Using the Output panel
Listing a SWF file's objects
Listing a SWF file's variables
Displaying text field properties for debugging
Using the trace statement
Updating Flash Player for testing
Using event handler methods
Using event listeners
Using button and movie clip event handlers
Specifying events for on() or onClipEvent()
Attaching multiple handlers to one object
Using on() and onClipEvent() with event handler methods
Broadcasting events from component instances
Creating movie clips with button states
Event handler scope
Scope of the this keyword
About events and interaction
Controlling SWF file playback
Jumping to a frame or scene
Playing and stopping movie clips
Jumping to a different URL
Creating interactivity and visual effects
Creating a custom mouse pointer
Getting the pointer position
Capturing keypresses
Setting color values
Creating sound controls
Detecting collisions
Creating a simple line drawing tool
Deconstructing a sample script
About classes and instances
Creating a new object
Accessing object properties
Calling object methods
About class (static) members
Overview of built-in classes
Core classes
Classes specific to Flash Player
About controlling movie clips with ActionScript
Calling multiple methods on a single movie clip
Loading and unloading additional SWF files
Specifying a root Timeline for loaded SWF files
Loading JPEG files into movie clips
Changing movie clip position and appearance
Dragging movie clips
Creating movie clips at runtime
Creating an empty movie clip
Duplicating or removing a movie clip
Attaching a movie clip symbol to the Stage
Adding parameters to dynamically created movie clips
Managing movie clip depths
Determining the next highest available depth
Determining the instance at a particular depth
Determining the depth of an instance
Swapping movie clip depths
Drawing shapes with ActionScript
Using movie clips as masks
About masking device fonts
Handling movie clip events
Assigning a class to a movie clip symbol
Initializing class properties
Using the TextField class
Assigning text to a text field at runtime
About text field instance and variable names
Creating text fields at runtime
Using the TextFormat class
Default properties of new text fields
Getting text metric information
Formatting text with Cascading Style Sheets
Supported CSS properties
Creating a style sheet object
Loading external CSS files
Creating new styles with ActionScript
Applying styles to a TextField object
Applying a style sheet to a TextArea component
Combining styles
Using style classes
Styling built-in HTML tags
An example of using styles with HTML
Using styles to define new tags
An example of using styles with XML
Using HTML-formatted text
Overview of using HTML-formatted text
Supported HTML tags
Embedding images, SWF files, and movie clips in text fields
Creating scrolling text
Principles of object-oriented programming
Objects
Classes and class members
Inheritance
Interfaces
Encapsulation
Polymorphism
Using classes: a simple example
Creating a class file
Creating an instance of the Person class
Creating and using classes
Constructor functions
Creating properties and methods
Controlling member access
Initializing properties inline
Creating subclasses
Creating dynamic classes
Using packages
Creating and using interfaces
Creating an interface
Interfaces as data types
Instance and class members
Creating class members
Using class members: a simple example
Class members and subclasses
Implicit getter/setter methods
Understanding the classpath
Global and document-level classpaths
How the compiler resolves class references
Modifying the classpath
Importing classes
Compiling and exporting classes
Excluding classes
Sending and loading variables to and from a remote source
Checking for loaded data
Using HTTP to connect to server-side scripts
Using the LoadVars class
About XML
Using the XML class
Using the XMLSocket class
Sending messages to and from Flash Player
Using fscommand()
About Flash Player methods
About using JavaScript to control Flash applications
Flash Player security features
About allowing data access between cross-domain SWF files
About allowing HTTP to HTTPS protocol access between SWF files
About allowing cross-domain data loading
About custom policy file locations
About XMLSocket policy files
About compatibility with previous Flash Player security models
Overview of loading external media
Loading external SWF and JPEG files
About loaded SWF files and the root Timeline
Loading external MP3 files
Reading ID3 tags in MP3 files
Playing back external FLV files dynamically
Preloading external media
Preloading SWF and JPEG files
Preloading MP3 and FLV files
Keys on the numeric keypad
Function keys
Other keys
About targeting older versions of Flash Player
Using Flash MX 2004 to create content for Flash Player 4
Using Flash MX 2004 to open Flash 4 files
Using slash syntax
About ActionScript 1
Creating a custom object in ActionScript 1
Assigning methods to a custom object in ActionScript 1
Defining event handler methods in ActionScript 1
Creating inheritance in ActionScript 1
Adding getter/setter properties to objects in ActionScript 1
Using Function object properties in ActionScript 1
ActionScript Language Reference
Sample entry for most ActionScript elements
Sample entry for classes
Examples Folder
++ (increment)
! (logical NOT)
!= (inequality)
!== (strict inequality)
% (modulo)
%= (modulo assignment)
& (bitwise AND)
&& (logical AND)
&= (bitwise AND assignment)
() (parentheses)
- (minus)
* (multiplication)
*= (multiplication assignment)
, (comma)
. (dot)
: (type)
?: (conditional)
/ (division)
// (comment delimiter)
/* (comment delimiter)
/= (division assignment)
[] (array access)
^ (bitwise XOR)
^= (bitwise XOR assignment)
{} (object initializer)
| (bitwise OR)
|| (logical OR)
|= (bitwise OR assignment)
~ (bitwise NOT)
+ (addition)
+= (addition assignment)
< (less than)
<< (bitwise left shift)
<<= (bitwise left shift and assignment)
<= (less than or equal to)
= (assignment)
-= (subtraction assignment)
== (equality)
=== (strict equality)
> (greater than)
>= (greater than or equal to)
>> (bitwise right shift)
>>= (bitwise right shift and assignment)
>>> (bitwise unsigned right shift)
>>>= (bitwise unsigned right shift and assignment)
Accessibility.isActive()
Accessibility.updateProperties()
arguments.callee
arguments.caller
arguments.length
Array.concat()
Array.join()
Array.length
Array.pop()
Array.push()
Array.reverse()
Array.shift()
Array.slice()
Array.sort()
Array.sortOn()
Array.splice()
Array.toString()
Array.unshift()
Boolean.toString()
Boolean.valueOf()
Button._alpha
Button.enabled
Button._focusrect
Button.getDepth()
Button._height
Button.menu
Button._name
Button.onDragOut
Button.onDragOver
Button.onKeyDown
Button.onKeyUp
Button.onKillFocus
Button.onPress
Button.onRelease
Button.onReleaseOutside
Button.onRollOut
Button.onRollOver
Button.onSetFocus
Button._parent
Button._quality
Button._rotation
Button._soundbuftime
Button.tabEnabled
Button.tabIndex
Button._target
Button.trackAsMenu
Button._url
Button.useHandCursor
Button._visible
Button._width
Button._x
Button._xmouse
Button._xscale
Button._y
Button._ymouse
Button._yscale
Camera.activityLevel
Camera.bandwidth
Camera.currentFps
Camera.fps
Camera.get()
Camera.height
Camera.index
Camera.motionLevel
Camera.motionTimeOut
Camera.muted
Camera.name
Camera.names
Camera.onActivity
Camera.onStatus
Camera.quality
Camera.setMode()
Camera.setMotionLevel()
Camera.setQuality()
Camera.width
Color.getRGB()
Color.getTransform()
Color.setRGB()
Color.setTransform()
ContextMenu.builtInItems
ContextMenu.copy()
ContextMenu.customItems
ContextMenu.hideBuiltInItems()
ContextMenu.onSelect
ContextMenuItem.caption
ContextMenuItem.copy()
ContextMenuItem.enabled
ContextMenuItem.onSelect
ContextMenuItem.separatorBefore
ContextMenuItem.visible
CustomActions.get()
CustomActions.install()
CustomActions.list()
CustomActions.uninstall()
Date.getDate()
Date.getDay()
Date.getFullYear()
Date.getHours()
Date.getMilliseconds()
Date.getMinutes()
Date.getMonth()
Date.getSeconds()
Date.getTime()
Date.getTimezoneOffset()
Date.getUTCDate()
Date.getUTCDay()
Date.getUTCFullYear()
Date.getUTCHours()
Date.getUTCMilliseconds()
Date.getUTCMinutes()
Date.getUTCMonth()
Date.getUTCSeconds()
Date.getYear()
Date.setDate()
Date.setFullYear()
Date.setHours()
Date.setMilliseconds()
Date.setMinutes()
Date.setMonth()
Date.setSeconds()
Date.setTime()
Date.setUTCDate()
Date.setUTCFullYear()
Date.setUTCHours()
Date.setUTCMilliseconds()
Date.setUTCMinutes()
Date.setUTCMonth()
Date.setUTCSeconds()
Date.setYear()
Date.toString()
Date.UTC()
Error.message
Error.name
Error.toString()
Function.apply()
Function.call()
Key.addListener()
Key.BACKSPACE
Key.CAPSLOCK
Key.CONTROL
Key.DELETEKEY
Key.DOWN
Key.END
Key.ENTER
Key.ESCAPE
Key.getAscii()
Key.getCode()
Key.HOME
Key.INSERT
Key.isDown()
Key.isToggled()
Key.LEFT
Key.onKeyDown
Key.onKeyUp
Key.PGDN
Key.PGUP
Key.removeListener()
Key.RIGHT
Key.SHIFT
Key.SPACE
Key.TAB
Key.UP
LoadVars.addRequestHeader()
LoadVars.contentType
LoadVars.decode()
LoadVars.getBytesLoaded()
LoadVars.getBytesTotal()
LoadVars.load()
LoadVars.loaded
LoadVars.onData
LoadVars.onLoad
LoadVars.send()
LoadVars.sendAndLoad()
LoadVars.toString()
LocalConnection.allowDomain
LocalConnection.allowInsecureDomain
LocalConnection.close()
LocalConnection.connect()
LocalConnection.domain()
LocalConnection.onStatus
LocalConnection.send()
Math.abs()
Math.acos()
Math.asin()
Math.atan()
Math.atan2()
Math.ceil()
Math.cos()
Math.E
Math.exp()
Math.floor()
Math.log()
Math.LN2
Math.LN10
Math.LOG2E
Math.LOG10E
Math.max()
Math.min()
Math.PI
Math.pow()
Math.random()
Math.round()
Math.sin()
Math.sqrt()
Math.SQRT1_2
Math.SQRT2
Math.tan()
Microphone.activityLevel
Microphone.gain
Microphone.get()
Microphone.index
Microphone.muted
Microphone.name
Microphone.names
Microphone.onActivity
Microphone.onStatus
Microphone.rate
Microphone.setGain()
Microphone.setRate()
Microphone.setSilenceLevel()
Microphone.setUseEchoSuppression()
Microphone.silenceLevel
Microphone.silenceTimeOut
Microphone.useEchoSuppression
Mouse.addListener()
Mouse.hide()
Mouse.onMouseDown
Mouse.onMouseMove
Mouse.onMouseUp
Mouse.onMouseWheel
Mouse.removeListener()
Mouse.show()
MovieClip._alpha
MovieClip.attachAudio()
MovieClip.attachMovie()
MovieClip.beginFill()
MovieClip.beginGradientFill()
MovieClip.clear()
MovieClip.createEmptyMovieClip()
MovieClip.createTextField()
MovieClip._currentframe
MovieClip.curveTo()
MovieClip._droptarget
MovieClip.duplicateMovieClip()
MovieClip.enabled
MovieClip.endFill()
MovieClip.focusEnabled
MovieClip._focusrect
MovieClip._framesloaded
MovieClip.getBounds()
MovieClip.getBytesLoaded()
MovieClip.getBytesTotal()
MovieClip.getDepth()
MovieClip.getInstanceAtDepth()
MovieClip.getNextHighestDepth()
MovieClip.getSWFVersion()
MovieClip.getTextSnapshot()
MovieClip.getURL()
MovieClip.globalToLocal()
MovieClip.gotoAndPlay()
MovieClip.gotoAndStop()
MovieClip._height
MovieClip.hitArea
MovieClip.hitTest()
MovieClip.lineStyle()
MovieClip.lineTo()
MovieClip.loadMovie()
MovieClip.loadVariables()
MovieClip.localToGlobal()
MovieClip._lockroot
MovieClip.menu
MovieClip.moveTo()
MovieClip._name
MovieClip.nextFrame()
MovieClip.onData
MovieClip.onDragOut
MovieClip.onDragOver
MovieClip.onEnterFrame
MovieClip.onKeyDown
MovieClip.onKeyUp
MovieClip.onKillFocus
MovieClip.onLoad
MovieClip.onMouseDown
MovieClip.onMouseMove
MovieClip.onMouseUp
MovieClip.onPress
MovieClip.onRelease
MovieClip.onReleaseOutside
MovieClip.onRollOut
MovieClip.onRollOver
MovieClip.onSetFocus
MovieClip.onUnload
MovieClip._parent
MovieClip.play()
MovieClip.prevFrame()
MovieClip._quality
MovieClip.removeMovieClip()
MovieClip._rotation
MovieClip.setMask()
MovieClip._soundbuftime
MovieClip.startDrag()
MovieClip.stop()
MovieClip.stopDrag()
MovieClip.swapDepths()
MovieClip.tabChildren
MovieClip.tabEnabled
MovieClip.tabIndex
MovieClip._target
MovieClip._totalframes
MovieClip.trackAsMenu
MovieClip.unloadMovie()
MovieClip._url
MovieClip.useHandCursor
MovieClip._visible
MovieClip._width
MovieClip._x
MovieClip._xmouse
MovieClip._xscale
MovieClip._y
MovieClip._ymouse
MovieClip._yscale
MovieClipLoader.addListener()
MovieClipLoader.getProgress()
MovieClipLoader.loadClip()
MovieClipLoader.onLoadComplete
MovieClipLoader.onLoadError
MovieClipLoader.onLoadInit
MovieClipLoader.onLoadProgress
MovieClipLoader.onLoadStart
MovieClipLoader.removeListener()
MovieClipLoader.unloadClip()
NetConnection.connect()
NetStream.bufferLength
NetStream.bufferTime
NetStream.bytesLoaded
NetStream.bytesTotal
NetStream.close()
NetStream.currentFps
NetStream.onStatus
NetStream.pause()
NetStream.play()
NetStream.seek()
NetStream.setBufferTime()
NetStream.time
Number.MAX_VALUE
Number.MIN_VALUE
Number.NaN
Number.NEGATIVE_INFINITY
Number.POSITIVE_INFINITY
Number.toString()
Number.valueOf()
Object.addProperty()
Object.constructor
Object.__proto__
Object.registerClass()
Object.__resolve
Object.toString()
Object.unwatch()
Object.valueOf()
Object.watch()
PrintJob.addPage()
PrintJob.send()
PrintJob.start()
Selection.addListener()
Selection.getBeginIndex()
Selection.getCaretIndex()
Selection.getEndIndex()
Selection.getFocus()
Selection.onSetFocus
Selection.removeListener()
Selection.setFocus()
Selection.setSelection()
SharedObject.clear()
SharedObject.data
SharedObject.flush()
SharedObject.getLocal()
SharedObject.getSize()
SharedObject.onStatus
Sound.attachSound()
Sound.duration
Sound.getBytesLoaded()
Sound.getBytesTotal()
Sound.getPan()
Sound.getTransform()
Sound.getVolume()
Sound.id3
Sound.loadSound()
Sound.onID3
Sound.onLoad
Sound.onSoundComplete
Sound.position
Sound.setPan()
Sound.setTransform()
Sound.setVolume()
Sound.start()
Sound.stop()
Stage.addListener()
Stage.align
Stage.height
Stage.onResize
Stage.removeListener()
Stage.scaleMode
Stage.showMenu
Stage.width
String.charAt()
String.charCodeAt()
String.concat()
String.fromCharCode()
String.indexOf()
String.lastIndexOf()
String.length
String.slice()
String.split()
String.substr()
String.substring()
String.toLowerCase()
String.toUpperCase()
System.capabilities.avHardwareDisable
System.capabilities.hasAccessibility
System.capabilities.hasAudio
System.capabilities.hasAudioEncoder
System.capabilities.hasEmbeddedVideo
System.capabilities.hasMP3
System.capabilities.hasPrinting
System.capabilities.hasScreenBroadcast
System.capabilities.hasScreenPlayback
System.capabilities.hasStreamingAudio
System.capabilities.hasStreamingVideo
System.capabilities.hasVideoEncoder
System.capabilities.isDebugger
System.capabilities.language
System.capabilities.localFileReadDisable
System.capabilities.manufacturer
System.capabilities.os
System.capabilities.pixelAspectRatio
System.capabilities.playerType
System.capabilities.screenColor
System.capabilities.screenDPI
System.capabilities.screenResolutionX
System.capabilities.screenResolutionY
System.capabilities.serverString
System.capabilities.version
System.security.allowDomain()
System.security.allowInsecureDomain()
System.security.loadPolicyFile()
System.exactSettings
System.onStatus
System.setClipboard()
System.showSettings()
System.useCodepage
TextField.StyleSheet.clear()
TextField.StyleSheet.getStyle()
TextField.StyleSheet.getStyleNames()
TextField.StyleSheet.load()
TextField.StyleSheet.onLoad
TextField.StyleSheet.parseCSS()
TextField.StyleSheet.setStyle()
TextField.StyleSheet.transform()
TextField.addListener()
TextField._alpha
TextField.autoSize
TextField.background
TextField.backgroundColor
TextField.border
TextField.borderColor
TextField.bottomScroll
TextField.condenseWhite
TextField.embedFonts
TextField.getDepth()
TextField.getFontList()
TextField.getNewTextFormat()
TextField.getTextFormat()
TextField._height
TextField.hscroll
TextField.html
TextField.htmlText
TextField.length
TextField.maxChars
TextField.maxhscroll
TextField.maxscroll
TextField.menu
TextField.mouseWheelEnabled
TextField.multiline
TextField._name
TextField.onChanged
TextField.onKillFocus
TextField.onScroller
TextField.onSetFocus
TextField._parent
TextField.password
TextField._quality
TextField.removeListener()
TextField.removeTextField()
TextField.replaceSel()
TextField.replaceText()
TextField.restrict
TextField._rotation
TextField.scroll
TextField.selectable
TextField.setNewTextFormat()
TextField.setTextFormat()
TextField.styleSheet
TextField.tabEnabled
TextField.tabIndex
TextField._target
TextField.text
TextField.textColor
TextField.textHeight
TextField.textWidth
TextField.type
TextField._url
TextField.variable
TextField._visible
TextField._width
TextField.wordWrap
TextField._x
TextField._xmouse
TextField._xscale
TextField._y
TextField._ymouse
TextField._yscale
TextFormat.align
TextFormat.blockIndent
TextFormat.bold
TextFormat.bullet
TextFormat.color
TextFormat.font
TextFormat.getTextExtent()
TextFormat.indent
TextFormat.italic
TextFormat.leading
TextFormat.leftMargin
TextFormat.rightMargin
TextFormat.size
TextFormat.tabStops
TextFormat.target
TextFormat.underline
TextFormat.url
TextSnapshot.findText()
TextSnapshot.getCount()
TextSnapshot.getSelected()
TextSnapshot.getSelectedText()
TextSnapshot.getText()
TextSnapshot.hitTestTextNearPos()
TextSnapshot.setSelectColor()
TextSnapshot.setSelected()
Video.attachVideo()
Video.clear()
Video.deblocking
Video.height
Video.smoothing
Video.width
XML.addRequestHeader()
XML.appendChild()
XML.attributes
XML.childNodes
XML.cloneNode()
XML.contentType
XML.createElement()
XML.createTextNode()
XML.docTypeDecl
XML.firstChild
XML.getBytesLoaded()
XML.getBytesTotal()
XML.hasChildNodes()
XML.ignoreWhite
XML.insertBefore()
XML.lastChild
XML.load()
XML.loaded
XML.nextSibling
XML.nodeName
XML.nodeType
XML.nodeValue
XML.onData
XML.onLoad
XML.parentNode
XML.parseXML()
XML.previousSibling
XML.removeNode()
XML.send()
XML.sendAndLoad()
XML.status
XML.toString()
XML.xmlDecl
XMLSocket.close()
XMLSocket.connect()
XMLSocket.onClose
XMLSocket.onConnect
XMLSocket.onData
XMLSocket.onXML
XMLSocket.send()
add
and
Button._highquality
call()
chr
eq (equal -- string specific)
ge (greater than or equal to -- string specific)
gt (greater than -- string specific)
_highquality
<> (inequality)
ifFrameLoaded
int
le (less than or equal to -- string specific)
length
lt (less than -- string specific)
maxscroll
mbchr
mblength
mbord
mbsubstring
MovieClip._highquality
ne (not equal -- string specific)
not
or
ord
random
scroll
substring
tellTarget
TextField._highquality
toggleHighQuality()
Using Components
Intended audience
System requirements
About the documentation
Typographical conventions
Terms used in this manual
Additional resources
Installing components
Where component files are stored
Benefits of using components
Categories of components
About version 2 component architecture
What's new in version 2 components
About compiled clips and SWC files
Accessibility and components
About working with components
About this tutorial
View the application
View the SWF file for the completed application
View the FLA file for the completed application
About data integration in the sample application
Build the application architecture
Add component instances for the main screen of the application
Create a movie clip with component instances to display product details
Add code to the ProductForm movie clip
Add components for the Checkout screen
About the Billing, Shipping, and Credit Card panes
Create movie clips for the Billing Information pane
Create movie clips for the Shipping Information pane
Create movie clips for the Credit Card Information pane
Bind components to display product information from an external source
Specify a schema for the XML data source
Bind the XMLConnector, DataSet, and DataGrid components
Add ActionScript to the main Timeline
Create references to component class names
Add an instance of the Cart class and initialize it
Set the data type of component instances
Use styles to customize component appearance
Add columns to the Gift Ideas section
Connect to a web service to populate the combo box
Load the external XML file listing product information
Add an event listener to filter the products displayed in the Gift Ideas section
Add an event listener to display product details
Add an event listener to the Checkout button
Add code for the Checkout screen
Test the application
The Components panel
Adding components to Flash documents
Components in the Library panel
Setting component parameters
Sizing components
Deleting components from Flash documents
Using code hints
Creating custom focus navigation
Managing component depth in a document
Components in Live Preview
About using a preloader with components
About loading components
Upgrading version 1 components to version 2 architecture
Using the on() event handler
Using listeners to handle events
Using listener objects
Using the handleEvent callback function
Using listener functions
About scope in listeners
Delegating events
About the event object
Using styles to customize component color and text
Supported styles
Setting styles on a component instance
Setting custom styles for groups of components
Setting styles for a component class
Setting inheriting styles on a container
Setting global styles
Using global, custom, and class styles in the same document
About color style properties
Customizing component animations
Getting style property values
About themes
Creating a new theme
Modifying default style property values in a theme
Applying a theme to a document
About skinning components
Editing component skins in a document
Creating new component skins
Linking skin color to styles
Applying new skins to a component
Applying new skins to a subcomponent
Changing skin properties in the prototype
Types of components
Other listings in this chapter
Accordion component (Flash Professional only)
Using the Accordion component (Flash Professional only)
Customizing the Accordion component (Flash Professional only)
Accordion class (Flash Professional only)
Accordion.change
Accordion.createChild()
Accordion.createSegment()
Accordion.destroyChildAt()
Accordion.getChildAt()
Accordion.numChildren
Accordion.selectedChild
Accordion.selectedIndex
Alert component (Flash Professional only)
Using the Alert component (Flash Professional only)
Customizing the Alert component (Flash Professional only)
Alert class (Flash Professional only)
Alert.buttonHeight
Alert.buttonWidth
Alert.CANCEL
Alert.cancelLabel
Alert.click
Alert.NO
Alert.noLabel
Alert.OK
Alert.okLabel
Alert.show()
Alert.YES
Alert.yesLabel
Button component
Using the Button component
Customizing the Button component
Button class
Button.icon
Button.label
Button.labelPlacement
CellRenderer API
Understanding the List class
Using the CellRenderer API
CellRenderer.getCellIndex()
CellRenderer.getDataLabel()
CellRenderer.getPreferredHeight()
CellRenderer.getPreferredWidth()
CellRenderer.listOwner
CellRenderer.owner
CellRenderer.setSize()
CellRenderer.setValue()
CheckBox component
Using the CheckBox component
Customizing the CheckBox component
CheckBox class
CheckBox.click
CheckBox.label
CheckBox.labelPlacement
CheckBox.selected
Collection interface (Flash Professional only)
Collection.addItem()
Collection.contains()
Collection.clear()
Collection.getItemAt()
Collection.getIterator()
Collection.getLength()
Collection.isEmpty()
Collection.removeItem()
ComboBox component
Using the ComboBox component
Customizing the ComboBox component
ComboBox class
ComboBox.addItem()
ComboBox.addItemAt()
ComboBox.change
ComboBox.close()
ComboBox.close
ComboBox.dataProvider
ComboBox.dropdown
ComboBox.dropdownWidth
ComboBox.editable
ComboBox.enter
ComboBox.getItemAt()
ComboBox.itemRollOut
ComboBox.itemRollOver
ComboBox.labelField
ComboBox.labelFunction
ComboBox.length
ComboBox.open()
ComboBox.open
ComboBox.removeAll()
ComboBox.removeItemAt()
ComboBox.replaceItemAt()
ComboBox.restrict
ComboBox.rowCount
ComboBox.scroll
ComboBox.selectedIndex
ComboBox.selectedItem
ComboBox.sortItems()
ComboBox.sortItemsBy()
ComboBox.text
ComboBox.textField
ComboBox.value
Data binding classes (Flash Professional only)
Making data binding classes available at runtime (Flash Professional only)
Classes in the mx.data.binding package (Flash Professional only)
Binding class (Flash Professional only)
Binding.execute()
CustomFormatter class (Flash Professional only)
CustomFormatter.format()
CustomFormatter.unformat()
CustomValidator class (Flash Professional only)
CustomValidator.validate()
CustomValidator.validationError()
EndPoint class (Flash Professional only)
EndPoint.component
EndPoint.constant
EndPoint.event
EndPoint.location
EndPoint.property
ComponentMixins class (Flash Professional only)
ComponentMixins.getField()
ComponentMixins.initComponent()
ComponentMixins.refreshDestinations()
ComponentMixins.refreshFromSources()
ComponentMixins.validateProperty()
DataType class (Flash Professional only)
DataType.encoder
DataType.formatter
DataType.getAnyTypedValue()
DataType.getAsBoolean()
DataType.getAsNumber()
DataType.getAsString()
DataType.getTypedValue()
DataType.kind
DataType.setAnyTypedValue()
DataType.setAsBoolean()
DataType.setAsNumber()
DataType.setAsString()
DataType.setTypedValue()
TypedValue class (Flash Professional only)
TypedValue.type
TypedValue.typeName
TypedValue.value
DataGrid component (Flash Professional only)
Interacting with the DataGrid component (Flash Professional only)
Using the DataGrid component (Flash Professional only)
Customizing the DataGrid component (Flash Professional only)
DataGrid class (Flash Professional only)
DataGrid.addColumn()
DataGrid.addColumnAt()
DataGrid.addItem()
DataGrid.addItemAt()
DataGrid.cellEdit
DataGrid.cellFocusIn
DataGrid.cellFocusOut
DataGrid.cellPress
DataGrid.change
DataGrid.columnCount
DataGrid.columnNames
DataGrid.columnStretch
DataGrid.dataProvider
DataGrid.editable
DataGrid.editField()
DataGrid.focusedCell
DataGrid.getColumnAt()
DataGrid.getColumnIndex()
DataGrid.headerHeight
DataGrid.headerRelease
DataGrid.hScrollPolicy
DataGrid.removeAllColumns()
DataGrid.removeColumnAt()
DataGrid.replaceItemAt()
DataGrid.resizableColumns
DataGrid.selectable
DataGrid.showHeaders
DataGrid.sortableColumns
DataGrid.spaceColumnsEqually()
DataGridColumn class (Flash Professional only)
DataGridColumn.cellRenderer
DataGridColumn.columnName
DataGridColumn.editable
DataGridColumn.headerRenderer
DataGridColumn.headerText
DataGridColumn.labelFunction
DataGridColumn.resizable
DataGridColumn.sortable
DataGridColumn.sortOnHeaderRelease
DataGridColumn.width
DataHolder component (Flash Professional only)
Creating an application with the DataHolder component (Flash Professional only)
DataHolder class
DataHolder.data
DataProvider API
DataProvider.addItem()
DataProvider.addItemAt()
DataProvider.editField()
DataProvider.getEditingData()
DataProvider.getItemAt()
DataProvider.getItemID()
DataProvider.length
DataProvider.modelChanged
DataProvider.removeAll()
DataProvider.removeItemAt()
DataProvider.replaceItemAt()
DataProvider.sortItems()
DataProvider.sortItemsBy()
DataSet component (Flash Professional only)
Using the DataSet component
DataSet class (Flash Professional only)
DataSet.addItem
DataSet.addItem()
DataSet.addItemAt()
DataSet.addSort()
DataSet.afterLoaded
DataSet.applyUpdates()
DataSet.calcFields
DataSet.changesPending()
DataSet.clear()
DataSet.createItem()
DataSet.currentItem
DataSet.dataProvider
DataSet.deltaPacket
DataSet.deltaPacketChanged
DataSet.disableEvents()
DataSet.enableEvents()
DataSet.filtered
DataSet.filterFunc
DataSet.find()
DataSet.findFirst()
DataSet.findLast()
DataSet.first()
DataSet.getItemId()
DataSet.getIterator()
DataSet.getLength()
DataSet.hasNext()
DataSet.hasPrevious()
DataSet.hasSort()
DataSet.isEmpty()
DataSet.items
DataSet.itemClassName
DataSet.iteratorScrolled
DataSet.last()
DataSet.length
DataSet.loadFromSharedObj()
DataSet.locateById()
DataSet.logChanges
DataSet.modelChanged
DataSet.newItem
DataSet.next()
DataSet.previous()
DataSet.properties
DataSet.readOnly
DataSet.removeAll()
DataSet.removeItem
DataSet.removeItem()
DataSet.removeItemAt()
DataSet.removeRange()
DataSet.removeSort()
DataSet.resolveDelta
DataSet.saveToSharedObj()
DataSet.schema
DataSet.selectedIndex
DataSet.setIterator()
DataSet.setRange()
DataSet.skip()
DataSet.useSort()
DateChooser component (Flash Professional only)
Using the DateChooser component (Flash Professional only)
Customizing the DateChooser component (Flash Professional only)
DateChooser class (Flash Professional only)
DateChooser.change
DateChooser.dayNames
DateChooser.disabledDays
DateChooser.disabledRanges
DateChooser.displayedMonth
DateChooser.displayedYear
DateChooser.firstDayOfWeek
DateChooser.monthNames
DateChooser.scroll
DateChooser.selectableRange
DateChooser.selectedDate
DateChooser.showToday
DateField component (Flash Professional only)
Using the DateField component (Flash Professional only)
Customizing the DateField component (Flash Professional only)
DateField class (Flash Professional only)
DateField.change
DateField.close()
DateField.close
DateField.dateFormatter
DateField.dayNames
DateField.disabledDays
DateField.disabledRanges
DateField.displayedMonth
DateField.displayedYear
DateField.firstDayOfWeek
DateField.monthNames
DateField.open()
DateField.open
DateField.pullDown
DateField.scroll
DateField.selectableRange
DateField.selectedDate
DateField.showToday
Delegate class
Delegate.create()
Delta interface (Flash Professional only)
Delta.addDeltaItem()
Delta.getChangeList()
Delta.getDeltaPacket()
Delta.getId()
Delta.getItemByName()
Delta.getMessage()
Delta.getOperation()
Delta.getSource()
DeltaItem class (Flash Professional only)
DeltaItem.argList
DeltaItem.curValue
DeltaItem.delta
DeltaItem.kind
DeltaItem.message
DeltaItem.name
DeltaItem.newValue
DeltaItem.oldValue
DeltaPacket interface (Flash Professional only)
DeltaPacket.getConfigInfo()
DeltaPacket.getIterator()
DeltaPacket.getSource()
DeltaPacket.getTimestamp()
DeltaPacket.getTransactionId()
DeltaPacket.logChanges()
DepthManager class
DepthManager.createChildAtDepth()
DepthManager.createClassChildAtDepth()
DepthManager.createClassObjectAtDepth()
DepthManager.createObjectAtDepth()
DepthManager.kBottom
DepthManager.kCursor
DepthManager.kNotopmost
DepthManager.kTooltip
DepthManager.kTop
DepthManager.kTopmost
DepthManager.setDepthAbove()
DepthManager.setDepthBelow()
DepthManager.setDepthTo()
EventDispatcher class
Event objects
EventDispatcher class (API)
EventDispatcher.addEventListener()
EventDispatcher.dispatchEvent()
EventDispatcher.removeEventListener()
FocusManager class
Using the Focus Manager
Customizing the Focus Manager
FocusManager class (API)
FocusManager.defaultPushButton
FocusManager.defaultPushButtonEnabled
FocusManager.enabled
FocusManager.getFocus()
FocusManager.nextTabIndex
FocusManager.sendDefaultPushButtonEvent()
FocusManager.setFocus()
Form class (Flash Professional only)
Using the Form class (Flash Professional only)
Form class (Flash Professional only)
Form.currentFocusedForm
Form.getChildForm()
Form.indexInParentForm
Form.numChildForms
Form.parentIsForm
Form.parentForm
Form.rootForm
Form.visible
Iterator interface (Flash Professional only)
Iterator.hasNext()
Iterator.next()
Label component
Using the label component
Customizing the Label component
Label class
Label.autoSize
Label.html
Label.text
List component
Using the List component
Customizing the List component
List class
List.addItem()
List.addItemAt()
List.cellRenderer
List.change
List.dataProvider
List.getItemAt()
List.hPosition
List.hScrollPolicy
List.iconField
List.iconFunction
List.itemRollOut
List.itemRollOver
List.labelField
List.labelFunction
List.length
List.maxHPosition
List.multipleSelection
List.removeAll()
List.removeItemAt()
List.replaceItemAt()
List.rowCount
List.rowHeight
List.scroll
List.selectable
List.selectedIndex
List.selectedIndices
List.selectedItem
List.selectedItems
List.setPropertiesAt()
List.sortItems()
List.sortItemsBy()
List.vPosition
List.vScrollPolicy
Loader component
Using the Loader component
Customizing the Loader component
Loader class
Loader.autoLoad
Loader.bytesLoaded
Loader.bytesTotal
Loader.complete
Loader.content
Loader.contentPath
Loader.load()
Loader.percentLoaded
Loader.progress
Loader.scaleContent
Media components (Flash Professional only)
Interacting with media components (Flash Professional only)
Understanding media components (Flash Professional only)
Using media components (Flash Professional only)
Media component parameters (Flash Professional only)
Creating applications with media components (Flash Professional only)
Customizing media components (Flash Professional only)
Media class (Flash Professional only)
Media.activePlayControl
Media.addCuePoint()
Media.aspectRatio
Media.associateController()
Media.associateDisplay()
Media.autoPlay
Media.autoSize
Media.backgroundStyle
Media.bytesLoaded
Media.bytesTotal
Media.change
Media.click
Media.complete
Media.contentPath
Media.controllerPolicy
Media.controlPlacement
Media.cuePoint
Media.cuePoints
Media.displayFull()
Media.displayNormal()
Media.getCuePoint()
Media.horizontal
Media.mediaType
Media.pause()
Media.play()
Media.playheadChange
Media.playheadTime
Media.playing
Media.preferredHeight
Media.preferredWidth
Media.progress
Media.removeAllCuePoints()
Media.removeCuePoint()
Media.setMedia()
Media.stop()
Media.totalTime
Media.volume
Media.volume
Menu component (Flash Professional only)
Interacting with the Menu component (Flash Professional only)
Using the Menu component (Flash Professional only)
About menu item types (Flash Professional only)
About initialization object properties (Flash Professional only)
Menu parameters (Flash Professional only)
Creating an application with the Menu component (Flash Professional only)
Customizing the Menu component (Flash Professional only)
Menu class (Flash Professional only)
Menu.addMenuItem()
Menu.addMenuItemAt()
Menu.change
Menu.createMenu()
Menu.dataProvider
Menu.getMenuItemAt()
Menu.hide()
Menu.indexOf()
Menu.menuHide
Menu.menuShow
Menu.removeAll()
Menu.removeMenuItem()
Menu.removeMenuItemAt()
Menu.rollOut
Menu.rollOver
Menu.setMenuItemEnabled()
Menu.setMenuItemSelected()
Menu.show()
MenuDataProvider class
MenuDataProvider.addMenuItem()
MenuDataProvider.addMenuItemAt()
MenuDataProvider.getMenuItemAt()
MenuDataProvider.indexOf()
MenuDataProvider.removeMenuItem()
MenuDataProvider.removeMenuItemAt()
MenuBar component (Flash Professional only)
Interacting with the MenuBar component (Flash Professional only)
Using the MenuBar component (Flash Professional only)
Customizing the MenuBar component (Flash Professional only)
MenuBar class (Flash Professional only)
MenuBar.addMenu()
MenuBar.addMenuAt()
MenuBar.dataProvider
MenuBar.getMenuAt()
MenuBar.getMenuEnabledAt()
MenuBar.labelField
MenuBar.labelFunction
MenuBar.removeMenuAt()
MenuBar.setMenuEnabledAt()
NumericStepper component
Using the NumericStepper component
Customizing the NumericStepper component
NumericStepper class
NumericStepper.change
NumericStepper.maximum
NumericStepper.minimum
NumericStepper.nextValue
NumericStepper.previousValue
NumericStepper.stepSize
NumericStepper.value
PopUpManager class
PopUpManager.createPopUp()
PopUpManager.deletePopUp()
ProgressBar component
Using the ProgressBar component
Customizing the ProgressBar component
ProgressBar class
ProgressBar.complete
ProgressBar.conversion
ProgressBar.direction
ProgressBar.indeterminate
ProgressBar.label
ProgressBar.labelPlacement
ProgressBar.maximum
ProgressBar.minimum
ProgressBar.mode
ProgressBar.percentComplete
ProgressBar.progress
ProgressBar.setProgress()
ProgressBar.source
ProgressBar.value
RadioButton component
Using the RadioButton component
Customizing the RadioButton component
RadioButton class
RadioButton.click
RadioButton.data
RadioButton.groupName
RadioButton.label
RadioButton.labelPlacement
RadioButton.selected
RadioButton.selectedData
RadioButton.selection
RadioButtonGroup component
RDBMSResolver component (Flash Professional only)
Using the RDBMSResolver component (Flash Professional only)
RDBMSResolver class (Flash Professional only)
RDBMSResolver.addFieldInfo()
RDBMSResolver.beforeApplyUpdates
RDBMSResolver.deltaPacket
RDBMSResolver.fieldInfo
RDBMSResolver.nullValue
RDBMSResolver.reconcileResults
RDBMSResolver.reconcileUpdates
RDBMSResolver.tableName
RDBMSResolver.updateMode
RDBMSResolver.updatePacket
RDBMSResolver.updateResults
RectBorder class
Using styles with the RectBorder class
Creating a custom RectBorder implementation
Screen class (Flash Professional only)
Loading external content into screens (Flash Professional only)
Screen class (API) (Flash Professional only)
Screen.allTransitionsInDone
Screen.allTransitionsOutDone
Screen.currentFocusedScreen
Screen.getChildScreen()
Screen.indexInParent
Screen.mouseDown
Screen.mouseDownSomewhere
Screen.mouseMove
Screen.mouseOut
Screen.mouseOver
Screen.mouseUp
Screen.mouseUpSomewhere
Screen.numChildScreens
Screen.parentIsScreen
Screen.parentScreen
Screen.rootScreen
ScrollPane component
Using the ScrollPane component
Customizing the ScrollPane component
ScrollPane class
ScrollPane.complete
ScrollPane.content
ScrollPane.contentPath
ScrollPane.getBytesLoaded()
ScrollPane.getBytesTotal()
ScrollPane.hLineScrollSize
ScrollPane.hPageScrollSize
ScrollPane.hPosition
ScrollPane.hScrollPolicy
ScrollPane.progress
ScrollPane.refreshPane()
ScrollPane.scroll
ScrollPane.scrollDrag
ScrollPane.vLineScrollSize
ScrollPane.vPageScrollSize
ScrollPane.vPosition
ScrollPane.vScrollPolicy
SimpleButton class
SimpleButton.click
SimpleButton.emphasized
SimpleButton.emphasizedStyleDeclaration
SimpleButton.selected
SimpleButton.toggle
Slide class (Flash Professional only)
Using the Slide class (Flash Professional only)
Slide class (API) (Flash Professional only)
Slide.autoKeyNav
Slide.currentChildSlide
Slide.currentFocusedSlide
Slide.currentSlide
Slide.defaultKeydownHandler
Slide.firstSlide
Slide.getChildSlide()
Slide.gotoFirstSlide()
Slide.gotoLastSlide()
Slide.gotoNextSlide()
Slide.gotoPreviousSlide()
Slide.gotoSlide()
Slide.hideChild
Slide.indexInParentSlide
Slide.lastSlide
Slide.nextSlide
Slide.numChildSlides
Slide.overlayChildren
Slide.parentIsSlide
Slide.playHidden
Slide.previousSlide
Slide.revealChild
Slide.rootSlide
StyleManager class
StyleManager.registerColorName()
StyleManager.registerColorStyle()
StyleManager.registerInheritingStyle()
SystemManager class
SystemManager.screen
TextArea component
Using the TextArea component
Customizing the TextArea component
TextArea class
TextArea.change
TextArea.editable
TextArea.hPosition
TextArea.hScrollPolicy
TextArea.html
TextArea.length
TextArea.maxChars
TextArea.maxHPosition
TextArea.maxVPosition
TextArea.password
TextArea.restrict
TextArea.styleSheet
TextArea.text
TextArea.vPosition
TextArea.vScrollPolicy
TextArea.wordWrap
TextInput component
Using the TextInput component
Customizing the TextInput component
TextInput class
TextInput.change
TextInput.editable
TextInput.enter
TextInput.hPosition
TextInput.length
TextInput.maxChars
TextInput.maxHPosition
TextInput.password
TextInput.restrict
TextInput.text
TransferObject interface
TransferObject.clone()
TransferObject.getPropertyData()
TransferObject.setPropertyData()
Tree component (Flash Professional only)
Using the Tree component (Flash Professional only)
Customizing the Tree component (Flash Professional only)
Tree class (Flash Professional only)
Tree.addTreeNode()
Tree.addTreeNodeAt()
Tree.dataProvider
Tree.firstVisibleNode
Tree.getDisplayIndex()
Tree.getIsBranch()
Tree.getIsOpen()
Tree.getNodeDisplayedAt()
Tree.getTreeNodeAt()
Tree.nodeClose
Tree.nodeOpen
Tree.refresh()
Tree.removeAll()
Tree.removeTreeNodeAt()
Tree.selectedNode
Tree.selectedNodes
Tree.setIcon()
Tree.setIsBranch()
Tree.setIsOpen()
TreeDataProvider interface (Flash Professional only)
TreeDataProvider.addTreeNode()
TreeDataProvider.addTreeNodeAt()
TreeDataProvider.attributes.data
TreeDataProvider.attributes.label
TreeDataProvider.getTreeNodeAt()
TreeDataProvider.removeTreeNode()
TreeDataProvider.removeTreeNodeAt()
UIComponent class
UIComponent class (API)
UIComponent.enabled
UIComponent.focusIn
UIComponent.focusOut
UIComponent.getFocus()
UIComponent.keyDown
UIComponent.keyUp
UIComponent.setFocus()
UIComponent.tabIndex
UIEventDispatcher class
UIEventDispatcher.keyDown
UIEventDispatcher.keyUp
UIEventDispatcher.load
UIEventDispatcher.mouseDown
UIEventDispatcher.mouseOut
UIEventDispatcher.mouseOver
UIEventDispatcher.mouseUp
UIEventDispatcher.removeEventListener()
UIEventDispatcher.unload
UIObject class
UIObject.bottom
UIObject.createClassObject()
UIObject.createObject()
UIObject.destroyObject()
UIObject.doLater()
UIObject.draw
UIObject.getStyle()
UIObject.height
UIObject.hide
UIObject.invalidate()
UIObject.left
UIObject.load
UIObject.move
UIObject.move()
UIObject.redraw()
UIObject.resize
UIObject.reveal
UIObject.right
UIObject.scaleX
UIObject.scaleY
UIObject.setSize()
UIObject.setSkin()
UIObject.setStyle()
UIObject.top
UIObject.unload
UIObject.visible
UIObject.width
UIObject.x
UIObject.y
UIScrollBar component
Using the UIScrollBar component
Customizing the UIScrollBar component
UIScrollBar class
UIScrollBar.horizontal
UIScrollBar.lineScrollSize
UIScrollBar.pageScrollSize
UIScrollBar.scroll
UIScrollBar.scrollPosition
UIScrollBar.setScrollProperties()
UIScrollBar.setScrollTarget()
UIScrollBar._targetInstanceName
Web service classes (Flash Professional only)
Making web service classes available at runtime (Flash Professional only)
Log class (Flash Professional only)
Log.onLog()
PendingCall class (Flash Professional only)
PendingCall.getOutputParameter()
PendingCall.getOutputParameterByName()
PendingCall.getOutputParameters()
PendingCall.getOutputValue()
PendingCall.getOutputValues()
PendingCall.myCall
PendingCall.onFault
PendingCall.onResult
PendingCall.request
PendingCall.response
SOAPCall class (Flash Professional only)
SOAPCall.concurrency
SOAPCall.doDecoding
SOAPCall.doLazyDecoding
WebService class (Flash Professional only)
Supported types (Flash Professional only)
WebService security (Flash Professional only)
Constructor for the WebService class
WebService.getCall()
WebService.myMethodName()
WebService.onFault
WebService.onLoad
WebServiceConnector component (Flash Professional only)
Using the WebServiceConnector component (Flash Professional only)
WebServiceConnector class (Flash Professional only)
WebServiceConnector.multipleSimultaneousAllowed
WebServiceConnector.operation
WebServiceConnector.params
WebServiceConnector.result
WebServiceConnector.results
WebServiceConnector.send
WebServiceConnector.status
WebServiceConnector.suppressInvalidCalls
WebServiceConnector.timeout
WebServiceConnector.trigger()
WebServiceConnector.WSDLURL
Window component
Using the Window component
Customizing the Window component
Window class
Window.click
Window.closeButton
Window.complete
Window.content
Window.contentPath
Window.deletePopUp()
Window.mouseDownOutside
Window.title
Window.titleStyleDeclaration
XMLConnector component (Flash Professional only)
Using the XMLConnector component (Flash Professional only)
XMLConnector class (Flash Professional only)
XMLConnector.direction
XMLConnector.ignorewhite
XMLConnector.multipleSimultaneousAllowed
XMLConnector.params
XMLConnector.result
XMLConnector.results
XMLConnector.send
XMLConnector.status
XMLConnector.suppressInvalidCalls
XMLConnector.trigger()
XMLConnector.URL
XUpdateResolver component (Flash Professional only)
Using the XUpdateResolver component (Flash Professional only)
XUpdateResolver class (Flash Professional only)
XUpdateResolver.beforeApplyUpdates
XUpdateResolver.deltaPacket
XUpdateResolver.includeDeltaPacketInfo
XUpdateResolver.reconcileResults
XUpdateResolver.updateResults
XUpdateResolver.xupdatePacket
Component source files
What's new in version 2 components
Overview of component structure
Building your first component
Creating the Dial Flash (FLA) file
Creating the Dial class file
Testing and exporting the Dial component
Selecting a parent class
Creating a component movie clip
Creating the ActionScript class file
Importing classes
Defining the class and its superclass
Identifying the class, symbol, and owner names
Defining variables
Using getter/setter methods to define parameters
Adding component metadata
Defining component parameters
Defining core functions
Dispatching events
About assigning skins
About styles
Exporting and distributing a component
Understanding SWC files
Exporting SWC files
Importing component SWC files into Flash
Adding the finishing touches
Component development checklist
Defining a collection property
Simple collection example
Defining the class for a collection item
Accessing collection information programmatically
Accessing collection information in a component class (AS) file
Accessing collection items at runtime in a Flash application
Exporting components that have collections to SWC files
Using a component that has a collection property
JavaScript Dictionary
Overview of the Macromedia Flash JavaScript API
The Flash Document Object Model
The Document object
Specifying the target of an action
Summary of the DOM structure
The PolyStar example
activate()
configureEffect()
configureTool()
deactivate()
executeEffect()
keyDown()
keyUp()
mouseDoubleClick()
mouseDown()
mouseMove()
mouseUp()
notifySettingsChanged()
removeEffect()
setCursor()
BitmapInstance object
bitmapInstance.getBits()
bitmapInstance.hPixels
bitmapInstance.setBits()
bitmapInstance.vPixels
BitmapItem object
bitmapItem.allowSmoothing
bitmapItem.compressionType
bitmapItem.quality
bitmapItem.useImportedJPEGQuality
CompiledClipInstance object
compiledClipInstance.accName
compiledClipInstance.actionScript
compiledClipInstance.description
compiledClipInstance.forceSimple
compiledClipInstance.shortcut
compiledClipInstance.silent
compiledClipInstance.tabIndex
ComponentInstance object
componentInstance.parameters
componentsPanel object
componentsPanel.addItemToDocument()
Contour object
contour.getHalfEdge()
contour.interior
contour.orientation
Document object
document.accName
document.addDataToDocument()
document.addDataToSelection()
document.addItem()
document.addNewLine()
document.addNewOval()
document.addNewPublishProfile()
document.addNewRectangle()
document.addNewScene()
document.addNewText()
document.align()
document.allowScreens()
document.arrange()
document.autoLabel
document.backgroundColor
document.breakApart()
document.canEditSymbol()
document.canRevert()
document.canTestMovie()
document.canTestScene()
document.clipCopy()
document.clipCut()
document.clipPaste()
document.close()
document.convertLinesToFills()
document.convertToSymbol()
document.currentPublishProfile
document.currentTimeline
document.deletePublishProfile()
document.deleteScene()
document.deleteSelection()
document.description
document.distribute()
document.distributeToLayers()
document.documentHasData()
document.duplicatePublishProfile()
document.duplicateScene()
document.duplicateSelection()
document.editScene()
document.enterEditMode()
document.exitEditMode()
document.exportPublishProfile()
document.exportSWF()
document.forceSimple
document.frameRate
document.getAlignToDocument()
document.getCustomFill()
document.getCustomStroke()
document.getDataFromDocument()
document.getElementProperty()
document.getElementTextAttr()
document.getSelectionRect()
document.getTextString()
document.getTimeline()
document.getTransformationPoint()
document.group()
document.height
document.importPublishProfile()
document.importSWF()
document.library
document.livePreview
document.match()
document.mouseClick()
document.mouseDblClk()
document.moveSelectedBezierPointsBy()
document.moveSelectionBy()
document.name
document.optimizeCurves()
document.path
document.publish()
document.publishProfiles
document.removeDataFromDocument()
document.removeDataFromSelection()
document.renamePublishProfile()
document.renameScene()
document.reorderScene()
document.resetTransformation()
document.revert()
document.rotateSelection()
document.save()
document.saveAndCompact()
document.scaleSelection()
document.screenOutline
document.selectAll()
document.selection
document.selectNone()
document.setAlignToDocument()
document.setCustomFill()
document.setCustomStroke()
document.setElementProperty()
document.setElementTextAttr()
document.setFillColor()
document.setInstanceAlpha()
document.setInstanceBrightness()
document.setInstanceTint()
document.setSelectionBounds()
document.setSelectionRect()
document.setStroke()
document.setStrokeColor()
document.setStrokeSize()
document.setStrokeStyle()
document.setTextRectangle()
document.setTextSelection()
document.setTextString()
document.setTransformationPoint()
document.silent
document.skewSelection()
document.smoothSelection()
document.space()
document.straightenSelection()
document.swapElement()
document.testMovie()
document.testScene()
document.timelines
document.traceBitmap()
document.transformSelection()
document.unGroup()
document.unlockAllElements()
document.viewMatrix
document.width
document.xmlPanel()
drawingLayer object
drawingLayer.beginDraw()
drawingLayer.beginFrame()
drawingLayer.cubicCurveTo()
drawingLayer.curveTo()
drawingLayer.drawPath()
drawingLayer.endDraw()
drawingLayer.endFrame()
drawingLayer.lineTo()
drawingLayer.moveTo()
drawingLayer.newPath()
drawingLayer.setColor()
Edge object
edge.getControl()
edge.getHalfEdge()
edge.id
edge.isLine
edge.setControl()
edge.splitEdge()
Effect object
effect.effectName
effect.groupName
effect.sourceFile
effect.symbolType
effect.useXMLToUI
Element object
element.depth
element.elementType
element.getPersistentData()
element.hasPersistentData()
element.height
element.left
element.locked
element.matrix
element.name
element.removePersistentData()
element.setPersistentData()
element.top
element.width
EmbeddedVideoInstance object
Fill object
fill.color
fill.colorArray
fill.matrix
fill.posArray
fill.style
flash object
fl.activeEffect
fl.browseForFileURL()
fl.closeAll()
fl.closeDocument()
fl.componentsPanel
fl.configDirectory
fl.configURI
fl.createDocument()
fl.createNewDocList
fl.createNewDocListType
fl.createNewTemplateList
fl.documents
fl.drawingLayer
fl.effects
fl.enableImmediateUpdates()
fl.fileExists()
fl.findDocumentIndex()
fl.getDocumentDOM()
fl.mapPlayerURL()
fl.Math
fl.mruRecentFileList
fl.mruRecentFileListType
fl.openDocument()
fl.openProject()
fl.openScript()
fl.outputPanel
fl.quit()
fl.reloadEffects()
fl.reloadTools()
fl.revertDocument()
fl.runScript()
fl.saveAll()
fl.saveDocument()
fl.saveDocumentAs()
fl.setActiveWindow()
fl.tools
fl.trace()
fl.version
fl.xmlui
folderItem object
fontItem object
Frame object
frame.actionScript
frame.duration
frame.elements
frame.labelType
frame.motionTweenOrientToPath
frame.motionTweenRotate
frame.motionTweenRotateTimes
frame.motionTweenScale
frame.motionTweenSnap
frame.motionTweenSync
frame.name
frame.shapeTweenBlend
frame.soundEffect
frame.soundLibraryItem
frame.soundLoop
frame.soundLoopMode
frame.soundName
frame.soundSync
frame.startFrame
frame.tweenEasing
frame.tweenType
HalfEdge object
halfEdge.getEdge()
halfEdge.getNext()
halfEdge.getOppositeHalfEdge()
halfEdge.getPrev()
halfEdge.getVertex()
halfEdge.id
Instance object
instance.instanceType
instance.libraryItem
Item object
item.addData()
item.getData()
item.hasData()
item.itemType
item.linkageClassName
item.linkageExportForAS
item.linkageExportForRS
item.linkageExportInFirstFrame
item.linkageIdentifier
item.linkageImportForRS
item.linkageURL
item.name
item.removeData()
Layer object
layer.color
layer.frameCount
layer.frames
layer.height
layer.layerType
layer.locked
layer.name
layer.outline
layer.parentLayer
layer.visible
library object
library.addItemToDocument()
library.addNewItem()
library.deleteItem()
library.duplicateItem()
library.editItem()
library.expandFolder()
library.findItemIndex()
library.getItemProperty()
library.getItemType()
library.getSelectedItems()
library.importEmbeddedSWF()
library.itemExists()
library.items
library.moveToFolder()
library.newFolder()
library.renameItem()
library.selectAll()
library.selectItem()
library.selectNone()
library.setItemProperty()
library.updateItem()
LinkedVideoInstance object
Math object
Math.concatMatrix()
Math.invertMatrix()
Math.pointDistance()
Matrix object
matrix.a
matrix.b
matrix.c
matrix.d
matrix.tx
matrix.ty
outputPanel object
outputPanel.clear()
outputPanel.save()
outputPanel.trace()
Parameter object
parameter.category
parameter.insertItem()
parameter.listIndex
parameter.name
parameter.removeItem()
parameter.value
parameter.valueType
parameter.verbose
Path object
path.addCubicCurve()
path.addCurve()
path.addPoint()
path.clear()
path.close()
path.makeShape()
path.newContour()
path.nPts
Screen object
screen.accName
screen.childScreens
screen.description
screen.forceSimple
screen.hidden
screen.instanceName
screen.name
screen.nextScreen
screen.parameters
screen.parentScreen
screen.prevScreen
screen.silent
screen.tabIndex
screen.timeline
ScreenOutline object
screenOutline.copyScreenFromFile()
screenOutline.currentScreen
screenOutline.deleteScreen()
screenOutline.duplicateScreen()
screenOutline.getSelectedScreens()
screenOutline.insertNestedScreen()
screenOutline.insertScreen()
screenOutline.moveScreen()
screenOutline.renameScreen()
screenOutline.rootScreen
screenOutline.screens
screenOutline.setCurrentScreen()
screenOutline.setScreenProperty()
screenOutline.setSelectedScreens()
Shape object
shape.beginEdit()
shape.contours
shape.deleteEdge()
shape.edges
shape.endEdit()
shape.isGroup
shape.vertices
SoundItem object
soundItem.bitRate
soundItem.bits
soundItem.compressionType
soundItem.convertStereoToMono
soundItem.quality
soundItem.sampleRate
soundItem.useImportedMP3Quality
Stroke object
stroke.breakAtCorners
stroke.color
stroke.curve
stroke.dash1
stroke.dash2
stroke.density
stroke.dotSize
stroke.dotSpace
stroke.hatchThickness
stroke.jiggle
stroke.length
stroke.pattern
stroke.rotate
stroke.space
stroke.style
stroke.thickness
stroke.variation
stroke.waveHeight
stroke.waveLength
SymbolInstance object
symbolInstance.accName
symbolInstance.actionScript
symbolInstance.buttonTracking
symbolInstance.colorAlphaAmount
symbolInstance.colorAlphaPercent
symbolInstance.colorBlueAmount
symbolInstance.colorBluePercent
symbolInstance.colorGreenAmount
symbolInstance.colorGreenPercent
symbolInstance.colorMode
symbolInstance.colorRedAmount
symbolInstance.colorRedPercent
symbolInstance.description
symbolInstance.firstFrame
symbolInstance.forceSimple
symbolInstance.loop
symbolInstance.shortcut
symbolInstance.silent
symbolInstance.symbolType
symbolInstance.tabIndex
SymbolItem object
symbolItem.convertToCompiledClip()
symbolItem.exportSWC()
symbolItem.exportSWF()
symbolItem.sourceAutoUpdate
symbolItem.sourceFilePath
symbolItem.sourceLibraryName
symbolItem.symbolType
symbolItem.timeline
TextAttrs object
textAttrs.aliasText
textAttrs.alignment
textAttrs.autoKern
textAttrs.bold
textAttrs.characterPosition
textAttrs.characterSpacing
textAttrs.face
textAttrs.fillColor
textAttrs.indent
textAttrs.italic
textAttrs.leftMargin
textAttrs.lineSpacing
textAttrs.rightMargin
textAttrs.rotation
textAttrs.size
textAttrs.target
textAttrs.url
Text object
text.accName
text.autoExpand
text.border
text.description
text.embeddedCharacters
text.embedRanges
text.getTextAttr()
text.getTextString()
text.length
text.lineType
text.maxCharacters
text.orientation
text.renderAsHTML
text.scrollable
text.selectable
text.selectionEnd
text.selectionStart
text.setTextAttr()
text.setTextString()
text.shortcut
text.silent
text.tabIndex
text.textRuns
text.textType
text.useDeviceFonts
text.variableName
TextRun object
textRun.characters
textRun.textAttrs
Timeline object
timeline.addMotionGuide()
timeline.addNewLayer()
timeline.clearFrames()
timeline.clearKeyframes()
timeline.convertToBlankKeyframes()
timeline.convertToKeyframes()
timeline.copyFrames()
timeline.createMotionTween()
timeline.currentFrame
timeline.currentLayer
timeline.cutFrames()
timeline.deleteLayer()
timeline.expandFolder()
timeline.findLayerIndex()
timeline.frameCount
timeline.getFrameProperty()
timeline.getLayerProperty()
timeline.getSelectedFrames()
timeline.getSelectedLayers()
timeline.insertBlankKeyframe()
timeline.insertFrames()
timeline.insertKeyframe()
timeline.layerCount
timeline.layers
timeline.name
timeline.pasteFrames()
timeline.removeFrames()
timeline.reorderLayer()
timeline.reverseFrames()
timeline.selectAllFrames()
timeline.setFrameProperty()
timeline.setLayerProperty()
timeline.setSelectedFrames()
timeline.setSelectedLayers()
timeline.showLayerMasking()
ToolObj object
toolObj.enablePIControl()
toolObj.position
toolObj.setIcon()
toolObj.setMenuString()
toolObj.setOptionsFile()
toolObj.setPI()
toolObj.setToolName()
toolObj.setToolTip()
toolObj.showPIControl()
toolObj.showTransformHandles()
Tools object
tools.activeTool
tools.altIsDown
tools.constrainPoint()
tools.ctlIsDown
tools.getKeyDown()
tools.mouseIsDown
tools.penDownLoc
tools.penLoc
tools.setCursor()
tools.shiftIsDown
tools.snapPoint()
tools.toolObjs
Vertex object
vertex.getHalfEdge()
vertex.setLocation()
vertex.x
vertex.y
VideoItem object
XMLUI object
xmlui.accept()
xmlui.cancel()
xmlui.get()
xmlui.set()
How integrating C functions works
C-level extensibility and the JavaScript interpreter
Sample implementation
Data types
The C-level API
JSBool JS_DefineFunction()
unsigned short *JS_ValueToString()
JSBool JS_ValueToInteger()
JSBool JS_ValueToDouble()
JSBool JS_ValueToBoolean()
JSBool JS_ValueToObject()
JSBool JS_StringToValue()
JSBool JS_DoubleToValue()
JSVal JS_BooleanToValue()
JSVal JS_BytesToValue()
JSVal JS_IntegerToValue()
JSVal JS_ObjectToValue()
unsigned short *JS_ObjectType()
JSObject *JS_NewArrayObject()
long JS_GetArrayLength()
JSBool JS_GetElement()
JSBool JS_SetElement()
JSBool JS_ExecuteScript()
Data Tutorials
Connect to a public web service
Create a user interface and bind the components with the web service
Create the user interface
Edit the data
Update the timesheet
Getting Started
About Flash
About Flash Player
What's new in Flash
New features available in both Flash MX 2004 and Flash MX Professional 2004
New features available in Flash MX Professional 2004 only
Guide to instructional media
Using the Help panel
Using the Start page
System requirements
Installing and activating Flash
Upgrading from Macromedia Flash MX 2004 to Macromedia Flash MX Professional 2004
Switching between trial mode editions
Purchasing a Flash edition from trial mode
Configuration folders installed with Flash
Changing or removing Flash Player
Configuring a server for Flash Player
Using the Stage
Zooming
Moving the view of the Stage
Using the Timeline
Changing the appearance of the Timeline
Moving the playhead
Changing the display of frames in the Timeline
Using frames and keyframes
Working with frames in the Timeline
Using layers
Creating layers and layer folders
Viewing layers and layer folders
Editing layers and layer folders
Organizing layers and layer folders
Using guide layers
About the main toolbar and edit bar
Using the Tools panel
Selecting tools
Customizing the Tools panel
Using the grid, guides, and rulers
Using the grid
Using guides
Using rulers
Using panels and the Property inspector
About the Property inspector
About the Library panel
About the Actions panel
Using panels
Setting preferences in Flash
Customizing keyboard shortcuts
Using context menus
Accessibility in the Flash authoring environment
About Flash authoring accessibility on the Macintosh
Selecting panels or the Property inspector with keyboard shortcuts
Selecting controls in a panel or the Property inspector using keyboard shortcuts
Navigating dialog box controls using keyboard shortcuts (Windows only)
Selecting the Stage or objects on the Stage using keyboard shortcuts
Navigating tree controls using keyboard shortcuts
Working with library items using keyboard shortcuts
Workflow for building an application
Examine a completed application
Run the completed application
Open the authoring document
Examine the completed application
View the library for your document
Close the application
Create a new document
Open a new document
Define document properties
Add media content
Add vector art
Import images into the library
Add art from the library
Add text
Add navigation controls
Add and configure components
Add a behavior
Add motion and basic interactivity
Add a Timeline effect
Extend a layer in the Timeline
Test the application
Publish and view the application
Publish the application
View your published application in a browser
The next steps
Resources
Using Flash
Creating or opening a document and setting properties
Using document tabs for multiple documents (Windows only)
Saving Flash documents
About adding media content
About creating motion and interactivity
About components
Using the library to manage media assets
Working with library items
Working with folders in the Library panel
Sorting items in the Library panel
Editing items in the library
Renaming library items
Deleting library items
Finding unused library items
Updating imported files in the Library panel
Working with common libraries
About ActionScript
Multiple Timelines and levels
Nested movie clips
Parent and child movie clips
Movie clip hierarchy
Using absolute and relative target paths
Absolute paths
Relative paths
Writing target paths
Working with scenes
Using the Movie Explorer
Using Find and Replace
Finding and replacing text
Finding and replacing fonts
Finding and replacing colors
Finding and replacing symbols
Finding and replacing sound, video, or bitmap files
Using the Undo, Redo, and Repeat menu commands
Using the History panel
Undoing steps with the History panel
Replaying steps with the History panel
Copying and pasting steps between documents
Saving documents when you undo steps
Automating tasks with the Commands menu
About steps that can't be used in commands
Creating and managing commands
Running commands
Getting more commands
About customizing context menus in Flash documents
About the links menu in Flash Player
Speeding up document display
Optimizing Flash documents
Testing document download performance
Printing from the Flash authoring tool
Creating and managing projects (Flash Professional only)
Using version control with projects (Flash Professional only)
Troubleshooting remote folder setup (Flash Professional only)
Types of symbols
About controlling instances and symbols with ActionScript
Creating symbols
Converting animation on the Stage into a movie clip
Duplicating symbols
Creating instances
Creating buttons
Enabling, editing, and testing buttons
Editing symbols
Changing instance properties
Changing the color and transparency of an instance
Swapping one instance for another
Changing an instance's type
Setting the animation for graphic instances
Controlling instances with behaviors
Breaking apart instances
Getting information about instances on the Stage
Copying library assets between documents
Using shared library assets
Working with runtime shared assets
Defining runtime shared assets in a source document
Linking to runtime shared assets from a destination document
Updating or replacing symbols using sharing during authoring
Resolving conflicts between library assets
Using the Stroke Color and Fill Color controls in the Tools panel
Using the Stroke Color and Fill Color controls in the Property inspector
Working with solid colors and gradient fills in the Color Mixer
Modifying strokes with the Ink Bottle tool
Applying solid, gradient, and bitmap fills with the Paint Bucket tool
Transforming gradient and bitmap fills
Copying strokes and fills with the Eyedropper tool
Locking a gradient or bitmap to fill the Stage
Modifying color palettes
Duplicating and removing colors
Using the default palette and the web-safe palette
Sorting the palette
Importing and exporting color palettes
About vector and bitmap graphics
Vector graphics
Bitmap graphics
Flash drawing and painting tools
About overlapping shapes in Flash
Drawing with the Pencil tool
Drawing straight lines, ovals, and rectangles
Drawing polygons and stars
Using the Pen tool
Setting Pen tool preferences
Drawing straight lines with the Pen tool
Drawing curved paths with the Pen tool
Adjusting anchor points on paths
Adjusting segments
Painting with the Brush tool
Reshaping lines and shape outlines
Reshaping using the Selection tool
Straightening and smoothing lines
Optimizing curves
Erasing
Modifying shapes
Snapping
Object snapping
Pixel snapping
Snap alignment
Specifying drawing settings
About Unicode text encoding in Flash applications
About font outlines and device fonts
About using device fonts
About masking device fonts
Creating text
Creating scrolling text
Setting text attributes
About aliasing text
Choosing a font, point size, style, and color
Setting character spacing, kerning, and character position
Setting alignment, margins, indents, and line spacing
Making text selectable by users
Using device fonts (static horizontal text only)
Setting dynamic and input text options
Creating font symbols
Editing text
Checking spelling
Using Spelling Setup
Using the Check Spelling feature
About transforming text
Using Timeline effects with text
Breaking text apart
Linking text to a URL (horizontal text only)
Preserving rich text formatting
Substituting missing fonts
Selecting substitute fonts
Working with substitute fonts
Controlling text with ActionScript
Creating and removing text fields dynamically
Setting text field properties dynamically
Formatting text dynamically
Using text field events to trigger scripts
About using Cascading Style Sheets (CSS) with text fields
Creating scrolling text
Placing artwork into Flash
Importing file formats for vector or bitmap files
Importing Fireworks PNG files
Importing FreeHand MX files
Importing Adobe Illustrator, EPS, or PDF files
AutoCAD DXF files
Working with imported bitmaps
Using the Property inspector to work with bitmaps
Setting bitmap properties
Applying a bitmap fill
Editing bitmaps in an external editor
Breaking apart a bitmap
Converting bitmaps to vector graphics
Selecting objects
Selecting objects with the Selection tool
Modifying selections
Selecting objects with the Lasso tool
Hiding selection highlighting
Grouping objects
Moving, copying, and deleting objects
Moving objects
Moving and copying objects by pasting
About copying artwork with the Clipboard
Copying transformed objects
Deleting objects
Stacking objects
Transforming objects
Working with the center point during transformations
Transforming objects freely
Distorting objects
Modifying shapes with the Envelope modifier
Scaling objects
Rotating objects
Skewing objects
Flipping objects
Restoring transformed objects
Aligning objects
Breaking apart groups and objects
Using Timeline effects
Adding a Timeline effect
Timeline effect settings
Editing a Timeline effect
Deleting a Timeline effect
Tweened animation
Frame-by-frame animation
Layers in animation
Creating keyframes
Representations of animations in the Timeline
Frame rates
Extending still images
Distributing objects to layers for tweened animation
New layers
Distributing objects to layers
Tweening instances, groups, and type
Tweening motion along a path
Tweening shapes
Using shape hints
Creating frame-by-frame animations
Editing animation
Onion skinning
Moving an entire animation
Using mask layers
About file formats for imported video
About the Sorenson Spark codec
Tips for creating Flash video with Sorenson Spark
Using the Video Import wizard
Editing video clips in the Video Import wizard
Selecting compression profiles in the Video Import wizard
Selecting advanced settings in the Video Import wizard
Importing Macromedia Flash Video (FLV) files
Importing linked QuickTime video files
Setting the directory path of a linked QuickTime video
About playing back external FLV files dynamically
Changing the properties of a video clip
Controlling video playback using behaviors
About controlling video playback using the Timeline
Exporting FLV files from video-editing applications (Flash Professional only)
Playing FLV video clips with media components (Flash Professional only)
Defining cue points (Flash Professional only)
Adding actions to a cue point (Flash Professional only
Importing sounds
Adding sounds to a document
Adding sounds to buttons
Using sounds with Sound objects
About accessing ID3 properties in MP3 files with Flash Player
Using the sound-editing controls
Controlling sound playback using behaviors
Starting and stopping sounds at keyframes
About the onSoundComplete event
Compressing sounds for export
Using the ADPCM compression option
Using the MP3 compression option
Using the Raw compression option
Using the Speech compression option
Guidelines for exporting sound in Flash documents
Using sounds in Flash documents for mobile devices (Flash Professional only)
Creating a Flash Lite sound file
Understanding screen-based documents and the screen authoring environment (Flash Professional only)
Workflow for authoring screen-based documents (Flash Professional only)
Slide presentations and form applications (Flash Professional only)
Document structure and hierarchy (Flash Professional only)
About using preloaders with screen-based documents
Slide screens and form screens (Flash Professional only)
Using the Screen Outline pane (Flash Professional only)
About undoing and redoing commands with screens (Flash Professional only)
Using the screens context menu (Flash Professional only)
Creating a new screen-based document (Flash Professional only)
Adding screens to a document (Flash Professional only)
Naming screens (Flash Professional only)
Setting properties and parameters for a screen (Flash Professional only)
Specifying the ActionScript class and registration point of a screen (Flash Professional only)
Setting parameters for a screen (Flash Professional only)
About adding media content to screens (Flash Professional only)
Selecting and moving screens (Flash Professional only)
Creating controls and transitions for screens with behaviors (Flash Professional only)
Adding controls to screens using behaviors (Flash Professional only)
Adding transitions to screens using behaviors (Flash Professional only)
Using Find and Replace with screens (Flash Professional only)
About using the Movie Explorer with screens (Flash Professional only)
About using Timelines with screens (Flash Professional only)
About using ActionScript with screens (Flash Professional only)
Screen instance names, class names, and registration points (Flash Professional only)
How screens interact with ActionScript (Flash Professional only)
About using components with screens (Flash Professional only)
Accessibility in the Flash screens authoring environment (Flash Professional only)
Selecting an encoding language
Unicode and Macromedia Flash Player
Text encoding in Flash Player 7
Unicode encoding formats supported by Flash Player
About encoding in external XML files
Fonts for Unicode-encoded text
Using embedded fonts
Authoring multilanguage text with the Strings panel
Selecting languages for translation
Adding strings to the Strings panel
Publishing and deploying multilanguage text
XML file format
Translating text in the Strings panel or an XML file
Importing an XML file into the Strings panel
Creating documents with multilanguage text without using the Strings panel
Using the XMLConnector component to connect to external XML files
Using a Western keyboard to enter Asian characters on the Stage
Using ActionScript to load external files
Creating documents with multilanguage text using the #include action
Creating documents with multilanguage text using text variables
Using external text or XML files that are not Unicode encoded
Additional resources
Creating a simple application
Workflows for using the data components
Data binding (Flash Professional only)
A simple binding example
Working with schemas in the Schema tab (Flash Professional only)
Adding a component property to a schema
Adding a schema field to a schema item
About handling data types in data binding (Flash Professional only)
Working with bindings in the Bindings tab (Flash Professional only)
About debugging data binding and web services (Flash Professional only)
Data binding in Flash Player 7 versus Flash Player 6
Data connectivity (Flash Professional only)
Connecting to web services with the WebService connector component (Flash Professional only)
Using the Web Services panel
Connecting to XML data with the XMLConnector component (Flash Professional only)
About data connectivity and security in Flash Player
Data management (Flash Professional only)
Managing data with the DataSet component (Flash Professional only)
Data resolution (Flash Professional only)
Resolving XML data with the XUpdateResolver component (Flash Professional only)
Resolving data to a relational database (Flash Professional only)
Formatting your results (Flash Professional only)
Advanced topics in data integration
Schema item settings
When to edit schema item settings
Virtual schemas
Adding bindings using path expressions
Default data binding events
Server-side requirements for resolving XML data
Server-side requirements for resolving data for RDBMS
Lazy decoding in the WebServiceConnector component
Transfer objects in the DataSet component
Playing your Flash SWF files
About publishing secure Flash documents
Publishing Flash documents
Setting publish options for the Flash SWF file format
Specifying publish settings that create HTML documents with embedded Flash content
Configuring publish settings for Flash Player detection
Specifying publish settings for GIF files
Specifying publish settings for JPEG files
Specifying publish settings for PNG files
Specifying publish settings for QuickTime videos
About publishing Flash Lite documents
Using publish profiles
Creating a publish profile
Duplicating a publish profile
Modifying a publish profile
Exporting a publish profile
Importing a publish profile
Deleting a publish profile
About HTML publishing templates
Customizing HTML publishing templates
Using HTML template variables
Creating an image map
Creating a text report
Creating a URL report
Using shorthand template variables
Sample template
Editing Flash HTML settings
Using object and embed tags
Parameters and attributes
Previewing the publishing format and settings
Using Flash Player
About configuring a web server for Flash
Exporting Flash content and images
About export file formats
Adobe Illustrator
Animated GIF, GIF Sequence, and GIF Image
Bitmap (BMP)
DXF Sequence and AutoCAD DXF Image
Enhanced Metafile (Windows)
Encapsulated PostScript (EPS) 3.0 with Preview
Flash document (SWF)
Macromedia Flash Video (FLV)
JPEG Sequence and JPEG Image
PICT (Macintosh)
PNG sequence and PNG image
QuickTime
QuickTime Video (Macintosh)
WAV audio (Windows)
Windows AVI (Windows)
Windows Metafile
Updating Flash content for Dreamweaver UltraDev
Worldwide accessibility standards
Macromedia Flash Accessibility web page
Understanding screen reader technology
Using Flash to enter accessibility information for screen readers
The Flash Accessibility panel
Selecting names for buttons, text fields, and entire Flash applications
Specifying advanced accessibility options for screen readers
Making an entire Flash application accessible
Viewing and creating tab order and reading order
Creating a tab order index for keyboard navigation in the Accessibility panel (Flash Professional only)
About animation and accessibility for the visually impaired
Using accessible components
Creating accessibility with ActionScript
Implementing screen reader detection with the Accessibility.isActive() method
Using ActionScript to create a tab order for accessible objects
Accessibility for hearing-impaired users
Testing accessible content
Controlling printing
Supported printers
Using the ActionScript PrintJob class
Building a print job
Starting a print job
Adding pages to a print job
Specifying a target
Sending the print job to the printer
Deleting the print job
Printing frames independent of the PrintJob class
Designating printable frames (when not using the PrintJob object)
Specifying a print area (when not using the PrintJob object)
Using the print() function (when not using the PrintJob object)
Changing the printed background color
Using frame labels to disable printing
Printing from the Flash Player context menu
Publishing a document with printable frames
Getting started with Flash learning interactions
About Flash learning interactions
Including a Flash learning interaction in a document
Using the quiz templates
Setting the quiz parameters
Modifying learning interactions in a quiz
Configuring a Learning Interaction component
Adding learning interactions to a quiz template
Adding learning interactions to a document that doesn't use a quiz template
About managing library assets for learning interactions
Removing a learning interaction from the Timeline
Testing to see if a movie clip is broken apart
Changing the appearance of a learning interaction
Changing the images in a graphical learning interaction
Changing buttons, check boxes, and radio buttons
About using components within a learning interaction
Testing a quiz
Configuring learning interactions
Configuring a Drag and Drop interaction
Adding and removing Drag objects and Target objects
Configuring a Fill in the Blank interaction
Configuring a Hot Object interaction
Adding and removing hot object distractors
Configuring a Hot Spot interaction
Adding and removing hot spot distractors
Configuring a Multiple Choice interaction
Adding and removing multiple-choice distractors
Configuring a True or False interaction
True or False interaction distractors
Adding, naming, and registering assets
About naming Learning Interaction component instances
Naming UI components (RadioButton, CheckBox, Button, and TextInput)
Naming dynamic text fields
Registering dynamic text fields and UI components
Naming and registering graphic distractors
Text field names
Asset name defaults
Drag and Drop learning interaction asset names
Fill in the Blank learning interaction asset names
Hot Object learning interaction asset names
Hot Spot learning interaction asset names
Multiple Choice learning interaction asset names
True or False learning interaction asset names
Setting feedback options for a learning interaction
Setting Knowledge Track options for a learning interaction
Setting navigation options for a learning interaction
Setting control button labels for a learning interaction
Tracking to AICC- or SCORM-compliant learning management systems
Overview of the communication for AICC- and SCORM-compliant content
AICC communication overview
SCORM communication overview
Preparing Flash learning interactions for web hosting
Preparing an AICC-compliant learning interaction for web hosting
Preparing a SCORM-compliant learning interaction for web hosting
Extending learning interaction scripts
Accessing cumulative tracking data through the SessionArray
Tracking properties available in the SessionArray
Predefined property names
Basic structure of the Learning Interaction scripts and components
Reviewing or editing the LToolboxClass script
Using samples
Using the accessibility features in Flash
Building a photo scrapbook
Customizing the Flash Player context menu
Using device font masking
Developing multilingual content
Understanding text enhancements
Building custom panels with the Extensibility API
Building a news reader (Flash Professional only)
Using scriptable masks
Using advanced video features (Flash Professional only)
Building a population viewer (Flash Professional only)
Using templates
Using advertising templates
Using video templates (Flash Professional only)
Using the Photo Slideshow template
Using presentation templates
Using the screen presentation templates (Flash Professional only)
Using the mobile device templates
Using quiz templates
Using form application templates (Flash Professional only)
Layout tag summary for XML to UI dialog boxes
Control tag summary for XML to UI dialog boxes
<column>
<columns>
<dialog>
<grid>
<hbox>
<row>
<rows>
<separator>
<spacer>
<vbox>
<button>
<checkbox>
<choosefile>
<colorchip>
<flash>
<label>
<listbox>
<listitem>
<menulist>
<menupop>
<menuitem>
<popupslider>
<property>
<radiogroup>
<radio>
<targetlist>
<textbox>
Using ActionScript
Intended audience
System requirements
Using the documentation
Typographical conventions
Terms used in this document
Additional resources
Updating Flash XML files
New and changed ActionScript language elements
New security model and legacy SWF files
Porting existing scripts to Flash Player 7
ECMA-262 compliance
Domain-name rules for settings and local data
Cross-domain and subdomain access between SWF files
HTTP to HTTPS protocol access between SWF files
Server-side policy files for permitting access to data
ActionScript editor changes
Debugging changes
New object-oriented programming model
Differences between ActionScript and JavaScript
Terminology
Syntax
Case sensitivity
Dot syntax
Slash syntax
Curly braces
Semicolons
Parentheses
Comments
Keywords and reserved words
Constants
About data types
String data type
Number data type
Boolean data type
Object data type
MovieClip data type
Null data type
Undefined data type
Void data type
Assigning data types to elements
Automatic data typing
Strict data typing
Casting objects
Determining an item's data type
About variables
Naming a variable
Scoping and declaring variables
Using variables in a program
Using operators to manipulate values in expressions
Operator precedence and associativity
Numeric operators
Comparison operators
String operators
Logical operators
Bitwise operators
Equality operators
Assignment operators
Dot and array access operators
Specifying an object's path
Using condition statements
Using built-in functions
Creating functions
Defining a function
Passing parameters to a function
Using variables in a function
Returning values from a function
Calling a user-defined function
Working with FLA files
Organizing Timelines and the library
Using scenes
Saving and version control
General coding conventions
General naming guidelines
Avoiding reserved words
Formatting code
ActionScript coding standards
Organizing ActionScript in a document
Writing ActionScript
Using scope
Using functions
Using classes and ActionScript 2.0
Creating and organizing classes
Programming classes
Using prefixes in classes
Using comments in classes
Wrapping lines of code
Using design patterns
Behaviors conventions
Comparing timeline code with object code
Using behaviors
Being consistent
Being courteous
Screens conventions
Organizing code for screens
Placing code in the FLA file
Using external ActionScript
Working with other structural elements
Video conventions
Using video
Importing and embedding video
Exporting FLV files
Using Media components
Dynamically loading video using ActionScript
Performance and Flash Player
Optimizing graphics and animation
Working with components in Flash Player
Preloading components and classes
Working with text
Optimizing ActionScript in Flash Player
Guidelines for Flash applications
Building Flash Applications
Organizing files and storing code
Creating secure applications
Projects and version control guidelines
Using projects
Using version control
Guidelines for accessibility in Flash
Creating accessible sites
Using screen readers
Exposing SWF file structure and navigation
Controlling descriptions and repetition
Using color
Ordering, tabbing, and the keyboard
Handling audio and animation
Extending Flash and accessibility
Working with accessibility and components
Testing frequently and making changes
Advertising with Flash
Using recommended dimensions
Creating SWF file advertisements
Controlling when ActionScript runs
Using the Actions panel and Script window
About the ActionScript editor environment
Managing scripts in a FLA file
Using the ActionScript editor
Syntax highlighting
Writing code that triggers code hints
Using code hints
Using Escape shortcut keys
Checking syntax and punctuation
Formatting code
Unicode support for ActionScript
Debugging your scripts
Debugging a SWF file from a remote location
Displaying and modifying variables
Using the Watch list
Displaying movie clip properties and changing editable properties
Setting and removing breakpoints
Stepping through lines of code
Using the Output panel
Listing a SWF file's objects
Listing a SWF file's variables
Displaying text field properties for debugging
Using the trace statement
Updating Flash Player for testing
Using event handler methods
Using event listeners
Using button and movie clip event handlers
Specifying events for on() or onClipEvent()
Attaching multiple handlers to one object
Using on() and onClipEvent() with event handler methods
Broadcasting events from component instances
Creating movie clips with button states
Event handler scope
Scope of the this keyword
About events and interaction
Controlling SWF file playback
Jumping to a frame or scene
Playing and stopping movie clips
Jumping to a different URL
Creating interactivity and visual effects
Creating a custom mouse pointer
Getting the pointer position
Capturing keypresses
Setting color values
Creating sound controls
Detecting collisions
Creating a simple line drawing tool
Deconstructing a sample script
About classes and instances
Creating a new object
Accessing object properties
Calling object methods
About class (static) members
Overview of built-in classes
Core classes
Classes specific to Flash Player
About controlling movie clips with ActionScript
Calling multiple methods on a single movie clip
Loading and unloading additional SWF files
Specifying a root Timeline for loaded SWF files
Loading JPEG files into movie clips
Changing movie clip position and appearance
Dragging movie clips
Creating movie clips at runtime
Creating an empty movie clip
Duplicating or removing a movie clip
Attaching a movie clip symbol to the Stage
Adding parameters to dynamically created movie clips
Managing movie clip depths
Determining the next highest available depth
Determining the instance at a particular depth
Determining the depth of an instance
Swapping movie clip depths
Drawing shapes with ActionScript
Using movie clips as masks
About masking device fonts
Handling movie clip events
Assigning a class to a movie clip symbol
Initializing class properties
Using the TextField class
Assigning text to a text field at runtime
About text field instance and variable names
Creating text fields at runtime
Using the TextFormat class
Default properties of new text fields
Getting text metric information
Formatting text with Cascading Style Sheets
Supported CSS properties
Creating a style sheet object
Loading external CSS files
Creating new styles with ActionScript
Applying styles to a TextField object
Applying a style sheet to a TextArea component
Combining styles
Using style classes
Styling built-in HTML tags
An example of using styles with HTML
Using styles to define new tags
An example of using styles with XML
Using HTML-formatted text
Overview of using HTML-formatted text
Supported HTML tags
Embedding images, SWF files, and movie clips in text fields
Creating scrolling text
Principles of object-oriented programming
Objects
Classes and class members
Inheritance
Interfaces
Encapsulation
Polymorphism
Using classes: a simple example
Creating a class file
Creating an instance of the Person class
Creating and using classes
Constructor functions
Creating properties and methods
Controlling member access
Initializing properties inline
Creating subclasses
Creating dynamic classes
Using packages
Creating and using interfaces
Creating an interface
Interfaces as data types
Instance and class members
Creating class members
Using class members: a simple example
Class members and subclasses
Implicit getter/setter methods
Understanding the classpath
Global and document-level classpaths
How the compiler resolves class references
Modifying the classpath
Importing classes
Compiling and exporting classes
Excluding classes
Sending and loading variables to and from a remote source
Checking for loaded data
Using HTTP to connect to server-side scripts
Using the LoadVars class
About XML
Using the XML class
Using the XMLSocket class
Sending messages to and from Flash Player
Using fscommand()
About Flash Player methods
About using JavaScript to control Flash applications
Flash Player security features
About allowing data access between cross-domain SWF files
About allowing HTTP to HTTPS protocol access between SWF files
About allowing cross-domain data loading
About custom policy file locations
About XMLSocket policy files
About compatibility with previous Flash Player security models
Overview of loading external media
Loading external SWF and JPEG files
About loaded SWF files and the root Timeline
Loading external MP3 files
Reading ID3 tags in MP3 files
Playing back external FLV files dynamically
Preloading external media
Preloading SWF and JPEG files
Preloading MP3 and FLV files
Keys on the numeric keypad
Function keys
Other keys
About targeting older versions of Flash Player
Using Flash MX 2004 to create content for Flash Player 4
Using Flash MX 2004 to open Flash 4 files
Using slash syntax
About ActionScript 1
Creating a custom object in ActionScript 1
Assigning methods to a custom object in ActionScript 1
Defining event handler methods in ActionScript 1
Creating inheritance in ActionScript 1
Adding getter/setter properties to objects in ActionScript 1
Using Function object properties in ActionScript 1
ActionScript Language Reference
Sample entry for most ActionScript elements
Sample entry for classes
Examples Folder
++ (increment)
! (logical NOT)
!= (inequality)
!== (strict inequality)
% (modulo)
%= (modulo assignment)
& (bitwise AND)
&& (logical AND)
&= (bitwise AND assignment)
() (parentheses)
- (minus)
* (multiplication)
*= (multiplication assignment)
, (comma)
. (dot)
: (type)
?: (conditional)
/ (division)
// (comment delimiter)
/* (comment delimiter)
/= (division assignment)
[] (array access)
^ (bitwise XOR)
^= (bitwise XOR assignment)
{} (object initializer)
| (bitwise OR)
|| (logical OR)
|= (bitwise OR assignment)
~ (bitwise NOT)
+ (addition)
+= (addition assignment)
< (less than)
<< (bitwise left shift)
<<= (bitwise left shift and assignment)
<= (less than or equal to)
= (assignment)
-= (subtraction assignment)
== (equality)
=== (strict equality)
> (greater than)
>= (greater than or equal to)
>> (bitwise right shift)
>>= (bitwise right shift and assignment)
>>> (bitwise unsigned right shift)
>>>= (bitwise unsigned right shift and assignment)
Accessibility.isActive()
Accessibility.updateProperties()
arguments.callee
arguments.caller
arguments.length
Array.concat()
Array.join()
Array.length
Array.pop()
Array.push()
Array.reverse()
Array.shift()
Array.slice()
Array.sort()
Array.sortOn()
Array.splice()
Array.toString()
Array.unshift()
Boolean.toString()
Boolean.valueOf()
Button._alpha
Button.enabled
Button._focusrect
Button.getDepth()
Button._height
Button.menu
Button._name
Button.onDragOut
Button.onDragOver
Button.onKeyDown
Button.onKeyUp
Button.onKillFocus
Button.onPress
Button.onRelease
Button.onReleaseOutside
Button.onRollOut
Button.onRollOver
Button.onSetFocus
Button._parent
Button._quality
Button._rotation
Button._soundbuftime
Button.tabEnabled
Button.tabIndex
Button._target
Button.trackAsMenu
Button._url
Button.useHandCursor
Button._visible
Button._width
Button._x
Button._xmouse
Button._xscale
Button._y
Button._ymouse
Button._yscale
Camera.activityLevel
Camera.bandwidth
Camera.currentFps
Camera.fps
Camera.get()
Camera.height
Camera.index
Camera.motionLevel
Camera.motionTimeOut
Camera.muted
Camera.name
Camera.names
Camera.onActivity
Camera.onStatus
Camera.quality
Camera.setMode()
Camera.setMotionLevel()
Camera.setQuality()
Camera.width
Color.getRGB()
Color.getTransform()
Color.setRGB()
Color.setTransform()
ContextMenu.builtInItems
ContextMenu.copy()
ContextMenu.customItems
ContextMenu.hideBuiltInItems()
ContextMenu.onSelect
ContextMenuItem.caption
ContextMenuItem.copy()
ContextMenuItem.enabled
ContextMenuItem.onSelect
ContextMenuItem.separatorBefore
ContextMenuItem.visible
CustomActions.get()
CustomActions.install()
CustomActions.list()
CustomActions.uninstall()
Date.getDate()
Date.getDay()
Date.getFullYear()
Date.getHours()
Date.getMilliseconds()
Date.getMinutes()
Date.getMonth()
Date.getSeconds()
Date.getTime()
Date.getTimezoneOffset()
Date.getUTCDate()
Date.getUTCDay()
Date.getUTCFullYear()
Date.getUTCHours()
Date.getUTCMilliseconds()
Date.getUTCMinutes()
Date.getUTCMonth()
Date.getUTCSeconds()
Date.getYear()
Date.setDate()
Date.setFullYear()
Date.setHours()
Date.setMilliseconds()
Date.setMinutes()
Date.setMonth()
Date.setSeconds()
Date.setTime()
Date.setUTCDate()
Date.setUTCFullYear()
Date.setUTCHours()
Date.setUTCMilliseconds()
Date.setUTCMinutes()
Date.setUTCMonth()
Date.setUTCSeconds()
Date.setYear()
Date.toString()
Date.UTC()
Error.message
Error.name
Error.toString()
Function.apply()
Function.call()
Key.addListener()
Key.BACKSPACE
Key.CAPSLOCK
Key.CONTROL
Key.DELETEKEY
Key.DOWN
Key.END
Key.ENTER
Key.ESCAPE
Key.getAscii()
Key.getCode()
Key.HOME
Key.INSERT
Key.isDown()
Key.isToggled()
Key.LEFT
Key.onKeyDown
Key.onKeyUp
Key.PGDN
Key.PGUP
Key.removeListener()
Key.RIGHT
Key.SHIFT
Key.SPACE
Key.TAB
Key.UP
LoadVars.addRequestHeader()
LoadVars.contentType
LoadVars.decode()
LoadVars.getBytesLoaded()
LoadVars.getBytesTotal()
LoadVars.load()
LoadVars.loaded
LoadVars.onData
LoadVars.onLoad
LoadVars.send()
LoadVars.sendAndLoad()
LoadVars.toString()
LocalConnection.allowDomain
LocalConnection.allowInsecureDomain
LocalConnection.close()
LocalConnection.connect()
LocalConnection.domain()
LocalConnection.onStatus
LocalConnection.send()
Math.abs()
Math.acos()
Math.asin()
Math.atan()
Math.atan2()
Math.ceil()
Math.cos()
Math.E
Math.exp()
Math.floor()
Math.log()
Math.LN2
Math.LN10
Math.LOG2E
Math.LOG10E
Math.max()
Math.min()
Math.PI
Math.pow()
Math.random()
Math.round()
Math.sin()
Math.sqrt()
Math.SQRT1_2
Math.SQRT2
Math.tan()
Microphone.activityLevel
Microphone.gain
Microphone.get()
Microphone.index
Microphone.muted
Microphone.name
Microphone.names
Microphone.onActivity
Microphone.onStatus
Microphone.rate
Microphone.setGain()
Microphone.setRate()
Microphone.setSilenceLevel()
Microphone.setUseEchoSuppression()
Microphone.silenceLevel
Microphone.silenceTimeOut
Microphone.useEchoSuppression
Mouse.addListener()
Mouse.hide()
Mouse.onMouseDown
Mouse.onMouseMove
Mouse.onMouseUp
Mouse.onMouseWheel
Mouse.removeListener()
Mouse.show()
MovieClip._alpha
MovieClip.attachAudio()
MovieClip.attachMovie()
MovieClip.beginFill()
MovieClip.beginGradientFill()
MovieClip.clear()
MovieClip.createEmptyMovieClip()
MovieClip.createTextField()
MovieClip._currentframe
MovieClip.curveTo()
MovieClip._droptarget
MovieClip.duplicateMovieClip()
MovieClip.enabled
MovieClip.endFill()
MovieClip.focusEnabled
MovieClip._focusrect
MovieClip._framesloaded
MovieClip.getBounds()
MovieClip.getBytesLoaded()
MovieClip.getBytesTotal()
MovieClip.getDepth()
MovieClip.getInstanceAtDepth()
MovieClip.getNextHighestDepth()
MovieClip.getSWFVersion()
MovieClip.getTextSnapshot()
MovieClip.getURL()
MovieClip.globalToLocal()
MovieClip.gotoAndPlay()
MovieClip.gotoAndStop()
MovieClip._height
MovieClip.hitArea
MovieClip.hitTest()
MovieClip.lineStyle()
MovieClip.lineTo()
MovieClip.loadMovie()
MovieClip.loadVariables()
MovieClip.localToGlobal()
MovieClip._lockroot
MovieClip.menu
MovieClip.moveTo()
MovieClip._name
MovieClip.nextFrame()
MovieClip.onData
MovieClip.onDragOut
MovieClip.onDragOver
MovieClip.onEnterFrame
MovieClip.onKeyDown
MovieClip.onKeyUp
MovieClip.onKillFocus
MovieClip.onLoad
MovieClip.onMouseDown
MovieClip.onMouseMove
MovieClip.onMouseUp
MovieClip.onPress
MovieClip.onRelease
MovieClip.onReleaseOutside
MovieClip.onRollOut
MovieClip.onRollOver
MovieClip.onSetFocus
MovieClip.onUnload
MovieClip._parent
MovieClip.play()
MovieClip.prevFrame()
MovieClip._quality
MovieClip.removeMovieClip()
MovieClip._rotation
MovieClip.setMask()
MovieClip._soundbuftime
MovieClip.startDrag()
MovieClip.stop()
MovieClip.stopDrag()
MovieClip.swapDepths()
MovieClip.tabChildren
MovieClip.tabEnabled
MovieClip.tabIndex
MovieClip._target
MovieClip._totalframes
MovieClip.trackAsMenu
MovieClip.unloadMovie()
MovieClip._url
MovieClip.useHandCursor
MovieClip._visible
MovieClip._width
MovieClip._x
MovieClip._xmouse
MovieClip._xscale
MovieClip._y
MovieClip._ymouse
MovieClip._yscale
MovieClipLoader.addListener()
MovieClipLoader.getProgress()
MovieClipLoader.loadClip()
MovieClipLoader.onLoadComplete
MovieClipLoader.onLoadError
MovieClipLoader.onLoadInit
MovieClipLoader.onLoadProgress
MovieClipLoader.onLoadStart
MovieClipLoader.removeListener()
MovieClipLoader.unloadClip()
NetConnection.connect()
NetStream.bufferLength
NetStream.bufferTime
NetStream.bytesLoaded
NetStream.bytesTotal
NetStream.close()
NetStream.currentFps
NetStream.onStatus
NetStream.pause()
NetStream.play()
NetStream.seek()
NetStream.setBufferTime()
NetStream.time
Number.MAX_VALUE
Number.MIN_VALUE
Number.NaN
Number.NEGATIVE_INFINITY
Number.POSITIVE_INFINITY
Number.toString()
Number.valueOf()
Object.addProperty()
Object.constructor
Object.__proto__
Object.registerClass()
Object.__resolve
Object.toString()
Object.unwatch()
Object.valueOf()
Object.watch()
PrintJob.addPage()
PrintJob.send()
PrintJob.start()
Selection.addListener()
Selection.getBeginIndex()
Selection.getCaretIndex()
Selection.getEndIndex()
Selection.getFocus()
Selection.onSetFocus
Selection.removeListener()
Selection.setFocus()
Selection.setSelection()
SharedObject.clear()
SharedObject.data
SharedObject.flush()
SharedObject.getLocal()
SharedObject.getSize()
SharedObject.onStatus
Sound.attachSound()
Sound.duration
Sound.getBytesLoaded()
Sound.getBytesTotal()
Sound.getPan()
Sound.getTransform()
Sound.getVolume()
Sound.id3
Sound.loadSound()
Sound.onID3
Sound.onLoad
Sound.onSoundComplete
Sound.position
Sound.setPan()
Sound.setTransform()
Sound.setVolume()
Sound.start()
Sound.stop()
Stage.addListener()
Stage.align
Stage.height
Stage.onResize
Stage.removeListener()
Stage.scaleMode
Stage.showMenu
Stage.width
String.charAt()
String.charCodeAt()
String.concat()
String.fromCharCode()
String.indexOf()
String.lastIndexOf()
String.length
String.slice()
String.split()
String.substr()
String.substring()
String.toLowerCase()
String.toUpperCase()
System.capabilities.avHardwareDisable
System.capabilities.hasAccessibility
System.capabilities.hasAudio
System.capabilities.hasAudioEncoder
System.capabilities.hasEmbeddedVideo
System.capabilities.hasMP3
System.capabilities.hasPrinting
System.capabilities.hasScreenBroadcast
System.capabilities.hasScreenPlayback
System.capabilities.hasStreamingAudio
System.capabilities.hasStreamingVideo
System.capabilities.hasVideoEncoder
System.capabilities.isDebugger
System.capabilities.language
System.capabilities.localFileReadDisable
System.capabilities.manufacturer
System.capabilities.os
System.capabilities.pixelAspectRatio
System.capabilities.playerType
System.capabilities.screenColor
System.capabilities.screenDPI
System.capabilities.screenResolutionX
System.capabilities.screenResolutionY
System.capabilities.serverString
System.capabilities.version
System.security.allowDomain()
System.security.allowInsecureDomain()
System.security.loadPolicyFile()
System.exactSettings
System.onStatus
System.setClipboard()
System.showSettings()
System.useCodepage
TextField.StyleSheet.clear()
TextField.StyleSheet.getStyle()
TextField.StyleSheet.getStyleNames()
TextField.StyleSheet.load()
TextField.StyleSheet.onLoad
TextField.StyleSheet.parseCSS()
TextField.StyleSheet.setStyle()
TextField.StyleSheet.transform()
TextField.addListener()
TextField._alpha
TextField.autoSize
TextField.background
TextField.backgroundColor
TextField.border
TextField.borderColor
TextField.bottomScroll
TextField.condenseWhite
TextField.embedFonts
TextField.getDepth()
TextField.getFontList()
TextField.getNewTextFormat()
TextField.getTextFormat()
TextField._height
TextField.hscroll
TextField.html
TextField.htmlText
TextField.length
TextField.maxChars
TextField.maxhscroll
TextField.maxscroll
TextField.menu
TextField.mouseWheelEnabled
TextField.multiline
TextField._name
TextField.onChanged
TextField.onKillFocus
TextField.onScroller
TextField.onSetFocus
TextField._parent
TextField.password
TextField._quality
TextField.removeListener()
TextField.removeTextField()
TextField.replaceSel()
TextField.replaceText()
TextField.restrict
TextField._rotation
TextField.scroll
TextField.selectable
TextField.setNewTextFormat()
TextField.setTextFormat()
TextField.styleSheet
TextField.tabEnabled
TextField.tabIndex
TextField._target
TextField.text
TextField.textColor
TextField.textHeight
TextField.textWidth
TextField.type
TextField._url
TextField.variable
TextField._visible
TextField._width
TextField.wordWrap
TextField._x
TextField._xmouse
TextField._xscale
TextField._y
TextField._ymouse
TextField._yscale
TextFormat.align
TextFormat.blockIndent
TextFormat.bold
TextFormat.bullet
TextFormat.color
TextFormat.font
TextFormat.getTextExtent()
TextFormat.indent
TextFormat.italic
TextFormat.leading
TextFormat.leftMargin
TextFormat.rightMargin
TextFormat.size
TextFormat.tabStops
TextFormat.target
TextFormat.underline
TextFormat.url
TextSnapshot.findText()
TextSnapshot.getCount()
TextSnapshot.getSelected()
TextSnapshot.getSelectedText()
TextSnapshot.getText()
TextSnapshot.hitTestTextNearPos()
TextSnapshot.setSelectColor()
TextSnapshot.setSelected()
Video.attachVideo()
Video.clear()
Video.deblocking
Video.height
Video.smoothing
Video.width
XML.addRequestHeader()
XML.appendChild()
XML.attributes
XML.childNodes
XML.cloneNode()
XML.contentType
XML.createElement()
XML.createTextNode()
XML.docTypeDecl
XML.firstChild
XML.getBytesLoaded()
XML.getBytesTotal()
XML.hasChildNodes()
XML.ignoreWhite
XML.insertBefore()
XML.lastChild
XML.load()
XML.loaded
XML.nextSibling
XML.nodeName
XML.nodeType
XML.nodeValue
XML.onData
XML.onLoad
XML.parentNode
XML.parseXML()
XML.previousSibling
XML.removeNode()
XML.send()
XML.sendAndLoad()
XML.status
XML.toString()
XML.xmlDecl
XMLSocket.close()
XMLSocket.connect()
XMLSocket.onClose
XMLSocket.onConnect
XMLSocket.onData
XMLSocket.onXML
XMLSocket.send()
add
and
Button._highquality
call()
chr
eq (equal -- string specific)
ge (greater than or equal to -- string specific)
gt (greater than -- string specific)
_highquality
<> (inequality)
ifFrameLoaded
int
le (less than or equal to -- string specific)
length
lt (less than -- string specific)
maxscroll
mbchr
mblength
mbord
mbsubstring
MovieClip._highquality
ne (not equal -- string specific)
not
or
ord
random
scroll
substring
tellTarget
TextField._highquality
toggleHighQuality()
Using Components
Intended audience
System requirements
About the documentation
Typographical conventions
Terms used in this manual
Additional resources
Installing components
Where component files are stored
Benefits of using components
Categories of components
About version 2 component architecture
What's new in version 2 components
About compiled clips and SWC files
Accessibility and components
About working with components
About this tutorial
View the application
View the SWF file for the completed application
View the FLA file for the completed application
About data integration in the sample application
Build the application architecture
Add component instances for the main screen of the application
Create a movie clip with component instances to display product details
Add code to the ProductForm movie clip
Add components for the Checkout screen
About the Billing, Shipping, and Credit Card panes
Create movie clips for the Billing Information pane
Create movie clips for the Shipping Information pane
Create movie clips for the Credit Card Information pane
Bind components to display product information from an external source
Specify a schema for the XML data source
Bind the XMLConnector, DataSet, and DataGrid components
Add ActionScript to the main Timeline
Create references to component class names
Add an instance of the Cart class and initialize it
Set the data type of component instances
Use styles to customize component appearance
Add columns to the Gift Ideas section
Connect to a web service to populate the combo box
Load the external XML file listing product information
Add an event listener to filter the products displayed in the Gift Ideas section
Add an event listener to display product details
Add an event listener to the Checkout button
Add code for the Checkout screen
Test the application
The Components panel
Adding components to Flash documents
Components in the Library panel
Setting component parameters
Sizing components
Deleting components from Flash documents
Using code hints
Creating custom focus navigation
Managing component depth in a document
Components in Live Preview
About using a preloader with components
About loading components
Upgrading version 1 components to version 2 architecture
Using the on() event handler
Using listeners to handle events
Using listener objects
Using the handleEvent callback function
Using listener functions
About scope in listeners
Delegating events
About the event object
Using styles to customize component color and text
Supported styles
Setting styles on a component instance
Setting custom styles for groups of components
Setting styles for a component class
Setting inheriting styles on a container
Setting global styles
Using global, custom, and class styles in the same document
About color style properties
Customizing component animations
Getting style property values
About themes
Creating a new theme
Modifying default style property values in a theme
Applying a theme to a document
About skinning components
Editing component skins in a document
Creating new component skins
Linking skin color to styles
Applying new skins to a component
Applying new skins to a subcomponent
Changing skin properties in the prototype
Types of components
Other listings in this chapter
Accordion component (Flash Professional only)
Using the Accordion component (Flash Professional only)
Customizing the Accordion component (Flash Professional only)
Accordion class (Flash Professional only)
Accordion.change
Accordion.createChild()
Accordion.createSegment()
Accordion.destroyChildAt()
Accordion.getChildAt()
Accordion.numChildren
Accordion.selectedChild
Accordion.selectedIndex
Alert component (Flash Professional only)
Using the Alert component (Flash Professional only)
Customizing the Alert component (Flash Professional only)
Alert class (Flash Professional only)
Alert.buttonHeight
Alert.buttonWidth
Alert.CANCEL
Alert.cancelLabel
Alert.click
Alert.NO
Alert.noLabel
Alert.OK
Alert.okLabel
Alert.show()
Alert.YES
Alert.yesLabel
Button component
Using the Button component
Customizing the Button component
Button class
Button.icon
Button.label
Button.labelPlacement
CellRenderer API
Understanding the List class
Using the CellRenderer API
CellRenderer.getCellIndex()
CellRenderer.getDataLabel()
CellRenderer.getPreferredHeight()
CellRenderer.getPreferredWidth()
CellRenderer.listOwner
CellRenderer.owner
CellRenderer.setSize()
CellRenderer.setValue()
CheckBox component
Using the CheckBox component
Customizing the CheckBox component
CheckBox class
CheckBox.click
CheckBox.label
CheckBox.labelPlacement
CheckBox.selected
Collection interface (Flash Professional only)
Collection.addItem()
Collection.contains()
Collection.clear()
Collection.getItemAt()
Collection.getIterator()
Collection.getLength()
Collection.isEmpty()
Collection.removeItem()
ComboBox component
Using the ComboBox component
Customizing the ComboBox component
ComboBox class
ComboBox.addItem()
ComboBox.addItemAt()
ComboBox.change
ComboBox.close()
ComboBox.close
ComboBox.dataProvider
ComboBox.dropdown
ComboBox.dropdownWidth
ComboBox.editable
ComboBox.enter
ComboBox.getItemAt()
ComboBox.itemRollOut
ComboBox.itemRollOver
ComboBox.labelField
ComboBox.labelFunction
ComboBox.length
ComboBox.open()
ComboBox.open
ComboBox.removeAll()
ComboBox.removeItemAt()
ComboBox.replaceItemAt()
ComboBox.restrict
ComboBox.rowCount
ComboBox.scroll
ComboBox.selectedIndex
ComboBox.selectedItem
ComboBox.sortItems()
ComboBox.sortItemsBy()
ComboBox.text
ComboBox.textField
ComboBox.value
Data binding classes (Flash Professional only)
Making data binding classes available at runtime (Flash Professional only)
Classes in the mx.data.binding package (Flash Professional only)
Binding class (Flash Professional only)
Binding.execute()
CustomFormatter class (Flash Professional only)
CustomFormatter.format()
CustomFormatter.unformat()
CustomValidator class (Flash Professional only)
CustomValidator.validate()
CustomValidator.validationError()
EndPoint class (Flash Professional only)
EndPoint.component
EndPoint.constant
EndPoint.event
EndPoint.location
EndPoint.property
ComponentMixins class (Flash Professional only)
ComponentMixins.getField()
ComponentMixins.initComponent()
ComponentMixins.refreshDestinations()
ComponentMixins.refreshFromSources()
ComponentMixins.validateProperty()
DataType class (Flash Professional only)
DataType.encoder
DataType.formatter
DataType.getAnyTypedValue()
DataType.getAsBoolean()
DataType.getAsNumber()
DataType.getAsString()
DataType.getTypedValue()
DataType.kind
DataType.setAnyTypedValue()
DataType.setAsBoolean()
DataType.setAsNumber()
DataType.setAsString()
DataType.setTypedValue()
TypedValue class (Flash Professional only)
TypedValue.type
TypedValue.typeName
TypedValue.value
DataGrid component (Flash Professional only)
Interacting with the DataGrid component (Flash Professional only)
Using the DataGrid component (Flash Professional only)
Customizing the DataGrid component (Flash Professional only)
DataGrid class (Flash Professional only)
DataGrid.addColumn()
DataGrid.addColumnAt()
DataGrid.addItem()
DataGrid.addItemAt()
DataGrid.cellEdit
DataGrid.cellFocusIn
DataGrid.cellFocusOut
DataGrid.cellPress
DataGrid.change
DataGrid.columnCount
DataGrid.columnNames
DataGrid.columnStretch
DataGrid.dataProvider
DataGrid.editable
DataGrid.editField()
DataGrid.focusedCell
DataGrid.getColumnAt()
DataGrid.getColumnIndex()
DataGrid.headerHeight
DataGrid.headerRelease
DataGrid.hScrollPolicy
DataGrid.removeAllColumns()
DataGrid.removeColumnAt()
DataGrid.replaceItemAt()
DataGrid.resizableColumns
DataGrid.selectable
DataGrid.showHeaders
DataGrid.sortableColumns
DataGrid.spaceColumnsEqually()
DataGridColumn class (Flash Professional only)
DataGridColumn.cellRenderer
DataGridColumn.columnName
DataGridColumn.editable
DataGridColumn.headerRenderer
DataGridColumn.headerText
DataGridColumn.labelFunction
DataGridColumn.resizable
DataGridColumn.sortable
DataGridColumn.sortOnHeaderRelease
DataGridColumn.width
DataHolder component (Flash Professional only)
Creating an application with the DataHolder component (Flash Professional only)
DataHolder class
DataHolder.data
DataProvider API
DataProvider.addItem()
DataProvider.addItemAt()
DataProvider.editField()
DataProvider.getEditingData()
DataProvider.getItemAt()
DataProvider.getItemID()
DataProvider.length
DataProvider.modelChanged
DataProvider.removeAll()
DataProvider.removeItemAt()
DataProvider.replaceItemAt()
DataProvider.sortItems()
DataProvider.sortItemsBy()
DataSet component (Flash Professional only)
Using the DataSet component
DataSet class (Flash Professional only)
DataSet.addItem
DataSet.addItem()
DataSet.addItemAt()
DataSet.addSort()
DataSet.afterLoaded
DataSet.applyUpdates()
DataSet.calcFields
DataSet.changesPending()
DataSet.clear()
DataSet.createItem()
DataSet.currentItem
DataSet.dataProvider
DataSet.deltaPacket
DataSet.deltaPacketChanged
DataSet.disableEvents()
DataSet.enableEvents()
DataSet.filtered
DataSet.filterFunc
DataSet.find()
DataSet.findFirst()
DataSet.findLast()
DataSet.first()
DataSet.getItemId()
DataSet.getIterator()
DataSet.getLength()
DataSet.hasNext()
DataSet.hasPrevious()
DataSet.hasSort()
DataSet.isEmpty()
DataSet.items
DataSet.itemClassName
DataSet.iteratorScrolled
DataSet.last()
DataSet.length
DataSet.loadFromSharedObj()
DataSet.locateById()
DataSet.logChanges
DataSet.modelChanged
DataSet.newItem
DataSet.next()
DataSet.previous()
DataSet.properties
DataSet.readOnly
DataSet.removeAll()
DataSet.removeItem
DataSet.removeItem()
DataSet.removeItemAt()
DataSet.removeRange()
DataSet.removeSort()
DataSet.resolveDelta
DataSet.saveToSharedObj()
DataSet.schema
DataSet.selectedIndex
DataSet.setIterator()
DataSet.setRange()
DataSet.skip()
DataSet.useSort()
DateChooser component (Flash Professional only)
Using the DateChooser component (Flash Professional only)
Customizing the DateChooser component (Flash Professional only)
DateChooser class (Flash Professional only)
DateChooser.change
DateChooser.dayNames
DateChooser.disabledDays
DateChooser.disabledRanges
DateChooser.displayedMonth
DateChooser.displayedYear
DateChooser.firstDayOfWeek
DateChooser.monthNames
DateChooser.scroll
DateChooser.selectableRange
DateChooser.selectedDate
DateChooser.showToday
DateField component (Flash Professional only)
Using the DateField component (Flash Professional only)
Customizing the DateField component (Flash Professional only)
DateField class (Flash Professional only)
DateField.change
DateField.close()
DateField.close
DateField.dateFormatter
DateField.dayNames
DateField.disabledDays
DateField.disabledRanges
DateField.displayedMonth
DateField.displayedYear
DateField.firstDayOfWeek
DateField.monthNames
DateField.open()
DateField.open
DateField.pullDown
DateField.scroll
DateField.selectableRange
DateField.selectedDate
DateField.showToday
Delegate class
Delegate.create()
Delta interface (Flash Professional only)
Delta.addDeltaItem()
Delta.getChangeList()
Delta.getDeltaPacket()
Delta.getId()
Delta.getItemByName()
Delta.getMessage()
Delta.getOperation()
Delta.getSource()
DeltaItem class (Flash Professional only)
DeltaItem.argList
DeltaItem.curValue
DeltaItem.delta
DeltaItem.kind
DeltaItem.message
DeltaItem.name
DeltaItem.newValue
DeltaItem.oldValue
DeltaPacket interface (Flash Professional only)
DeltaPacket.getConfigInfo()
DeltaPacket.getIterator()
DeltaPacket.getSource()
DeltaPacket.getTimestamp()
DeltaPacket.getTransactionId()
DeltaPacket.logChanges()
DepthManager class
DepthManager.createChildAtDepth()
DepthManager.createClassChildAtDepth()
DepthManager.createClassObjectAtDepth()
DepthManager.createObjectAtDepth()
DepthManager.kBottom
DepthManager.kCursor
DepthManager.kNotopmost
DepthManager.kTooltip
DepthManager.kTop
DepthManager.kTopmost
DepthManager.setDepthAbove()
DepthManager.setDepthBelow()
DepthManager.setDepthTo()
EventDispatcher class
Event objects
EventDispatcher class (API)
EventDispatcher.addEventListener()
EventDispatcher.dispatchEvent()
EventDispatcher.removeEventListener()
FocusManager class
Using the Focus Manager
Customizing the Focus Manager
FocusManager class (API)
FocusManager.defaultPushButton
FocusManager.defaultPushButtonEnabled
FocusManager.enabled
FocusManager.getFocus()
FocusManager.nextTabIndex
FocusManager.sendDefaultPushButtonEvent()
FocusManager.setFocus()
Form class (Flash Professional only)
Using the Form class (Flash Professional only)
Form class (Flash Professional only)
Form.currentFocusedForm
Form.getChildForm()
Form.indexInParentForm
Form.numChildForms
Form.parentIsForm
Form.parentForm
Form.rootForm
Form.visible
Iterator interface (Flash Professional only)
Iterator.hasNext()
Iterator.next()
Label component
Using the label component
Customizing the Label component
Label class
Label.autoSize
Label.html
Label.text
List component
Using the List component
Customizing the List component
List class
List.addItem()
List.addItemAt()
List.cellRenderer
List.change
List.dataProvider
List.getItemAt()
List.hPosition
List.hScrollPolicy
List.iconField
List.iconFunction
List.itemRollOut
List.itemRollOver
List.labelField
List.labelFunction
List.length
List.maxHPosition
List.multipleSelection
List.removeAll()
List.removeItemAt()
List.replaceItemAt()
List.rowCount
List.rowHeight
List.scroll
List.selectable
List.selectedIndex
List.selectedIndices
List.selectedItem
List.selectedItems
List.setPropertiesAt()
List.sortItems()
List.sortItemsBy()
List.vPosition
List.vScrollPolicy
Loader component
Using the Loader component
Customizing the Loader component
Loader class
Loader.autoLoad
Loader.bytesLoaded
Loader.bytesTotal
Loader.complete
Loader.content
Loader.contentPath
Loader.load()
Loader.percentLoaded
Loader.progress
Loader.scaleContent
Media components (Flash Professional only)
Interacting with media components (Flash Professional only)
Understanding media components (Flash Professional only)
Using media components (Flash Professional only)
Media component parameters (Flash Professional only)
Creating applications with media components (Flash Professional only)
Customizing media components (Flash Professional only)
Media class (Flash Professional only)
Media.activePlayControl
Media.addCuePoint()
Media.aspectRatio
Media.associateController()
Media.associateDisplay()
Media.autoPlay
Media.autoSize
Media.backgroundStyle
Media.bytesLoaded
Media.bytesTotal
Media.change
Media.click
Media.complete
Media.contentPath
Media.controllerPolicy
Media.controlPlacement
Media.cuePoint
Media.cuePoints
Media.displayFull()
Media.displayNormal()
Media.getCuePoint()
Media.horizontal
Media.mediaType
Media.pause()
Media.play()
Media.playheadChange
Media.playheadTime
Media.playing
Media.preferredHeight
Media.preferredWidth
Media.progress
Media.removeAllCuePoints()
Media.removeCuePoint()
Media.setMedia()
Media.stop()
Media.totalTime
Media.volume
Media.volume
Menu component (Flash Professional only)
Interacting with the Menu component (Flash Professional only)
Using the Menu component (Flash Professional only)
About menu item types (Flash Professional only)
About initialization object properties (Flash Professional only)
Menu parameters (Flash Professional only)
Creating an application with the Menu component (Flash Professional only)
Customizing the Menu component (Flash Professional only)
Menu class (Flash Professional only)
Menu.addMenuItem()
Menu.addMenuItemAt()
Menu.change
Menu.createMenu()
Menu.dataProvider
Menu.getMenuItemAt()
Menu.hide()
Menu.indexOf()
Menu.menuHide
Menu.menuShow
Menu.removeAll()
Menu.removeMenuItem()
Menu.removeMenuItemAt()
Menu.rollOut
Menu.rollOver
Menu.setMenuItemEnabled()
Menu.setMenuItemSelected()
Menu.show()
MenuDataProvider class
MenuDataProvider.addMenuItem()
MenuDataProvider.addMenuItemAt()
MenuDataProvider.getMenuItemAt()
MenuDataProvider.indexOf()
MenuDataProvider.removeMenuItem()
MenuDataProvider.removeMenuItemAt()
MenuBar component (Flash Professional only)
Interacting with the MenuBar component (Flash Professional only)
Using the MenuBar component (Flash Professional only)
Customizing the MenuBar component (Flash Professional only)
MenuBar class (Flash Professional only)
MenuBar.addMenu()
MenuBar.addMenuAt()
MenuBar.dataProvider
MenuBar.getMenuAt()
MenuBar.getMenuEnabledAt()
MenuBar.labelField
MenuBar.labelFunction
MenuBar.removeMenuAt()
MenuBar.setMenuEnabledAt()
NumericStepper component
Using the NumericStepper component
Customizing the NumericStepper component
NumericStepper class
NumericStepper.change
NumericStepper.maximum
NumericStepper.minimum
NumericStepper.nextValue
NumericStepper.previousValue
NumericStepper.stepSize
NumericStepper.value
PopUpManager class
PopUpManager.createPopUp()
PopUpManager.deletePopUp()
ProgressBar component
Using the ProgressBar component
Customizing the ProgressBar component
ProgressBar class
ProgressBar.complete
ProgressBar.conversion
ProgressBar.direction
ProgressBar.indeterminate
ProgressBar.label
ProgressBar.labelPlacement
ProgressBar.maximum
ProgressBar.minimum
ProgressBar.mode
ProgressBar.percentComplete
ProgressBar.progress
ProgressBar.setProgress()
ProgressBar.source
ProgressBar.value
RadioButton component
Using the RadioButton component
Customizing the RadioButton component
RadioButton class
RadioButton.click
RadioButton.data
RadioButton.groupName
RadioButton.label
RadioButton.labelPlacement
RadioButton.selected
RadioButton.selectedData
RadioButton.selection
RadioButtonGroup component
RDBMSResolver component (Flash Professional only)
Using the RDBMSResolver component (Flash Professional only)
RDBMSResolver class (Flash Professional only)
RDBMSResolver.addFieldInfo()
RDBMSResolver.beforeApplyUpdates
RDBMSResolver.deltaPacket
RDBMSResolver.fieldInfo
RDBMSResolver.nullValue
RDBMSResolver.reconcileResults
RDBMSResolver.reconcileUpdates
RDBMSResolver.tableName
RDBMSResolver.updateMode
RDBMSResolver.updatePacket
RDBMSResolver.updateResults
RectBorder class
Using styles with the RectBorder class
Creating a custom RectBorder implementation
Screen class (Flash Professional only)
Loading external content into screens (Flash Professional only)
Screen class (API) (Flash Professional only)
Screen.allTransitionsInDone
Screen.allTransitionsOutDone
Screen.currentFocusedScreen
Screen.getChildScreen()
Screen.indexInParent
Screen.mouseDown
Screen.mouseDownSomewhere
Screen.mouseMove
Screen.mouseOut
Screen.mouseOver
Screen.mouseUp
Screen.mouseUpSomewhere
Screen.numChildScreens
Screen.parentIsScreen
Screen.parentScreen
Screen.rootScreen
ScrollPane component
Using the ScrollPane component
Customizing the ScrollPane component
ScrollPane class
ScrollPane.complete
ScrollPane.content
ScrollPane.contentPath
ScrollPane.getBytesLoaded()
ScrollPane.getBytesTotal()
ScrollPane.hLineScrollSize
ScrollPane.hPageScrollSize
ScrollPane.hPosition
ScrollPane.hScrollPolicy
ScrollPane.progress
ScrollPane.refreshPane()
ScrollPane.scroll
ScrollPane.scrollDrag
ScrollPane.vLineScrollSize
ScrollPane.vPageScrollSize
ScrollPane.vPosition
ScrollPane.vScrollPolicy
SimpleButton class
SimpleButton.click
SimpleButton.emphasized
SimpleButton.emphasizedStyleDeclaration
SimpleButton.selected
SimpleButton.toggle
Slide class (Flash Professional only)
Using the Slide class (Flash Professional only)
Slide class (API) (Flash Professional only)
Slide.autoKeyNav
Slide.currentChildSlide
Slide.currentFocusedSlide
Slide.currentSlide
Slide.defaultKeydownHandler
Slide.firstSlide
Slide.getChildSlide()
Slide.gotoFirstSlide()
Slide.gotoLastSlide()
Slide.gotoNextSlide()
Slide.gotoPreviousSlide()
Slide.gotoSlide()
Slide.hideChild
Slide.indexInParentSlide
Slide.lastSlide
Slide.nextSlide
Slide.numChildSlides
Slide.overlayChildren
Slide.parentIsSlide
Slide.playHidden
Slide.previousSlide
Slide.revealChild
Slide.rootSlide
StyleManager class
StyleManager.registerColorName()
StyleManager.registerColorStyle()
StyleManager.registerInheritingStyle()
SystemManager class
SystemManager.screen
TextArea component
Using the TextArea component
Customizing the TextArea component
TextArea class
TextArea.change
TextArea.editable
TextArea.hPosition
TextArea.hScrollPolicy
TextArea.html
TextArea.length
TextArea.maxChars
TextArea.maxHPosition
TextArea.maxVPosition
TextArea.password
TextArea.restrict
TextArea.styleSheet
TextArea.text
TextArea.vPosition
TextArea.vScrollPolicy
TextArea.wordWrap
TextInput component
Using the TextInput component
Customizing the TextInput component
TextInput class
TextInput.change
TextInput.editable
TextInput.enter
TextInput.hPosition
TextInput.length
TextInput.maxChars
TextInput.maxHPosition
TextInput.password
TextInput.restrict
TextInput.text
TransferObject interface
TransferObject.clone()
TransferObject.getPropertyData()
TransferObject.setPropertyData()
Tree component (Flash Professional only)
Using the Tree component (Flash Professional only)
Customizing the Tree component (Flash Professional only)
Tree class (Flash Professional only)
Tree.addTreeNode()
Tree.addTreeNodeAt()
Tree.dataProvider
Tree.firstVisibleNode
Tree.getDisplayIndex()
Tree.getIsBranch()
Tree.getIsOpen()
Tree.getNodeDisplayedAt()
Tree.getTreeNodeAt()
Tree.nodeClose
Tree.nodeOpen
Tree.refresh()
Tree.removeAll()
Tree.removeTreeNodeAt()
Tree.selectedNode
Tree.selectedNodes
Tree.setIcon()
Tree.setIsBranch()
Tree.setIsOpen()
TreeDataProvider interface (Flash Professional only)
TreeDataProvider.addTreeNode()
TreeDataProvider.addTreeNodeAt()
TreeDataProvider.attributes.data
TreeDataProvider.attributes.label
TreeDataProvider.getTreeNodeAt()
TreeDataProvider.removeTreeNode()
TreeDataProvider.removeTreeNodeAt()
UIComponent class
UIComponent class (API)
UIComponent.enabled
UIComponent.focusIn
UIComponent.focusOut
UIComponent.getFocus()
UIComponent.keyDown
UIComponent.keyUp
UIComponent.setFocus()
UIComponent.tabIndex
UIEventDispatcher class
UIEventDispatcher.keyDown
UIEventDispatcher.keyUp
UIEventDispatcher.load
UIEventDispatcher.mouseDown
UIEventDispatcher.mouseOut
UIEventDispatcher.mouseOver
UIEventDispatcher.mouseUp
UIEventDispatcher.removeEventListener()
UIEventDispatcher.unload
UIObject class
UIObject.bottom
UIObject.createClassObject()
UIObject.createObject()
UIObject.destroyObject()
UIObject.doLater()
UIObject.draw
UIObject.getStyle()
UIObject.height
UIObject.hide
UIObject.invalidate()
UIObject.left
UIObject.load
UIObject.move
UIObject.move()
UIObject.redraw()
UIObject.resize
UIObject.reveal
UIObject.right
UIObject.scaleX
UIObject.scaleY
UIObject.setSize()
UIObject.setSkin()
UIObject.setStyle()
UIObject.top
UIObject.unload
UIObject.visible
UIObject.width
UIObject.x
UIObject.y
UIScrollBar component
Using the UIScrollBar component
Customizing the UIScrollBar component
UIScrollBar class
UIScrollBar.horizontal
UIScrollBar.lineScrollSize
UIScrollBar.pageScrollSize
UIScrollBar.scroll
UIScrollBar.scrollPosition
UIScrollBar.setScrollProperties()
UIScrollBar.setScrollTarget()
UIScrollBar._targetInstanceName
Web service classes (Flash Professional only)
Making web service classes available at runtime (Flash Professional only)
Log class (Flash Professional only)
Log.onLog()
PendingCall class (Flash Professional only)
PendingCall.getOutputParameter()
PendingCall.getOutputParameterByName()
PendingCall.getOutputParameters()
PendingCall.getOutputValue()
PendingCall.getOutputValues()
PendingCall.myCall
PendingCall.onFault
PendingCall.onResult
PendingCall.request
PendingCall.response
SOAPCall class (Flash Professional only)
SOAPCall.concurrency
SOAPCall.doDecoding
SOAPCall.doLazyDecoding
WebService class (Flash Professional only)
Supported types (Flash Professional only)
WebService security (Flash Professional only)
Constructor for the WebService class
WebService.getCall()
WebService.myMethodName()
WebService.onFault
WebService.onLoad
WebServiceConnector component (Flash Professional only)
Using the WebServiceConnector component (Flash Professional only)
WebServiceConnector class (Flash Professional only)
WebServiceConnector.multipleSimultaneousAllowed
WebServiceConnector.operation
WebServiceConnector.params
WebServiceConnector.result
WebServiceConnector.results
WebServiceConnector.send
WebServiceConnector.status
WebServiceConnector.suppressInvalidCalls
WebServiceConnector.timeout
WebServiceConnector.trigger()
WebServiceConnector.WSDLURL
Window component
Using the Window component
Customizing the Window component
Window class
Window.click
Window.closeButton
Window.complete
Window.content
Window.contentPath
Window.deletePopUp()
Window.mouseDownOutside
Window.title
Window.titleStyleDeclaration
XMLConnector component (Flash Professional only)
Using the XMLConnector component (Flash Professional only)
XMLConnector class (Flash Professional only)
XMLConnector.direction
XMLConnector.ignorewhite
XMLConnector.multipleSimultaneousAllowed
XMLConnector.params
XMLConnector.result
XMLConnector.results
XMLConnector.send
XMLConnector.status
XMLConnector.suppressInvalidCalls
XMLConnector.trigger()
XMLConnector.URL
XUpdateResolver component (Flash Professional only)
Using the XUpdateResolver component (Flash Professional only)
XUpdateResolver class (Flash Professional only)
XUpdateResolver.beforeApplyUpdates
XUpdateResolver.deltaPacket
XUpdateResolver.includeDeltaPacketInfo
XUpdateResolver.reconcileResults
XUpdateResolver.updateResults
XUpdateResolver.xupdatePacket
Component source files
What's new in version 2 components
Overview of component structure
Building your first component
Creating the Dial Flash (FLA) file
Creating the Dial class file
Testing and exporting the Dial component
Selecting a parent class
Creating a component movie clip
Creating the ActionScript class file
Importing classes
Defining the class and its superclass
Identifying the class, symbol, and owner names
Defining variables
Using getter/setter methods to define parameters
Adding component metadata
Defining component parameters
Defining core functions
Dispatching events
About assigning skins
About styles
Exporting and distributing a component
Understanding SWC files
Exporting SWC files
Importing component SWC files into Flash
Adding the finishing touches
Component development checklist
Defining a collection property
Simple collection example
Defining the class for a collection item
Accessing collection information programmatically
Accessing collection information in a component class (AS) file
Accessing collection items at runtime in a Flash application
Exporting components that have collections to SWC files
Using a component that has a collection property
JavaScript Dictionary
Overview of the Macromedia Flash JavaScript API
The Flash Document Object Model
The Document object
Specifying the target of an action
Summary of the DOM structure
The PolyStar example
activate()
configureEffect()
configureTool()
deactivate()
executeEffect()
keyDown()
keyUp()
mouseDoubleClick()
mouseDown()
mouseMove()
mouseUp()
notifySettingsChanged()
removeEffect()
setCursor()
BitmapInstance object
bitmapInstance.getBits()
bitmapInstance.hPixels
bitmapInstance.setBits()
bitmapInstance.vPixels
BitmapItem object
bitmapItem.allowSmoothing
bitmapItem.compressionType
bitmapItem.quality
bitmapItem.useImportedJPEGQuality
CompiledClipInstance object
compiledClipInstance.accName
compiledClipInstance.actionScript
compiledClipInstance.description
compiledClipInstance.forceSimple
compiledClipInstance.shortcut
compiledClipInstance.silent
compiledClipInstance.tabIndex
ComponentInstance object
componentInstance.parameters
componentsPanel object
componentsPanel.addItemToDocument()
Contour object
contour.getHalfEdge()
contour.interior
contour.orientation
Document object
document.accName
document.addDataToDocument()
document.addDataToSelection()
document.addItem()
document.addNewLine()
document.addNewOval()
document.addNewPublishProfile()
document.addNewRectangle()
document.addNewScene()
document.addNewText()
document.align()
document.allowScreens()
document.arrange()
document.autoLabel
document.backgroundColor
document.breakApart()
document.canEditSymbol()
document.canRevert()
document.canTestMovie()
document.canTestScene()
document.clipCopy()
document.clipCut()
document.clipPaste()
document.close()
document.convertLinesToFills()
document.convertToSymbol()
document.currentPublishProfile
document.currentTimeline
document.deletePublishProfile()
document.deleteScene()
document.deleteSelection()
document.description
document.distribute()
document.distributeToLayers()
document.documentHasData()
document.duplicatePublishProfile()
document.duplicateScene()
document.duplicateSelection()
document.editScene()
document.enterEditMode()
document.exitEditMode()
document.exportPublishProfile()
document.exportSWF()
document.forceSimple
document.frameRate
document.getAlignToDocument()
document.getCustomFill()
document.getCustomStroke()
document.getDataFromDocument()
document.getElementProperty()
document.getElementTextAttr()
document.getSelectionRect()
document.getTextString()
document.getTimeline()
document.getTransformationPoint()
document.group()
document.height
document.importPublishProfile()
document.importSWF()
document.library
document.livePreview
document.match()
document.mouseClick()
document.mouseDblClk()
document.moveSelectedBezierPointsBy()
document.moveSelectionBy()
document.name
document.optimizeCurves()
document.path
document.publish()
document.publishProfiles
document.removeDataFromDocument()
document.removeDataFromSelection()
document.renamePublishProfile()
document.renameScene()
document.reorderScene()
document.resetTransformation()
document.revert()
document.rotateSelection()
document.save()
document.saveAndCompact()
document.scaleSelection()
document.screenOutline
document.selectAll()
document.selection
document.selectNone()
document.setAlignToDocument()
document.setCustomFill()
document.setCustomStroke()
document.setElementProperty()
document.setElementTextAttr()
document.setFillColor()
document.setInstanceAlpha()
document.setInstanceBrightness()
document.setInstanceTint()
document.setSelectionBounds()
document.setSelectionRect()
document.setStroke()
document.setStrokeColor()
document.setStrokeSize()
document.setStrokeStyle()
document.setTextRectangle()
document.setTextSelection()
document.setTextString()
document.setTransformationPoint()
document.silent
document.skewSelection()
document.smoothSelection()
document.space()
document.straightenSelection()
document.swapElement()
document.testMovie()
document.testScene()
document.timelines
document.traceBitmap()
document.transformSelection()
document.unGroup()
document.unlockAllElements()
document.viewMatrix
document.width
document.xmlPanel()
drawingLayer object
drawingLayer.beginDraw()
drawingLayer.beginFrame()
drawingLayer.cubicCurveTo()
drawingLayer.curveTo()
drawingLayer.drawPath()
drawingLayer.endDraw()
drawingLayer.endFrame()
drawingLayer.lineTo()
drawingLayer.moveTo()
drawingLayer.newPath()
drawingLayer.setColor()
Edge object
edge.getControl()
edge.getHalfEdge()
edge.id
edge.isLine
edge.setControl()
edge.splitEdge()
Effect object
effect.effectName
effect.groupName
effect.sourceFile
effect.symbolType
effect.useXMLToUI
Element object
element.depth
element.elementType
element.getPersistentData()
element.hasPersistentData()
element.height
element.left
element.locked
element.matrix
element.name
element.removePersistentData()
element.setPersistentData()
element.top
element.width
EmbeddedVideoInstance object
Fill object
fill.color
fill.colorArray
fill.matrix
fill.posArray
fill.style
flash object
fl.activeEffect
fl.browseForFileURL()
fl.closeAll()
fl.closeDocument()
fl.componentsPanel
fl.configDirectory
fl.configURI
fl.createDocument()
fl.createNewDocList
fl.createNewDocListType
fl.createNewTemplateList
fl.documents
fl.drawingLayer
fl.effects
fl.enableImmediateUpdates()
fl.fileExists()
fl.findDocumentIndex()
fl.getDocumentDOM()
fl.mapPlayerURL()
fl.Math
fl.mruRecentFileList
fl.mruRecentFileListType
fl.openDocument()
fl.openProject()
fl.openScript()
fl.outputPanel
fl.quit()
fl.reloadEffects()
fl.reloadTools()
fl.revertDocument()
fl.runScript()
fl.saveAll()
fl.saveDocument()
fl.saveDocumentAs()
fl.setActiveWindow()
fl.tools
fl.trace()
fl.version
fl.xmlui
folderItem object
fontItem object
Frame object
frame.actionScript
frame.duration
frame.elements
frame.labelType
frame.motionTweenOrientToPath
frame.motionTweenRotate
frame.motionTweenRotateTimes
frame.motionTweenScale
frame.motionTweenSnap
frame.motionTweenSync
frame.name
frame.shapeTweenBlend
frame.soundEffect
frame.soundLibraryItem
frame.soundLoop
frame.soundLoopMode
frame.soundName
frame.soundSync
frame.startFrame
frame.tweenEasing
frame.tweenType
HalfEdge object
halfEdge.getEdge()
halfEdge.getNext()
halfEdge.getOppositeHalfEdge()
halfEdge.getPrev()
halfEdge.getVertex()
halfEdge.id
Instance object
instance.instanceType
instance.libraryItem
Item object
item.addData()
item.getData()
item.hasData()
item.itemType
item.linkageClassName
item.linkageExportForAS
item.linkageExportForRS
item.linkageExportInFirstFrame
item.linkageIdentifier
item.linkageImportForRS
item.linkageURL
item.name
item.removeData()
Layer object
layer.color
layer.frameCount
layer.frames
layer.height
layer.layerType
layer.locked
layer.name
layer.outline
layer.parentLayer
layer.visible
library object
library.addItemToDocument()
library.addNewItem()
library.deleteItem()
library.duplicateItem()
library.editItem()
library.expandFolder()
library.findItemIndex()
library.getItemProperty()
library.getItemType()
library.getSelectedItems()
library.importEmbeddedSWF()
library.itemExists()
library.items
library.moveToFolder()
library.newFolder()
library.renameItem()
library.selectAll()
library.selectItem()
library.selectNone()
library.setItemProperty()
library.updateItem()
LinkedVideoInstance object
Math object
Math.concatMatrix()
Math.invertMatrix()
Math.pointDistance()
Matrix object
matrix.a
matrix.b
matrix.c
matrix.d
matrix.tx
matrix.ty
outputPanel object
outputPanel.clear()
outputPanel.save()
outputPanel.trace()
Parameter object
parameter.category
parameter.insertItem()
parameter.listIndex
parameter.name
parameter.removeItem()
parameter.value
parameter.valueType
parameter.verbose
Path object
path.addCubicCurve()
path.addCurve()
path.addPoint()
path.clear()
path.close()
path.makeShape()
path.newContour()
path.nPts
Screen object
screen.accName
screen.childScreens
screen.description
screen.forceSimple
screen.hidden
screen.instanceName
screen.name
screen.nextScreen
screen.parameters
screen.parentScreen
screen.prevScreen
screen.silent
screen.tabIndex
screen.timeline
ScreenOutline object
screenOutline.copyScreenFromFile()
screenOutline.currentScreen
screenOutline.deleteScreen()
screenOutline.duplicateScreen()
screenOutline.getSelectedScreens()
screenOutline.insertNestedScreen()
screenOutline.insertScreen()
screenOutline.moveScreen()
screenOutline.renameScreen()
screenOutline.rootScreen
screenOutline.screens
screenOutline.setCurrentScreen()
screenOutline.setScreenProperty()
screenOutline.setSelectedScreens()
Shape object
shape.beginEdit()
shape.contours
shape.deleteEdge()
shape.edges
shape.endEdit()
shape.isGroup
shape.vertices
SoundItem object
soundItem.bitRate
soundItem.bits
soundItem.compressionType
soundItem.convertStereoToMono
soundItem.quality
soundItem.sampleRate
soundItem.useImportedMP3Quality
Stroke object
stroke.breakAtCorners
stroke.color
stroke.curve
stroke.dash1
stroke.dash2
stroke.density
stroke.dotSize
stroke.dotSpace
stroke.hatchThickness
stroke.jiggle
stroke.length
stroke.pattern
stroke.rotate
stroke.space
stroke.style
stroke.thickness
stroke.variation
stroke.waveHeight
stroke.waveLength
SymbolInstance object
symbolInstance.accName
symbolInstance.actionScript
symbolInstance.buttonTracking
symbolInstance.colorAlphaAmount
symbolInstance.colorAlphaPercent
symbolInstance.colorBlueAmount
symbolInstance.colorBluePercent
symbolInstance.colorGreenAmount
symbolInstance.colorGreenPercent
symbolInstance.colorMode
symbolInstance.colorRedAmount
symbolInstance.colorRedPercent
symbolInstance.description
symbolInstance.firstFrame
symbolInstance.forceSimple
symbolInstance.loop
symbolInstance.shortcut
symbolInstance.silent
symbolInstance.symbolType
symbolInstance.tabIndex
SymbolItem object
symbolItem.convertToCompiledClip()
symbolItem.exportSWC()
symbolItem.exportSWF()
symbolItem.sourceAutoUpdate
symbolItem.sourceFilePath
symbolItem.sourceLibraryName
symbolItem.symbolType
symbolItem.timeline
TextAttrs object
textAttrs.aliasText
textAttrs.alignment
textAttrs.autoKern
textAttrs.bold
textAttrs.characterPosition
textAttrs.characterSpacing
textAttrs.face
textAttrs.fillColor
textAttrs.indent
textAttrs.italic
textAttrs.leftMargin
textAttrs.lineSpacing
textAttrs.rightMargin
textAttrs.rotation
textAttrs.size
textAttrs.target
textAttrs.url
Text object
text.accName
text.autoExpand
text.border
text.description
text.embeddedCharacters
text.embedRanges
text.getTextAttr()
text.getTextString()
text.length
text.lineType
text.maxCharacters
text.orientation
text.renderAsHTML
text.scrollable
text.selectable
text.selectionEnd
text.selectionStart
text.setTextAttr()
text.setTextString()
text.shortcut
text.silent
text.tabIndex
text.textRuns
text.textType
text.useDeviceFonts
text.variableName
TextRun object
textRun.characters
textRun.textAttrs
Timeline object
timeline.addMotionGuide()
timeline.addNewLayer()
timeline.clearFrames()
timeline.clearKeyframes()
timeline.convertToBlankKeyframes()
timeline.convertToKeyframes()
timeline.copyFrames()
timeline.createMotionTween()
timeline.currentFrame
timeline.currentLayer
timeline.cutFrames()
timeline.deleteLayer()
timeline.expandFolder()
timeline.findLayerIndex()
timeline.frameCount
timeline.getFrameProperty()
timeline.getLayerProperty()
timeline.getSelectedFrames()
timeline.getSelectedLayers()
timeline.insertBlankKeyframe()
timeline.insertFrames()
timeline.insertKeyframe()
timeline.layerCount
timeline.layers
timeline.name
timeline.pasteFrames()
timeline.removeFrames()
timeline.reorderLayer()
timeline.reverseFrames()
timeline.selectAllFrames()
timeline.setFrameProperty()
timeline.setLayerProperty()
timeline.setSelectedFrames()
timeline.setSelectedLayers()
timeline.showLayerMasking()
ToolObj object
toolObj.enablePIControl()
toolObj.position
toolObj.setIcon()
toolObj.setMenuString()
toolObj.setOptionsFile()
toolObj.setPI()
toolObj.setToolName()
toolObj.setToolTip()
toolObj.showPIControl()
toolObj.showTransformHandles()
Tools object
tools.activeTool
tools.altIsDown
tools.constrainPoint()
tools.ctlIsDown
tools.getKeyDown()
tools.mouseIsDown
tools.penDownLoc
tools.penLoc
tools.setCursor()
tools.shiftIsDown
tools.snapPoint()
tools.toolObjs
Vertex object
vertex.getHalfEdge()
vertex.setLocation()
vertex.x
vertex.y
VideoItem object
XMLUI object
xmlui.accept()
xmlui.cancel()
xmlui.get()
xmlui.set()
How integrating C functions works
C-level extensibility and the JavaScript interpreter
Sample implementation
Data types
The C-level API
JSBool JS_DefineFunction()
unsigned short *JS_ValueToString()
JSBool JS_ValueToInteger()
JSBool JS_ValueToDouble()
JSBool JS_ValueToBoolean()
JSBool JS_ValueToObject()
JSBool JS_StringToValue()
JSBool JS_DoubleToValue()
JSVal JS_BooleanToValue()
JSVal JS_BytesToValue()
JSVal JS_IntegerToValue()
JSVal JS_ObjectToValue()
unsigned short *JS_ObjectType()
JSObject *JS_NewArrayObject()
long JS_GetArrayLength()
JSBool JS_GetElement()
JSBool JS_SetElement()
JSBool JS_ExecuteScript()
Data Tutorials
Connect to a public web service
Create a user interface and bind the components with the web service
Create the user interface
Edit the data
Update the timesheet