|
 |
Copyright |
|
 |
Foreword |
|
 |
Preface |
|
|
 |
Second Edition Quick Start |
|
|
 |
What's New in Flash MX ActionScript |
|
|
 |
What's New in the Second Edition |
|
|
 |
What's Not in This Book |
|
|
 |
Undocumented ActionScript Features |
|
|
 |
Flash Naming Conventions |
|
|
 |
What Can ActionScript Do? |
|
|
 |
The Code Depot |
|
|
 |
Showcase |
|
|
 |
Typographical Conventions |
|
|
 |
We'd Like to Hear from You |
|
|
 |
Acknowledgments |
|
|
 |
Part I:
ActionScript Fundamentals |
|
|
 |
Chapter 1.
A Gentle Introductionfor Nonprogrammers |
|
|
 |
Section 1.1.
Some Basic Phrases |
|
|
 |
Section 1.2.
Further ActionScript Concepts |
|
|
 |
Section 1.3.
Building a Multiple-Choice Quiz |
|
|
 |
Section 1.4.
Onward! |
|
|
|
 |
Chapter 2.
Variables |
|
|
 |
Section 2.1.
Creating Variables (Declaration) |
|
|
 |
Section 2.2.
Assigning Values to Variables |
|
|
 |
Section 2.3.
Changing and Retrieving Variable Values |
|
|
 |
Section 2.4.
Types of Values |
|
|
 |
Section 2.5.
Variable Scope |
|
|
 |
Section 2.6.
Loading External Variables |
|
|
 |
Section 2.7.
Some Applied Examples |
|
|
 |
Section 2.8.
Onward! |
|
|
|
 |
Chapter 3.
Data and Datatypes |
|
|
 |
Section 3.1.
Data Versus Information |
|
|
 |
Section 3.2.
Retaining Meaning with Datatypes |
|
|
 |
Section 3.3.
Creating and Categorizing Data |
|
|
 |
Section 3.4.
Datatype Conversion |
|
|
 |
Section 3.5.
Primitive Data Versus Composite Data |
|
|
 |
Section 3.6.
Copying, Comparing, and Passing Data |
|
|
 |
Section 3.7.
Onward! |
|
|
|
 |
Chapter 4.
Primitive Datatypes |
|
|
 |
Section 4.1.
The Number Type |
|
|
 |
Section 4.2.
Integers and Floating-Point Numbers |
|
|
 |
Section 4.3.
Numeric Literals |
|
|
 |
Section 4.4.
Working with Numbers |
|
|
 |
Section 4.5.
The String Type |
|
|
 |
Section 4.6.
Working with Strings |
|
|
 |
Section 4.7.
The Boolean Type |
|
|
 |
Section 4.8.
Undefined |
|
|
 |
Section 4.9.
Null |
|
|
 |
Section 4.10.
Onward! |
|
|
|
 |
Chapter 5.
Operators |
|
|
 |
Section 5.1.
General Features of Operators |
|
|
 |
Section 5.2.
The Assignment Operator |
|
|
 |
Section 5.3.
Arithmetic Operators |
|
|
 |
Section 5.4.
The Equality and Inequality Operators |
|
|
 |
Section 5.5.
The Strict Equality and Inequality Operators |
|
|
 |
Section 5.6.
The Comparison Operators |
|
|
 |
Section 5.7.
The Flash 4 String Operators |
|
|
 |
Section 5.8.
The Logical Operators |
|
|
 |
Section 5.9.
The Grouping Operator |
|
|
 |
Section 5.10.
The Comma Operator |
|
|
 |
Section 5.11.
The void Operator |
|
|
 |
Section 5.12.
Other Operators |
|
|
 |
Section 5.13.
Onward! |
|
|
|
 |
Chapter 6.
Statements |
|
|
 |
Section 6.1.
Types of Statements |
|
|
 |
Section 6.2.
Statement Syntax |
|
|
 |
Section 6.3.
The ActionScript Statements |
|
|
 |
Section 6.4.
Statements Versus Actions |
|
|
 |
Section 6.5.
Onward! |
|
|
|
 |
Chapter 7.
Conditionals |
|
|
 |
Section 7.1.
The if Statement |
|
|
 |
Section 7.2.
The else Statement |
|
|
 |
Section 7.3.
The else if Statement |
|
|
 |
Section 7.4.
The switch Statement |
|
|
 |
Section 7.5.
Compact Conditional Syntax |
|
|
 |
Section 7.6.
Onward! |
|
|
|
 |
Chapter 8.
Loop Statements |
|
|
 |
Section 8.1.
The while Loop |
|
|
 |
Section 8.2.
Loop Terminology |
|
|
 |
Section 8.3.
The do-while Loop |
|
|
 |
Section 8.4.
The for Loop |
|
|
 |
Section 8.5.
The for-in Loop |
|
|
 |
Section 8.6.
Stopping a Loop Prematurely |
|
|
 |
Section 8.7.
Timeline and Clip Event Loops |
|
|
 |
Section 8.8.
An Alternative to Timeline Loops:setInterval( ) |
|
|
 |
Section 8.9.
Onward! |
|
|
|
 |
Chapter 9.
Functions |
|
|
 |
Section 9.1.
Creating Functions |
|
|
 |
Section 9.2.
Running Functions |
|
|
 |
Section 9.3.
Passing Information to Functions |
|
|
 |
Section 9.4.
Exiting and Returning Values from Functions |
|
|
 |
Section 9.5.
Function Literals |
|
|
 |
Section 9.6.
Function Availability and Life Span |
|
|
 |
Section 9.7.
Function Scope |
|
|
 |
Section 9.8.
Function Parameters Revisited |
|
|
 |
Section 9.9.
Recursive Functions |
|
|
 |
Section 9.10.
Nested Functions |
|
|
 |
Section 9.11.
Built-in Functions |
|
|
 |
Section 9.12.
Functions as Objects |
|
|
 |
Section 9.13.
Centralizing Code |
|
|
 |
Section 9.14.
The Multiple-Choice Quiz Revisited |
|
|
 |
Section 9.15.
Onward! |
|
|
|
 |
Chapter 10.
Events and Event Handling |
|
|
 |
Section 10.1.
Synchronous Code Execution |
|
|
 |
Section 10.2.
Event-Based Asynchronous Code Execution |
|
|
 |
Section 10.3.
Types of Events |
|
|
 |
Section 10.4.
Event Handling |
|
|
 |
Section 10.5.
Event Handler Properties |
|
|
 |
Section 10.6.
Listener Events |
|
|
 |
Section 10.7.
Flash 5's on( ) and onClipEvent( ) Handlers |
|
|
 |
Section 10.8.
Event Handler Lifespan |
|
|
 |
Section 10.9.
Event Handler Scope |
|
|
 |
Section 10.10.
Values of the this Keyword |
|
|
 |
Section 10.11.
Flash 5-style onClipEvent( ) Order of Execution |
|
|
 |
Section 10.12.
Copying Movie Clip Event Handlers |
|
|
 |
Section 10.13.
Refreshing the Screen with updateAfterEvent( ) |
|
|
 |
Section 10.14.
Code Reusability |
|
|
 |
Section 10.15.
Dynamic Movie Clip Event Handlers |
|
|
 |
Section 10.16.
Event Handlers Applied |
|
|
 |
Section 10.17.
Onward! |
|
|
|
 |
Chapter 11.
Arrays |
|
|
 |
Section 11.1.
What Is an Array? |
|
|
 |
Section 11.2.
The Anatomy of an Array |
|
|
 |
Section 11.3.
Creating Arrays |
|
|
 |
Section 11.4.
Referencing Array Elements |
|
|
 |
Section 11.5.
Determining the Size of an Array |
|
|
 |
Section 11.6.
Named Array Elements |
|
|
 |
Section 11.7.
Adding Elements to an Array |
|
|
 |
Section 11.8.
Removing Elements from an Array |
|
|
 |
Section 11.9.
General Array-Manipulation Tools |
|
|
 |
Section 11.10.
Arrays as Objects |
|
|
 |
Section 11.11.
Multidimensional Arrays |
|
|
 |
Section 11.12.
The Multiple-Choice Quiz, Take 3 |
|
|
 |
Section 11.13.
Onward! |
|
|
|
 |
Chapter 12.
Objects and Classes |
|
|
 |
Section 12.1.
The Anatomy of an Object |
|
|
 |
Section 12.2.
Instantiating Objects |
|
|
 |
Section 12.3.
Object Properties |
|
|
 |
Section 12.4.
Object Methods |
|
|
 |
Section 12.5.
Classes and Object-Oriented Programming |
|
|
 |
Section 12.6.
Using Standalone Object Instances as Associative Arrays |
|
|
 |
Section 12.7.
The Almighty Prototype Chain |
|
|
 |
Section 12.8.
Built-in ActionScript Classes and Objects |
|
|
 |
Section 12.9.
OOP Quick Reference |
|
|
 |
Section 12.10.
Further Topics |
|
|
 |
Section 12.11.
Simulating Namespaces |
|
|
 |
Section 12.12.
The Multiple-Choice Quiz, OOP Style |
|
|
 |
Section 12.13.
Onward! |
|
|
|
 |
Chapter 13.
Movie Clips |
|
|
 |
Section 13.1.
The "Objectness" of Movie Clips |
|
|
 |
Section 13.2.
Types of Movie Clips |
|
|
 |
Section 13.3.
Creating Movie Clips |
|
|
 |
Section 13.4.
Movie and Instance Stacking Order |
|
|
 |
Section 13.5.
Referring to Instances and Main Movies |
|
|
 |
Section 13.6.
Removing Clip Instances and Main Movies |
|
|
 |
Section 13.7.
Method Versus Global Function Overlap Issues |
|
|
 |
Section 13.8.
Drawing in a Movie Clip at Runtime |
|
|
 |
Section 13.9.
Using Movie Clips as Buttons |
|
|
 |
Section 13.10.
Input Focus and Movie Clips |
|
|
 |
Section 13.11.
Building a Clock with Clips |
|
|
 |
Section 13.12.
Onward! |
|
|
|
 |
Chapter 14.
Movie Clip Subclasses and Components |
|
|
 |
Section 14.1.
Creating the Library Symbol |
|
|
 |
Section 14.2.
Creating and Invoking the Subclass Constructor |
|
|
 |
Section 14.3.
Assigning the MovieClip Superclass |
|
|
 |
Section 14.4.
Packaging Subclass Code and Library Symbols Together |
|
|
 |
Section 14.5.
Making Movie Clip Components |
|
|
 |
Section 14.6.
MovieClip Sub-Subclasses |
|
|
 |
Section 14.7.
Summary |
|
|
 |
Section 14.8.
Onward! |
|
|
|
 |
Chapter 15.
Lexical Structure |
|
|
 |
Section 15.1.
Whitespace |
|
|
 |
Section 15.2.
Statement Terminators (Semicolons) |
|
|
 |
Section 15.3.
Comments |
|
|
 |
Section 15.4.
Reserved Words |
|
|
 |
Section 15.5.
Identifiers |
|
|
 |
Section 15.6.
Case Sensitivity |
|
|
 |
Section 15.7.
Onward! |
|
|
|
 |
Chapter 16.
ActionScript Authoring Environment |
|
|
 |
Section 16.1.
The Actions Panel |
|
|
 |
Section 16.2.
Adding Scripts to Frames |
|
|
 |
Section 16.3.
Adding Scripts to Buttons |
|
|
 |
Section 16.4.
Adding Scripts to Movie Clips |
|
|
 |
Section 16.5.
Where's All the Code? |
|
|
 |
Section 16.6.
Productivity |
|
|
 |
Section 16.7.
Externalizing ActionScript Code |
|
|
 |
Section 16.8.
Defining Components |
|
|
 |
Section 16.9.
Onward! |
|
|
|
 |
Chapter 17.
Building a Flash Form |
|
|
 |
Section 17.1.
The Flash Form Data Cycle |
|
|
 |
Section 17.2.
Creating a Flash Fill-in Form |
|
|
 |
Section 17.3.
Onward! |
|
|
|
 |
Part II:
Language Reference |
|
|
 |
Chapter 18.
ActionScript Language Reference |
|
|
 |
Section 18.1.
Global Functions |
|
|
 |
Section 18.2.
Global Properties |
|
|
 |
Section 18.3.
Built-in Classes and Objects |
|
|
 |
Section 18.4.
Entry Headings |
|
|
 |
Section 18.5.
Alphabetical Language Reference |
|
|
 |
Accessibility Object |
|
|
 |
Accessibility.isActive( ) Method |
|
|
 |
Accessibility.sendEvent( ) Method |
|
|
 |
Arguments Object |
|
|
 |
arguments.callee Property |
|
|
 |
arguments.caller Property |
|
|
 |
arguments.length Property |
|
|
 |
Array Class |
|
|
 |
Array.concat( ) Method |
|
|
 |
Array.join( ) Method |
|
|
 |
Array.length Property |
|
|
 |
Array.pop( ) Method |
|
|
 |
Array.push( ) Method |
|
|
 |
Array.reverse( ) Method |
|
|
 |
Array.shift( ) Method |
|
|
 |
Array.slice( ) Method |
|
|
 |
Array.sort( ) Method |
|
|
 |
Array.sortOn( ) Method |
|
|
 |
Array.splice( ) Method |
|
|
 |
Array.toString( ) Method |
|
|
 |
Array.unshift( ) Method |
|
|
 |
Boolean( ) Global Function |
|
|
 |
Boolean Class |
|
|
 |
Boolean.toString( ) Method |
|
|
 |
Boolean.valueOf( ) Method |
|
|
 |
Button Class |
|
|
 |
Button._alpha Property |
|
|
 |
Button.enabled Property |
|
|
 |
Button._focusrect Property |
|
|
 |
Button.getDepth( ) Method |
|
|
 |
Button._height Property |
|
|
 |
Button keyPress Event Handler |
|
|
 |
Button._name Property |
|
|
 |
Button.onDragOut( ) Event Handler |
|
|
 |
Button.onDragOver( ) Event Handler |
|
|
 |
Button.onKillFocus( ) Event Handler |
|
|
 |
Button.onPress( ) Event Handler |
|
|
 |
Button.onRelease( ) Event Handler |
|
|
 |
Button.onReleaseOutside( ) Event Handler |
|
|
 |
Button.onRollOut( ) Event Handler |
|
|
 |
Button.onRollOver( ) Event Handler |
|
|
 |
Button.onSetFocus( ) Event Handler |
|
|
 |
Button._parent Property |
|
|
 |
Button._rotation Property |
|
|
 |
Button.tabEnabled Property |
|
|
 |
Button.tabIndex Property |
|
|
 |
Button._target Property |
|
|
 |
Button.trackAsMenu Property |
|
|
 |
Button._url Property |
|
|
 |
Button.useHandCursor Property |
|
|
 |
Button._visible Property |
|
|
 |
Button._width Property |
|
|
 |
Button._x Property |
|
|
 |
Button._xmouse Property |
|
|
 |
Button._xscale Property |
|
|
 |
Button._y Property |
|
|
 |
Button._ymouse Property |
|
|
 |
Button._yscale Property |
|
|
 |
call( ) Global Function |
|
|
 |
Capabilities Object |
|
|
 |
capabilities.hasAccessibility Property |
|
|
 |
capabilities.hasAudio Property |
|
|
 |
capabilities.hasAudioEncoder Property |
|
|
 |
capabilities.hasMP3 Property |
|
|
 |
capabilities.hasVideoEncoder Property |
|
|
 |
capabilities.input Property |
|
|
 |
capabilities.isDebugger Property |
|
|
 |
capabilities.language Property |
|
|
 |
capabilities.manufacturer Property |
|
|
 |
capabilities.os Property |
|
|
 |
capabilities.pixelAspectRatio Property |
|
|
 |
capabilities.screenColor Property |
|
|
 |
capabilities.screenDPI Property |
|
|
 |
capabilities.screenResolutionX Property |
|
|
 |
capabilities.screenResolutionY Property |
|
|
 |
capabilities.serverString Property |
|
|
 |
capabilities.version Property |
|
|
 |
clearInterval( ) Global Function |
|
|
 |
Color Class |
|
|
 |
Color.getRGB( ) Method |
|
|
 |
Color.getTransform( ) Method |
|
|
 |
Color.setRGB( ) Method |
|
|
 |
Color.setTransform( ) Method |
|
|
 |
Date( ) Global Function |
|
|
 |
Date Class |
|
|
 |
Date.getDate( ) Method |
|
|
 |
Date.getDay( ) Method |
|
|
 |
Date.getFullYear( ) Method |
|
|
 |
Date.getHours( ) Method |
|
|
 |
Date.getMilliseconds( ) Method |
|
|
 |
Date.getMinutes( ) Method |
|
|
 |
Date.getMonth( ) Method |
|
|
 |
Date.getSeconds( ) Method |
|
|
 |
Date.getTime( ) Method |
|
|
 |
Date.getTimezoneOffset( ) Method |
|
|
 |
Date.getUTCDate( ) Method |
|
|
 |
Date.getUTCDay( ) Method |
|
|
 |
Date.getUTCFullYear( ) Method |
|
|
 |
Date.getUTCHours( ) Method |
|
|
 |
Date.getUTCMilliseconds( ) Method |
|
|
 |
Date.getUTCMinutes( ) Method |
|
|
 |
Date.getUTCMonth( ) Method |
|
|
 |
Date.getUTCSeconds( ) Method |
|
|
 |
Date.getYear( ) Method |
|
|
 |
Date.setDate( ) Method |
|
|
 |
Date.setFullYear( ) Method |
|
|
 |
Date.setHours( ) Method |
|
|
 |
Date.setMilliseconds( ) Method |
|
|
 |
Date.setMinutes( ) Method |
|
|
 |
Date.setMonth( ) Method |
|
|
 |
Date.setSeconds( ) Method |
|
|
 |
Date.setTime( ) Method |
|
|
 |
Date.setUTCDate( ) Method |
|
|
 |
Date.setUTCFullYear( ) Method |
|
|
 |
Date.setUTCHours( ) Method |
|
|
 |
Date.setUTCMilliseconds( ) Method |
|
|
 |
Date.setUTCMinutes( ) Method |
|
|
 |
Date.setUTCMonth( ) Method |
|
|
 |
Date.setUTCSeconds( ) Method |
|
|
 |
Date.setYear( ) Method |
|
|
 |
Date.toString( ) Method |
|
|
 |
Date.UTC( ) Class Method |
|
|
 |
Date.valueOf( ) Method |
|
|
 |
delete Operator |
|
|
 |
duplicateMovieClip( ) Global Function |
|
|
 |
#endinitclip Pragma |
|
|
 |
escape( ) Global Function |
|
|
 |
eval( ) Global Function |
|
|
 |
_focusrect Global Property |
|
|
 |
fscommand( ) Global Function |
|
|
 |
Function Class |
|
|
 |
Function.apply( ) Method |
|
|
 |
Function.call( ) Method |
|
|
 |
Function.prototype Property |
|
|
 |
Function.toString( ) Method |
|
|
 |
getProperty( ) Global Function |
|
|
 |
getTimer( ) Global Function |
|
|
 |
getURL( ) Global Function |
|
|
 |
getVersion( ) Global Function |
|
|
 |
_global Object |
|
|
 |
gotoAndPlay( ) Global Function |
|
|
 |
gotoAndStop( ) Global Function |
|
|
 |
_highquality Global Property |
|
|
 |
#include Directive |
|
|
 |
Infinity Global Property |
|
|
 |
-Infinity Global Property |
|
|
 |
#initclip Pragma |
|
|
 |
instanceof Operator |
|
|
 |
int( ) Global Function |
|
|
 |
isFinite( ) Global Function |
|
|
 |
isNaN( ) Global Function |
|
|
 |
Key Object |
|
|
 |
Key.addListener( ) Method |
|
|
 |
Key.getAscii( ) Method |
|
|
 |
Key.getCode( ) Method |
|
|
 |
Key.isDown( ) Method |
|
|
 |
Key.isToggled( ) Method |
|
|
 |
Key.onKeyDown( ) Listener Event |
|
|
 |
Key.onKeyUp( ) Listener Event |
|
|
 |
Key.removeListener( ) Method |
|
|
 |
_leveln Global Property |
|
|
 |
loadMovie( ) Global Function |
|
|
 |
loadMovieNum( ) Global Function |
|
|
 |
loadVariables( ) Global Function |
|
|
 |
loadVariablesNum( ) Global Function |
|
|
 |
LoadVars Class |
|
|
 |
LoadVars.contentType Property |
|
|
 |
LoadVars.decode( ) Method |
|
|
 |
LoadVars.getBytesLoaded( ) Method |
|
|
 |
LoadVars.getBytesTotal( ) Method |
|
|
 |
LoadVars.load( ) Method |
|
|
 |
LoadVars.loaded Property |
|
|
 |
LoadVars.onData( ) Event Handler |
|
|
 |
LoadVars.onLoad( ) Event Handler |
|
|
 |
LoadVars.send( ) Method |
|
|
 |
LoadVars.sendAndLoad( ) Method |
|
|
 |
LoadVars.toString( ) Method |
|
|
 |
LocalConnection Class |
|
|
 |
LocalConnection.allowDomain( ) Event Handler |
|
|
 |
LocalConnection.close( ) Method |
|
|
 |
LocalConnection.connect( ) Method |
|
|
 |
LocalConnection.domain( ) Method |
|
|
 |
LocalConnection.onStatus( ) Event Handler |
|
|
 |
LocalConnection.send( ) Method |
|
|
 |
Math Object |
|
|
 |
Math.abs( ) Method |
|
|
 |
Math.acos( ) Method |
|
|
 |
Math.asin( ) Method |
|
|
 |
Math.atan( ) Method |
|
|
 |
Math.atan2( ) Method |
|
|
 |
Math.ceil( ) Method |
|
|
 |
Math.cos( ) Method |
|
|
 |
Math.E Property |
|
|
 |
Math.exp( ) Method |
|
|
 |
Math.floor( ) Method |
|
|
 |
Math.LN10 Property |
|
|
 |
Math.LN2 Property |
|
|
 |
Math.log( ) Method |
|
|
 |
Math.LOG10E Property |
|
|
 |
Math.LOG2E Property |
|
|
 |
Math.max( ) Method |
|
|
 |
Math.min( ) Method |
|
|
 |
Math.PI Property |
|
|
 |
Math.pow( ) Method |
|
|
 |
Math.random( ) Method |
|
|
 |
Math.round( ) Method |
|
|
 |
Math.sin( ) Method |
|
|
 |
Math.sqrt( ) Method |
|
|
 |
Math.SQRT1_2 Property |
|
|
 |
Math.SQRT2 Property |
|
|
 |
Math.tan( ) Method |
|
|
 |
maxscroll Property |
|
|
 |
Mouse Object |
|
|
 |
Mouse.addListener( ) Method |
|
|
 |
Mouse.hide( ) Method |
|
|
 |
Mouse.onMouseDown( ) Listener Event |
|
|
 |
Mouse.onMouseMove( ) Listener Event |
|
|
 |
Mouse.onMouseUp( ) Listener Event |
|
|
 |
Mouse.show( ) Method |
|
|
 |
Mouse.removeListener( ) Method |
|
|
 |
MovieClip Class |
|
|
 |
MovieClip._alpha Property |
|
|
 |
MovieClip.attachMovie( ) Method |
|
|
 |
MovieClip.beginFill( ) Method |
|
|
 |
MovieClip.beginGradientFill( ) Method |
|
|
 |
MovieClip.clear( ) Method |
|
|
 |
MovieClip.createEmptyMovieClip( ) Method |
|
|
 |
MovieClip.createTextField( ) Method |
|
|
 |
MovieClip._currentframe Property |
|
|
 |
MovieClip.curveTo( ) Method |
|
|
 |
MovieClip._droptarget Property |
|
|
 |
MovieClip.duplicateMovieClip( ) Method |
|
|
 |
MovieClip.enabled Property |
|
|
 |
MovieClip.endFill( ) Method |
|
|
 |
MovieClip.focusEnabled Property |
|
|
 |
MovieClip._focusrect Property |
|
|
 |
MovieClip._framesloaded Property |
|
|
 |
MovieClip.getBounds( ) Method |
|
|
 |
MovieClip.getBytesLoaded( ) Method |
|
|
 |
MovieClip.getBytesTotal( ) Method |
|
|
 |
MovieClip.getDepth( ) Method |
|
|
 |
MovieClip.getURL( ) Method |
|
|
 |
MovieClip.globalToLocal( ) Method |
|
|
 |
MovieClip.gotoAndPlay( ) Method |
|
|
 |
MovieClip.gotoAndStop( ) Method |
|
|
 |
MovieClip._height Property |
|
|
 |
MovieClip.hitArea Property |
|
|
 |
MovieClip.hitTest( ) Method |
|
|
 |
MovieClip.lineStyle( ) Method |
|
|
 |
MovieClip.lineTo( ) Method |
|
|
 |
MovieClip.loadMovie( ) Method |
|
|
 |
MovieClip.loadVariables( ) Method |
|
|
 |
MovieClip.localToGlobal( ) Method |
|
|
 |
MovieClip.moveTo( ) Method |
|
|
 |
MovieClip._name Property |
|
|
 |
MovieClip.nextFrame( ) Method |
|
|
 |
MovieClip.onData ( ) Event Handler |
|
|
 |
MovieClip.onDragOut( ) Event Handler |
|
|
 |
MovieClip.onDragOver( ) Event Handler |
|
|
 |
MovieClip.onEnterFrame ( ) Event Handler |
|
|
 |
MovieClip.onKeyDown ( ) Event Handler |
|
|
 |
MovieClip.onKeyUp ( ) Event Handler |
|
|
 |
MovieClip.onKillFocus ( ) Event Handler |
|
|
 |
MovieClip.onLoad ( ) Event Handler |
|
|
 |
MovieClip.onMouseDown( ) Event Handler |
|
|
 |
MovieClip.onMouseMove( ) Event Handler |
|
|
 |
MovieClip.onMouseUp( ) Event Handler |
|
|
 |
MovieClip.onPress( ) Event Handler |
|
|
 |
MovieClip.onRelease( ) Event Handler |
|
|
 |
MovieClip.onReleaseOutside( ) Event Handler |
|
|
 |
MovieClip.onRollOut( ) Event Handler |
|
|
 |
MovieClip.onRollOver( ) Event Handler |
|
|
 |
MovieClip.onSetFocus( ) Event Handler |
|
|
 |
MovieClip.onUnload( ) Event Handler |
|
|
 |
MovieClip._parent Property |
|
|
 |
MovieClip.play( ) Method |
|
|
 |
MovieClip.prevFrame( ) Method |
|
|
 |
MovieClip.removeMovieClip( ) Method |
|
|
 |
MovieClip._rotation Property |
|
|
 |
MovieClip.setMask( ) Method |
|
|
 |
MovieClip.startDrag( ) Method |
|
|
 |
MovieClip.stop( ) Method |
|
|
 |
MovieClip.stopDrag( ) Method |
|
|
 |
MovieClip.swapDepths( ) Method |
|
|
 |
MovieClip.tabChildren Property |
|
|
 |
MovieClip.tabEnabled Property |
|
|
 |
MovieClip.tabIndex Property |
|
|
 |
MovieClip._target Property |
|
|
 |
MovieClip._totalframes Property |
|
|
 |
MovieClip.trackAsMenu Property |
|
|
 |
MovieClip.unloadMovie( ) Method |
|
|
 |
MovieClip._url Property |
|
|
 |
MovieClip.useHandCursor Property |
|
|
 |
MovieClip.valueOf( ) Method |
|
|
 |
MovieClip._visible Property |
|
|
 |
MovieClip._width Property |
|
|
 |
MovieClip._x Property |
|
|
 |
MovieClip._xmouse Property |
|
|
 |
MovieClip._xscale Property |
|
|
 |
MovieClip._y Property |
|
|
 |
MovieClip._ymouse Property |
|
|
 |
MovieClip._yscale Property |
|
|
 |
NaN Global Property |
|
|
 |
new Operator |
|
|
 |
newline Constant |
|
|
 |
nextFrame( ) Global Function |
|
|
 |
nextScene( ) Global Function |
|
|
 |
Number( ) Global Function |
|
|
 |
Number Class |
|
|
 |
Number.MAX_VALUE Property |
|
|
 |
Number.MIN_VALUE Property |
|
|
 |
Number.NaN Property |
|
|
 |
Number.NEGATIVE_INFINITY Property |
|
|
 |
Number.POSITIVE_INFINITY Property |
|
|
 |
Number.toString( ) Method |
|
|
 |
Object Class |
|
|
 |
Object.addProperty Method |
|
|
 |
Object.constructor Property |
|
|
 |
Object.hasOwnProperty( ) Method |
|
|
 |
Object._ _proto_ _ Property |
|
|
 |
Object.registerClass( ) Class Method |
|
|
 |
Object.toString( ) Method |
|
|
 |
Object.unwatch( ) Method |
|
|
 |
Object.valueOf( ) Method |
|
|
 |
Object.watch( ) Method |
|
|
 |
parseFloat( ) Global Function |
|
|
 |
parseInt( ) Global Function |
|
|
 |
play( ) Global Function |
|
|
 |
prevFrame( ) Global Function |
|
|
 |
prevScene( ) Global Function |
|
|
 |
print( ) Global Function |
|
|
 |
printAsBitmap( ) Global Function |
|
|
 |
printAsBitmapNum( ) Global Function |
|
|
 |
printNum( ) Global Function |
|
|
 |
_quality Global Property |
|
|
 |
random( ) Global Function |
|
|
 |
removeMovieClip( ) Global Function |
|
|
 |
_root Global Property |
|
|
 |
scroll Property |
|
|
 |
Selection Object |
|
|
 |
Selection.addListener( ) Method |
|
|
 |
Selection.getBeginIndex( ) Method |
|
|
 |
Selection.getCaretIndex( ) Method |
|
|
 |
Selection.getEndIndex( ) Method |
|
|
 |
Selection.getFocus( ) Method |
|
|
 |
Selection.onSetFocus( ) Listener Event |
|
|
 |
Selection.removeListener( ) Method |
|
|
 |
Selection.setFocus( ) Method |
|
|
 |
Selection.setSelection( ) Method |
|
|
 |
setInterval( ) Global Function |
|
|
 |
setProperty( ) Global Function |
|
|
 |
SharedObject Object |
|
|
 |
SharedObject.data Property |
|
|
 |
SharedObject.flush( ) Method |
|
|
 |
SharedObject.getLocal( ) Method |
|
|
 |
SharedObject.getSize( ) Method |
|
|
 |
SharedObject.onStatus( ) Event Handler |
|
|
 |
Sound Class |
|
|
 |
Sound.attachSound( ) Method |
|
|
 |
Sound.duration Property |
|
|
 |
Sound.getBytesLoaded( ) Method |
|
|
 |
Sound.getBytesTotal( ) Method |
|
|
 |
Sound.getPan( ) Method |
|
|
 |
Sound.getTransform( ) Method |
|
|
 |
Sound.getVolume( ) Method |
|
|
 |
Sound.id3 Property |
|
|
 |
Sound.loadSound( ) Method |
|
|
 |
Sound.onLoad( ) Event Handler |
|
|
 |
Sound.onSoundComplete( ) Event Handler |
|
|
 |
Sound.position Property |
|
|
 |
Sound.setPan( ) Method |
|
|
 |
Sound.setTransform( ) Method |
|
|
 |
Sound.setVolume( ) Method |
|
|
 |
Sound.start( ) Method |
|
|
 |
Sound.stop( ) Method |
|
|
 |
_soundbuftime Global Property |
|
|
 |
Stage Object |
|
|
 |
Stage.addListener( ) Method |
|
|
 |
Stage.align Property |
|
|
 |
Stage.height Property |
|
|
 |
Stage.onResize( ) Listener Event |
|
|
 |
Stage.removeListener( ) Method |
|
|
 |
Stage.scaleMode Property |
|
|
 |
Stage.showMenu Property |
|
|
 |
Stage.width Property |
|
|
 |
startDrag( ) Global Function |
|
|
 |
stop( ) Global Function |
|
|
 |
stopAllSounds( ) Global Function |
|
|
 |
stopDrag( ) Global Function |
|
|
 |
#strict Pragma |
|
|
 |
String( ) Global Function |
|
|
 |
String Class |
|
|
 |
String.charAt( ) Method |
|
|
 |
String.charCodeAt( ) Method |
|
|
 |
String.concat( ) Method |
|
|
 |
String.fromCharCode( ) Class Method |
|
|
 |
String.indexOf( ) Method |
|
|
 |
String.lastIndexOf( ) Method |
|
|
 |
String.length Property |
|
|
 |
String.slice( ) Method |
|
|
 |
String.split( ) Method |
|
|
 |
String.substr( ) Method |
|
|
 |
String.substring( ) Method |
|
|
 |
String.toLowerCase( ) Method |
|
|
 |
String.toUpperCase( ) Method |
|
|
 |
super "Operator" |
|
|
 |
System Object |
|
|
 |
System.capabilities Property |
|
|
 |
System.security.allowDomain( ) Method |
|
|
 |
System.showSettings( ) Method |
|
|
 |
System.useCodepage Property |
|
|
 |
targetPath( ) Global Function |
|
|
 |
tellTarget( ) Global Function |
|
|
 |
TextField Class |
|
|
 |
TextField.addListener( ) Method |
|
|
 |
TextField._alpha Property |
|
|
 |
TextField.autoSize Property |
|
|
 |
TextField.background Property |
|
|
 |
TextField.backgroundColor Property |
|
|
 |
TextField.border Property |
|
|
 |
TextField.borderColor Property |
|
|
 |
TextField.bottomScroll Property |
|
|
 |
TextField.condenseWhite Property |
|
|
 |
TextField.embedFonts Property |
|
|
 |
TextField.getDepth( ) Method |
|
|
 |
TextField.getFontList( ) Class Method |
|
|
 |
TextField.getNewTextFormat( ) Method |
|
|
 |
TextField.getTextFormat( ) Method |
|
|
 |
TextField._height Property |
|
|
 |
TextField.hscroll Property |
|
|
 |
TextField.html Property |
|
|
 |
TextField.htmlText Property |
|
|
 |
TextField.length Property |
|
|
 |
TextField.maxChars Property |
|
|
 |
TextField.maxhscroll Property |
|
|
 |
TextField.maxscroll Property |
|
|
 |
TextField.multiline Property |
|
|
 |
TextField._name Property |
|
|
 |
TextField.onChanged( ) Event Handler and Listener Event |
|
|
 |
TextField.onKillFocus( ) Event Handler |
|
|
 |
TextField.onScroller( ) Event Handler and Listener Event |
|
|
 |
TextField.onSetFocus( ) Event Handler |
|
|
 |
TextField._parent Property |
|
|
 |
TextField.password Property |
|
|
 |
TextField.removeListener( ) Method |
|
|
 |
TextField.removeTextField( ) Method |
|
|
 |
TextField.replaceSel( ) Method |
|
|
 |
TextField.restrict Property |
|
|
 |
TextField._rotation Property |
|
|
 |
TextField.scroll Property |
|
|
 |
TextField.selectable Property |
|
|
 |
TextField.setNewTextFormat( ) Method |
|
|
 |
TextField.setTextFormat( ) Method |
|
|
 |
TextField.tabEnabled Property |
|
|
 |
TextField.tabIndex Property |
|
|
 |
TextField._target Property |
|
|
 |
TextField.text Property |
|
|
 |
TextField.textColor Property |
|
|
 |
TextField.textHeight Property |
|
|
 |
TextField.textWidth Property |
|
|
 |
TextField.type Property |
|
|
 |
TextField._url Property |
|
|
 |
TextField.variable Property |
|
|
 |
TextField._visible Property |
|
|
 |
TextField._width Property |
|
|
 |
TextField.wordWrap Property |
|
|
 |
TextField._x Property |
|
|
 |
TextField._xmouse Property |
|
|
 |
TextField._xscale Property |
|
|
 |
TextField._y Property |
|
|
 |
TextField._ymouse Property |
|
|
 |
TextField._yscale Property |
|
|
 |
TextFormat Class |
|
|
 |
TextFormat.align Property |
|
|
 |
TextFormat.blockIndent Property |
|
|
 |
TextFormat.bold Property |
|
|
 |
TextFormat.bullet Property |
|
|
 |
TextFormat.color Property |
|
|
 |
TextFormat.font Property |
|
|
 |
TextFormat.getTextExtent( ) Method |
|
|
 |
TextFormat.indent Property |
|
|
 |
TextFormat.italic Property |
|
|
 |
TextFormat.leading Property |
|
|
 |
TextFormat.leftMargin Property |
|
|
 |
TextFormat.rightMargin Property |
|
|
 |
TextFormat.size Property |
|
|
 |
TextFormat.tabStops Property |
|
|
 |
TextFormat.target Property |
|
|
 |
TextFormat.underline Property |
|
|
 |
TextFormat.url Property |
|
|
 |
toggleHighQuality( ) Global Function |
|
|
 |
trace( ) Global Function |
|
|
 |
typeof Operator |
|
|
 |
unescape( ) Global Function |
|
|
 |
unloadMovie( ) Global Function |
|
|
 |
unloadMovieNum( ) Global Function |
|
|
 |
updateAfterEvent( ) Global Function |
|
|
 |
$version "Global" Property |
|
|
 |
XML Class |
|
|
 |
XML.appendChild( ) Method |
|
|
 |
XML.attributes Property |
|
|
 |
XML.childNodes Property |
|
|
 |
XML.cloneNode( ) Method |
|
|
 |
XML.contentType Property |
|
|
 |
XML.createElement( ) Method |
|
|
 |
XML.createTextNode( ) Method |
|
|
 |
XML.docTypeDecl Property |
|
|
 |
XML.firstChild Property |
|
|
 |
XML.getBytesLoaded( ) Method |
|
|
 |
XML.getBytesTotal( ) Method |
|
|
 |
XML.hasChildNodes( ) Method |
|
|
 |
XML.ignoreWhite Property |
|
|
 |
XML.insertBefore( ) Method |
|
|
 |
XML.lastChild Property |
|
|
 |
XML.load( ) Method |
|
|
 |
XML.loaded Property |
|
|
 |
XML.nextSibling Property |
|
|
 |
XML.nodeName Property |
|
|
 |
XML.nodeType Property |
|
|
 |
XML.nodeValue Property |
|
|
 |
XML.onData( ) Event Handler |
|
|
 |
XML.onLoad( ) Event Handler |
|
|
 |
XML.parentNode Property |
|
|
 |
XML.parseXML( ) Method |
|
|
 |
XML.previousSibling Property |
|
|
 |
XML.removeNode( ) Method |
|
|
 |
XML.send( ) Method |
|
|
 |
XML.sendAndLoad( ) Method |
|
|
 |
XML.status Property |
|
|
 |
XML.toString( ) Method |
|
|
 |
XML.xmlDecl Property |
|
|
 |
XMLnode Class |
|
|
 |
XMLSocket Class |
|
|
 |
XMLSocket.close( ) Method |
|
|
 |
XMLSocket.connect( ) Method |
|
|
 |
XMLSocket.onClose( ) Event Handler |
|
|
 |
XMLSocket.onConnect( ) Event Handler |
|
|
 |
XMLSocket.onData( ) Event Handler |
|
|
 |
XMLSocket.onXML( ) Event Handler |
|
|
 |
XMLSocket.send( ) Method |
|
|
|
 |
Part III:
Appendixes |
|
|
 |
Appendix A.
Resources |
|
|
 |
Section A.1.
ActionScript Books |
|
|
 |
Section A.2.
ActionScript and Programming Web Sites |
|
|
 |
Section A.3.
ECMA-262 Resources |
|
|
 |
Section A.4.
Object-Oriented Programming |
|
|
 |
Section A.5.
SWF File Format |
|
|
 |
Section A.6.
Character Encoding and Unicode |
|
|
|
 |
Appendix B.
Latin 1 Character Repertoire and Keycodes |
|
|
 |
Appendix C.
Backward Compatibility and Player Build Updates |
|
|
 |
Section C.1.
Best Practices in Flash 6 ActionScript |
|
|
 |
Section C.2.
Player Build Updates |
|
|
 |
Section C.3.
Flash 4 Versus Flash 5 (and Later) |
|
|
|
 |
Appendix D.
Differences from ECMA-262 and JavaScript |
|
|
 |
Appendix E.
HTML Support in Text Fields |
|
|
 |
Section E.1.
HTML Tag Support in Text Fields |
|
|
 |
Section E.2.
Entity Support |
|
|
 |
Section E.3.
Quoting Attribute Values |
|
|
 |
Section E.4.
Unrecognized Tags and Attributes |
|
|
 |
Section E.5.
Using HTML for Input and Output |
|
|
 |
Section E.6.
Executing JavaScript from HTML Links |
|
|
 |
Section E.7.
Calling ActionScript Functions from HTML Links |
|
|
|
 |
Appendix F.
Support for GET and POST |
|
|
 |
Section F.1.
Browser-Based Support for GET and POST |
|
|
 |
Section F.2.
Standalone Player Support for GET and POST |
|
|
|
 |
Appendix G.
Flash UI Component Summary |
|
|
 |
FCheckBox |
|
|
 |
FComboBox and FListBox |
|
|
 |
FPushButton |
|
|
 |
FRadioButton and FRadioButtonGroup |
|
|
 |
FScrollBar |
|
|
 |
FScrollPane |
|
|
 |
FStyleFormat |
|
|
|
 |
Appendix H.
Embedding a Flash Movie in a Web Page |
|
|
 |
Section H.1.
Attributes of the <OBJECT> Tag |
|
|
 |
Section H.2.
Attributes of the <EMBED> Tag |
|
|
 |
Section H.3.
Common Attributes of the <OBJECT> and <EMBED> Tags |
|
|
 |
Section H.4.
Runtime Access Affecting HTML Attributes |
|
|
|
 |
Colophon |
|
 |
Index |