Index

A note on the digital index

A link in an index entry is displayed as the section title in which that entry appears. Because some sections have multiple index markers, it is not unusual for an entry to have several links to the same section. Clicking on any link will take you directly to the place in the text in which the marker appears.

Symbols

" (quotation marks), XML entity, Discussion
& (ampersand)
&& (logical AND) operator, Properties and methods cannot be referenced from a null reference
XML entity, Discussion
' (apostrophe), encoding as entity in XML, Discussion
* (asterisk), wildcard operator, Solution
+= (plus-equal) operator, Populating a text field with HTML
. (dot), DOM3 Event Model
(see also dot syntax)
. . (descendent accessor) operator, ECMAScript for XML (E4X), Solution
: (colon)
: : (name qualifier) operator, Namespaces, Namespaces
< and > (angle brackets), XML entities, Discussion
= (equal) operator, Populating a text field with plain text
@ (at sign), attribute operator, Solution
[ ] (square brackets)
array access operator, eval()
scope bracket syntax, Referencing objects by evaluated expression
_ (underscores) in property names, Remember to omit property underscores
{ } (curly braces)
enclosing dynamic XML content, Solution
{ (open curly brace) on new lines written with Flex Builder 3, Coding with Flex Builder 3

A

access control specifiers, Namespaces
Accordion Panel V3 component, Jumpeye Components
Accordion.selectedIndex property, ActionScript 2.0 Components in ActionScript 3.0 SWF Files
Actions panel, Creating and Working with Code
new features, New Features in the Actions Panel and Script Windows
tree view of keyframe code, Thinking in Terms of the Timeline
ActionScript 2.0, Introducing ActionScript 3.0
(see also migration to ActionScript 3.0)
explanations of syntax in particle system code, Main Timeline
ActionScript 2.0 Migration table, Obsolete Code
ActionScript 3.0
additional resources, Additional ActionScript 3.0 Resources
API restructuring, Exploring Flash Player API Updates
binary data and sockets, Binary Data and Sockets
changes from ActionScript 2.0, Looking at the Changes in ActionScript 3.0Additional ActionScript 3.0 Resources
major changes in API, classes, and language, Major Changes in the API, Classes, and LanguageActionScript 3.0 is more organized, which makes it more efficient
major syntax and structure changes, Major Syntax and Structure ChangesData Types and Typing
obsolete code, Obsolete Codeeval()
ECMAScript for XML (E4X), ECMAScript for XML (E4X)
event handling, DOM3 Event Model
learning after version 2.0, Learning ActionScript 3.0 on the Heels of 2.0
method closures, Method Closures
migration to versus writing code from scratch, Deciding to Migrate or Write Code from Scratch
namespaces, Namespaces
new primitive types, New Primitive Types
new sound APIs, New Sound APIs
regular expressions, Regular Expressions
runtime types, Runtime Types
sealed classes, Sealed Classes
writing using external code editors with Flash, Using Other Code Editors with Flash
writing with FlashDevelop, Coding with FlashDevelop
writing with Flex Builder 3, Coding with Flex Builder 3Coding with Flex Builder 3
writing with PrimalScript editor, Coding with PrimalScript
writing with SEIPY, Coding with SE|PY
ActionScript 3.0 event: protocol, Solution
ActionScript Virtual Machine 2 (AVM2), Exploring the Benefits of Using ActionScript 3.0
ActiveX control, debug version of Flash Player as, Logging trace() Statements from a Browser
addChild( ) method, Consistency, Discussion
adding display object to display list, Solution
changing parent of display object, Solution
specifying depth of display object on display list, Discussion
addChildAt( ) method, Discussion
addEventListener( ) method, DOM3 Event Model, Consistency, Discussion
priority parameter, Solution
registering listeners, Adding and removing listeners
useCapture parameter, Solution
useWeakReference parameter, Solution
addListener( ) method, DOM3 Event Model, Consistency
Adobe Developer Connection website, Additional ActionScript 3.0 Resources
Adobe Extension Manager, Recreating a WebServiceConnector Scenario in ActionScript 3.0
Adobe Integrated Runtime (AIR), Debugging Remotely
Adobe LiveDocs website, Exploring Flash Player API Updates, Discovering What You Need to Work with ActionScript 3.0
Adobe online Help Resource Center, Looking at the Changes in ActionScript 3.0
AIR (Adobe Integrated Runtime), Exploring Flash Player API Updates, Debugging Remotely
integration of web technologies, Standards and Portability Among Other Technologies
align property (Stage), Discussion
amplitude of a sound, visualizing, Problem
animation, Thinking in Terms of the Timeline
animations
choosing appropriate display object, Discussion
frame-based and ActionScript-based, Discussion
Animator class, Copying Motion as ActionScript 3.0, Going Retro for the Sake of XML
AnimatorFactory class, Applying Motion to Other Objects
anonymous functions, Runtime Errors
API (application programming interface)
ActionScript 3.0, Discovering What You Need to Work with ActionScript 3.0
changes in ActionScript 3.0, ActionScript 3.0 is more organized, which makes it more efficient
leanness and focus, ActionScript 3.0 is more organized, which makes it more efficient
restructuring in ActionScript 3.0, Exploring Flash Player API Updates
apostrophe ('), entity coding in XML, Discussion
appendChild( ) method, Discussion
appendText( ) method (TextField), Solution, Populating a text field with plain text
array access operator ([ ]), eval()
AS files, associating with FLA files, Associating FLA Files with AS FilesClasses
classes, Classes
code snippets, Code Snippets
improvement of workflow by AS files, Associating FLA Files with AS Files
as operator, use in casting, Referencing movie clip’s parent requires explicit conversion (casting)
assets, 17.0 Introduction
(see also external assets)
attachable, Creating DragParrot, a Sample Class File
attached, writing custom class for, Writing a Custom Class
attaching at runtime in ActionScript 2.0, Linkages Now Reference Classes
attaching at runtime in ActionScript 3.0, Linkages Now Reference Classes
based on custom classes, instantiation of, Writing a Custom Class
class naming, Naming Classes
recognizing associated class, Recognizing the Associated Class
specifying base class, Specifying a Base Class
ASTRA components, Yahoo! ASTRA Components
attachMovie( ) function (obsolete), attachMovie()/attachSound()
attachSound( ) function (obsolete), attachMovie()/attachSound()
attribute (@) operator, Solution
attribute( ) method, Discussion
attributes, XML elements, Discussion
audio, Sound
controlling sound volume or pan, Getting or setting a sound’s volume or pan
controlling volume and pan of loaded sound file, Problem
duration of sounds, Getting a sound’s duration
getting bytes loaded or total bytes for a loaded sound, Getting a loaded sound’s bytes loaded or total bytes
getting current time for a sound, Getting a sound’s current time
loading and playing a sound, Problem
loading and playing external sounds, Loading and playing an external sound
new classes for management in ActionScript 3.0, ActionScript 3.0 is more organized, which makes it more efficient
new sound APIs in ActionScript 3.0, New Sound APIs
playing internal sounds from the library, Playing an internal sound from the library
preloading sounds in ActionScript 2.0, Particles Class
preloading sounds in ActionScript 3.0, Particles Class
removal of SWFs with sound from memory, Streams and connections
setting buffer time of loaded sounds, Setting the buffer time of loaded sounds
sound in in ActionScript 3,0 code example, Main Timeline
stopping a sound, Stopping a sound
stopping all sounds, Stopping all sounds
unloading sound files, Problem
visualizing sound amplitude during playback, Problem
autoSize property (TextField), Solution
AVM1 and AVM2 (virtual machines), Introducing ActionScript 3.0
AVM1Movie class, Discussion

B

background property (TextField), Discussion
base class, specifying for asset class, Specifying a Base Class
beginFill( ) method, Solution
Behaviors panel, ActionScript Can No Longer Be Attached to Objects
Bitmap class, Recognizing the Associated Class, Discussion
creating instance and adding it to display list, Creating a bitmap
Bitmap Properties dialog box, Recognizing the Associated Class
BitmapData class, Recognizing the Associated Class, 12.0 Introduction, Creating a bitmap
bitmaps
adding library bitmap to the stage, Adding a library bitmap to the stage
applying simple bitmap filter to display object, Problem
caching vector as bitmap, Problem
creating, Creating a bitmap
Boolean type, New Primitive Types
default value of instances, Compiler Warnings
border property (TextField), Discussion
bracket notation, eval()
breakpoints, Breakpoints
browsers
runtime errors displayed in, Runtime Errors Displayed in Flash Player 9 and Higher
trace( ) statements logged to local text file, Logging trace() Statements from a Browser
bubbling phase, events, Discussion
using, Problem
bufferTime property (SoundMixer), Setting the buffer time of loaded sounds
button clicks, handling in ActionScript 2.0 and 3.0, Method Closures
Button components
decreased file size in ActionScript 3.0, Increased Performance and Reduced File Size
feature changes, Feature Changes
skinning manually, Skinning Components Manually
style properties, Styling Components with Code
buttonMode property, Discussion
buttons
custom button instantiation in ActionScript 2.0, Main Timeline
ByteArray class, Binary Data and Sockets
bytesLoaded and bytesTotal properties (Sound), Getting a loaded sound’s bytes loaded or total bytes

C

call stack, Breakpoints
Capabilities class, version property, Understanding Players and Support
CaptionButton component, FLVPlaybackCaptioning and CaptionButton
capture phase, events, Discussion
processing an event before it reaches its target, Problem
capturing mouse events, Problem
Cascading Style Sheets (see CSS)
casting
display object from one type to another, Problem
Loader instance content as movie clip, Solution
referencing movie clip parent, Referencing movie clip’s parent requires explicit conversion (casting)
simple content, XML object, Discussion
CDATA tags, Solution
changeHandler( ) function, ColorPicker
charCode property, Discussion
CheckBox components
feature changes, Feature Changes
text formatting, Styling Components with Code
class constructor functions
scoping a variable to, ActionScript 3.0 is stricter
use in casting, Referencing movie clip’s parent requires explicit conversion (casting)
class format, code written in, Be careful where you type your code
class members, availability to outside code, Namespaces
classes
changes in ActionScript 3.0, ActionScript 3.0 encourages programming with purpose
class structure in ActionScript 2.0 code, Particles Class
class structure in ActionScript 3.0, Particles Class
compiler errors or warnings about, Interpreting and Understanding Errors
custom, ActionScript 3.0 code in, Creating and Working with Code
display object, Solution
document class dependencies, Creating a Document Class
documentation in ActionScript 3.0 Language Reference, Interpreting and Understanding Errors
dynamic versus sealed, ActionScript 2.0, Main Timeline
dynamic versus sealed, ActionScript 3.0, Main Timeline
experimentation with class files, ActionScript 2.0, Creating a Document Class
external ActionScript referenced by FLA files, Classes
fully qualified class names, Major Syntax and Structure Changes
naming, Naming Classes
researching with Script Assist, Using Script Assist
sealed, Sealed Classes
writing custom class for attached asset, Writing a Custom Class
cleanUp( ) function, Timers
CLICK event, Discussion
flow of, Discussion
clickHandler( ) function, Editing the Default ActionScript
code comments, shortcuts for, Shortcuts for quickly adding and removing code comments
code editors external to Flash, Using Other Code Editors with FlashCoding with PrimalScript
FlashDevelop, Coding with FlashDevelop
Flex Builder 3, Coding with Flex Builder 3Coding with Flex Builder 3
PrimalScript, Coding with PrimalScript
SEIPY, Coding with SE|PY
code examples in this book, This Book’s Example Files
code snippets, Creating and Working with Code, Code Snippets
codebase HTML tag attribute, Making Sure Users Have the Necessary Version of Flash Player
collisions among display objects, Checking for display object collisions
ColorPicker component, Changes in Writing Code for Components
ColorPickerEvent class, Changes in Writing Code for Components
ColorTransform class, ColorPicker
ComboBox components
decreased file size, Increased Performance and Reduced File Size
feature changes, Feature Changes
performance improvement in ActionScript 3.0, Increased Performance and Reduced File Size
CompanyTemplate class (example), Creating a Document Class
Compiler Errors panel, Deciding to Migrate or Write Code from Scratch, Exploring the Compiler Errors PanelTroubleshooting
copying Description or Source column to clipboard, Exploring the Compiler Errors Panel
errors in nested move clip scripts, Exploring the Compiler Errors Panel
identifying and understanding common errors, Identifying Common Errors and What They Mean
interpreting and understanding errors, Interpreting and Understanding Errors
Location and Source columns, Exploring the Compiler Errors Panel
troubleshooting indecipherable errors, Troubleshooting
using to open code, Using the Compile Errors Panel to Open Code
compiler errors, ActionScript 2.0, ActionScript 3.0 is stricter
compiler warnings, Compiler Warnings
compilers
ActionScript 3.0, Flash CS4 Professional/Flex Builder 3
in ActionScript 3.0, Understanding Players and Support
Flex command line compiler, Discovering What You Need to Work with ActionScript 3.0
Component Inspector panel, Changes in Writing Code for Components
configuring components, Feature Changes
configuring skin parameter of FLVPlayback, FLVPlaybackCaptioning and CaptionButton
components, Using ActionScript 3.0 ComponentsSkinning Components Manually
changing appearance of, Changing the Appearance of ComponentsSkinning Components Manually
manually skinning components, Skinning Components Manually
styling with code, Styling Components with Code
Components panel, Overview of the Component Set
decreased file sizes in ActionScript 3.0, Increased Performance and Reduced File Size
dynamic instantiation in ActionScript 3.0, Main Timeline
feature changes, Feature Changes
instantiating dynamically in ActionScript 2.0, Main Timeline
new and removed in ActionScript 3.0, New and Removed Components
performance improvements and reduced file size, Increased Performance and Reduced File Size
UI and Video groups, Overview of the Component Set
writing code for, changes in, Changes in Writing Code for ComponentsFullScreenButton
ColorPicker component, ColorPicker
FLVPlaybackCaptioning and CaptionButton, FLVPlaybackCaptioning and CaptionButton
FullScreenButton component, FullScreenButton
Slider component, Slider
TileList component, TileList
conditionals, using to find XML content, Problem
connections
closing for removal of SWF files, Streams and connections
pausing and closing for video file unloading, Solution
consistency in ActionScript 3.0, Consistency
event handling, Consistency
object instantiation, Consistency
constants, on()/onClipEvent()
names of, Using event and constant names
content nodes in XML object, finding using shorthand, Problem
contentLoaderInfo property, ActionScript 3.0 encourages programming with purpose
controllers, scripting video file controller, Discussion
Copy Motion as ActionScript 3.0 feature, Copying Motion as ActionScript 3.0
applying motion to other objects, Applying Motion to Other Objects
copying motion, Copying Motion
editing default ActionScript to respond to mouse clicks, Editing the Default ActionScript
editing default XML for motions, Editing the Default XML
redoing animation using classic tweens, Going Retro for the Sake of XML
createEmptyMovieClip( ) function (obsolete), createEmptyMovieClip()/duplicateMovieClip()/createTextField()
createTextField( ) function (obsolete), createEmptyMovieClip()/duplicateMovieClip()/createTextField()
Crugnola, Alessandro, Debug Vs. Release Players
CSS (Cascading Style Sheets)
applying stylesheet to external asset, Solution
formatting text, Attaching Fonts
tags supported by Flash Player, Discussion
cue points in video files, Discussion
currentTarget property, Solution
curveTo( ) method, Solution

D

data binding
codeless, in ActionScript 2.0, Creating an XMLConnector Scenario in ActionScript 2.0
between ComboBox and TextInput components, Creating an XMLConnector Scenario in ActionScript 2.0
data classes, Coding with Flex Builder 3
data components
available with Flash CS4 Professional, New and Removed Components
removed in ActionScript 3.0, New and Removed Components
working without, Working Without Data Components in ActionScript 3.0
data types
casting display object from one type to another, Problem
changes in ActionScript 3.0, Data Types and Typing
default value, Compiler Warnings
default values, Examining and using default values
number data types in ActionScript 3.0, Particles Class
primitive types, new in ActionScript 3.0, New Primitive Types
runtime types, Runtime Types
type declaration, Compiler Warnings
DataBindingClasses component, Creating an XMLConnector Scenario in ActionScript 2.0
Date class, getFullYear( ) and setFullYear( ) methods, Getting and setting the year of a date instance
Debug Console panel, Breakpoints
debug versions (Flash Player), Debug Vs. Release Players
Debugger panel, Using the Enhanced Debugging Workspace
debugging
importance of, Debugging Is a Good Thing
logging trace( ) statements from a browser, Logging trace() Statements from a Browser
remote, Debugging Remotely
debugging improvements, Reviewing Improvements in Debugging Over ActionScript 2.0
Compiler Errors panel, Exploring the Compiler Errors PanelTroubleshooting
runtime erro display in Flash Player 9 or higher, Runtime Errors Displayed in Flash Player 9 and Higher
trace( ) function, Don’t Underestimate trace()
debugging workspace, TroubleshootingLogging trace() Statements from a Browser
basic debugging session, Using the Debugger Workspace
breakpoints, Breakpoints
example of Debug Console and Variables panels in action, Stepping Through a Debugging Example
default values
in ActionScript 2.0, Particles Class
in ActionScript 3.0, Particles Class
differences between ActionScript 2.0 and 3.0, Examining and using default values
defaultTextFormat property (TextField), Discussion, Setting a default text format
Delegate class, Method Closures
delegates, Using delegates
delete operator, Solution
depth management, Display List API, createEmptyMovieClip()/duplicateMovieClip()/createTextField()
ActionScript 2.0, Main Timeline
ActionScript 3.0 code, Main Timeline
display objects on display list, Discussion
getting highest unused depth, Getting the highest unused depth
specifying display object depth on display list, Problem
swapping display object depths, Swapping display object depths
descendent accessor operator (. .), ECMAScript for XML (E4X), Solution
describeType( ) function, Using the Enhanced Debugging Workspace
Dialect drop-down menu, Flash Publish Settings
dispatchEvent( ) method (EventDispatcher), Solution, Dispatching events
display, DisplayAssigning a mask to movie clip, Accessing the Stage
(see also display lists; display objects)
accessing display object by name, Accessing a display object by name
accessing the stage, Accessing the Stage
adding library bitmap to the stage, Adding a library bitmap to the stage
adding library movie clip to the stage, Adding a library movie clip to the stage
assigning mask to a movie clip, Assigning a mask to movie clip
checking for display object collisions, Checking for display object collisions
checking level of display objects, Checking the level of a display object
creating bitmaps, Creating a bitmap
depth management, Getting the highest unused depth
duplication of movie clips, Duplicating a movie clip
removing display objects, Removing a display object
display lists, Display List API, Discussion, 13.0 IntroductionDiscussion
accessing Stage through display object, Accessing the Stage
adding display object, Problem
adding visual objects to, attachMovie()/attachSound()
casting display object from one type to another, Problem
changing parent of a display object, Problem
choosing type of display object to use, Problem
creating new display object, Problem
finding a display object, Problem
hierarchy of classes comprising, Discussion
locating display objects by index number, eval()
referencing stage through a display object, Problem
removing a display object, Problem
specifying depth of display object, Problem
working with display object container children, Problem
working with display object parents, Problem
display objects, Discussion
(see also display lists)
accessing a parent, Accessing a parent
checking level of, Checking the level of a display object
creating dynamically, Problem
hiding while in display list, 13.0 Introduction
referencing graphics property, Problem
root, Accessing the root of a SWF file
swapping depths, Swapping display object depths
displayAsPassword property (TextField), Solution
DisplayObject class, Discussion
compiler error concerning, Interpreting and Understanding Errors
DisplayObjectContainer class, Display List API, Discussion
contains( ) method, Discussion
getChildAt( ) method, eval()
getChildByName( ) method, eval()
mouseChildren property, Discussion
numChildren property and, Solution
document class, Creating DragParrot, a Sample Class File, ActionScript 3.0 is stricter, Creating a Document ClassCreating a Document Class
association with SWF files, Be careful where you type your code
attaching to FLA file, Creating a Document Class
pausing and resuming main timeline, Creating a Document Class
preparing to use in frame script, Creating a Document Class
requirement to extend MovieClip or Sprite class, Creating a Document Class
DOM3 event model, DOM3 Event Model
dot syntax, DOM3 Event Model, getProperty()/setProperty()/tellTarget()
benefits of, Consistency
isolating element node in XML object, Solution
isolating text node in XML object, Solution
targeting attributes in XML element node, Discussion
use with XML, 16.0 Introduction
drag-and-drop activities
draggable window (example), Discussion
mouse up outside event, Discussion
DragParrot custom class, Creating DragParrot, a Sample Class File
Drawing API
changes in ActionScript 3.0, ActionScript 3.0 is more organized, which makes it more efficient
Graphics class in ActionScript 3.0, Main Timeline
move from MovieClip class to Graphics class, Using the drawing API
using in ActionScript 2.0, Main Timeline
drawing with code, 12.0 IntroductionDiscussion
applying simple bitmap filter to display object, Problem
caching vector as bitmap, Problem
creating display object dynamically, Problem
creating gradient fill, Problem
defining fill style, Problem
defining line style, Problem
drawing a curve, Problem
drawing a line, Problem
drawing a rectangle, Problem
drawing circles, Problem
drawing rectangle with rounded corners, Problem
referencing display object’s graphics property, Problem
using shape as dynamic mask, Problem
duplicateMovieClip( ) function (obsolete), createEmptyMovieClip()/duplicateMovieClip()/createTextField()
duration of sounds, Getting a sound’s duration
dynamic attribute, Sealed Classes
dynamic classes, Sealed Classes
dynamic text fields, 15.0 Introduction
dynamic tone generator, Binary Data and Sockets

E

E4X (ECMAScript for XML), ECMAScript for XML (E4X)
easing classes, Thinking in Terms of the Timeline
Ebert, Michelle and Joa, Binary Data and Sockets
Eclipse IDE, Flash CS4 Professional/Flex Builder 3
ECMAScript, Introducing ActionScript 3.0
characteristic of languages implementing, Examining ActionScript 3.0, the Language
ECMAScript for XML (E4X), ECMAScript for XML (E4X)
editors (see code editors external to Flash)
efficiency of ActionScript 3.0, Efficiency
element node, reading in XML object, Solution
embedFonts property (TextField), Solution
endFill( ) method, Solution
entity encoding (XML), Solution
equal (=) operator, Populating a text field with plain text
errors, Identifying Common Errors and What They Mean
(see also Compiler Errors panel)
compiler errors, Testing Your ActionScript 3.0 Code, Compiler Errors
documentation, Interpreting and Understanding Errors
helpfulness of error messages, Runtime Errors
identifying and understanding common errors, Identifying Common Errors and What They Mean
runtime, Runtime Errors
runtime error handling in ActionScript 3.0, Runtime Exceptions
runtime errors
display in Flash Player 9, Runtime Errors Displayed in Flash Player 9 and Higher
eval( ) function, eval()
event handlers, Obsolete Code
(see also events)
obsolete practice of direct attachment to objects, on()/onClipEvent()
referencing by instance name in ActionScript 3.0, on()/onClipEvent()
Event.ENTER_FRAME, Thinking in Terms of the Timeline
Event.ENTER_FRAME event, Solution
Event.FULLSCREEN event, Solution
Event.MOUSE_LEAVE event, Solution
Event.RESIZE event, Solution
Event.target property, Method Closures
event: protocol, Solution
EventDispatcher class, Discussion, Enabling event dispatching
addEventListener( ) method, DOM3 Event Model, Consistency, Using Script Assist
components’ inheritance from, Changes in Writing Code for Components
events, 14.0 IntroductionSee Also, Events
adding and removing listeners, Adding and removing listeners
animation responding to mouse clicks, Editing the Default ActionScript
associating with functions, Using Script Assist
calling event listener functions manually, Problem
capturing before reaching target, Problem
capturing frame events, Problem
capturing keyboard events, Problem
capturing mouse events, Problem
capturing when leaving or resizing stage, or switching to full screen, Problem
dispatching, Dispatching events
dispatching using a timer, Problem
dispatching your own, Problem
DOM3 event model, DOM3 Event Model
enabling event dispatching, Enabling event dispatching
event flow in ActionScript 3.0, Problem
event handling in ActionScript 2.0, Main Timeline
event handling in ActionScript 3.0, Consistency, Main Timeline
event listeners, Problem
event listeners for asynchronous event errors in video playback, Discussion
event listeners handling events in ActionScript 3.0, Using event handlers
event names, Using event and constant names
execution order of functions triggered by an event, Problem
improved memory management using weak listeners, Problem
loading and display of external assets, Discussion
onMetaData and onCuePoint event handlers for video file, Discussion
removing unused event listeners to enhance performance, Problem
simulating outside mouse up event, Problem
supported by a component, Changes in Writing Code for Components
trapping mouse up event outside display object boundaries, Trapping a mouse up event outside a display object’s boundaries
triggering event listener with a hyperlink, Triggering an ActionScript function with a hyperlink
using event bubbling, Problem
using event handlers in ActionScript 2.0, Using event handlers
example code, This Book’s Example Files
exceptions, Runtime Exceptions
(see also errors)
runtime, Runtime Exceptions
external assets, 17.0 IntroductionSee Also
communicating with ActionScript 2.0-based loaded SWF, Problem
communication with ActionScript 3.0-based loaded SWF, Problem
controlling volume and pan of loaded sound file, Problem
loading and applying CSS stylesheet, Problem
loading and displaying an image or SWF, Problem
loading and playing a video, Problem
loading and playing an MP3 file, Problem
unloading a video, Problem
unloading an image or SWF, ProblemSee Also
unloading sound files, Problem
visualizing amplitude of a sound, Problem
ExternalInterface class, ActionScript 2.0 Components in ActionScript 3.0 SWF Files

F

fill style, defining, Problem
filter classes, Solution
<filters> element, editing, Editing the Default XML
fl.transitions package, Thinking in Terms of the Timeline
FLA files
associating with AS files, Associating FLA Files with AS FilesClasses
attaching a document class, Creating a Document Class
creating, Flash CS4 Professional/Flex Builder 3
document class, Creating DragParrot, a Sample Class File
Flash authoring tool
alternatives to, Using Other Code Editors with Flash
reduced component set for ActionScript 3.0, Making Up for a Reduced Component Set
Flash CS4
components available in, New and Removed Components
remote debugging of SWF file, Debugging Remotely
Script windows, Using Other Code Editors with Flash
Flash CS4 Professional, Flash CS4 Professional/Flex Builder 3
accessing asset linkage properties, Linkages Now Reference Classes
data, media, UI, and video components, New and Removed Components
updated debugging tools, Debugging Is a Good Thing
Flash document classes, This Book’s Example Files
Flash Lite, Exploring Flash Player API Updates
Flash Player
configuring to log Trace( ) statements to local file, Logging trace() Statements from a Browser
CSS tags supported, Discussion
ensuring users have necessary version, Making Sure Users Have the Necessary Version of Flash Player
HTML tags supported, Discussion
location of flashlog.txt file, Logging trace() Statements from a Browser
Flash Player 9, Understanding Players and Support
minor point releases, Understanding Players and Support
Flash Player 9 (or higher), Flash Player 9 or Higher
debug versus release versions, Debug Vs. Release Players
display of runtime errors, Runtime Errors Displayed in Flash Player 9 and Higher
Flash Player API, Discovering What You Need to Work with ActionScript 3.0
updates, Exploring Flash Player API Updates
Flash Publish settings, Flash Publish Settings
Flash Switcher, Debug Vs. Release Players
FlashDevelop editor, Coding with FlashDevelop
configuring Flex SDK location, Coding with FlashDevelop
configuring SWF file settings, Coding with FlashDevelop
creating ActionScript 3.0 project, Coding with FlashDevelop
switching to Flash authoring tool compiler, Coding with FlashDevelop
tools included with, Coding with FlashDevelop
flashlog.txt file, Logging trace() Statements from a Browser
FlashVars, Using FlashVars
ActionScript 2.0 code, Main Timeline
ActionScript 3.0 code, Main Timeline
Flex Builder 3, Flash CS4 Professional/Flex Builder 3
coding with, Coding with Flex Builder 3Coding with Flex Builder 3
basic outline for new class, Coding with Flex Builder 3
code coloring and code hinting, Coding with Flex Builder 3
code navigation aids, Coding with Flex Builder 3
creating ActionScript project, Coding with Flex Builder 3
Outline view of class members, Coding with Flex Builder 3
tooltips displaying data types, Coding with Flex Builder 3
troubleshooting tool, Coding with Flex Builder 3
Flex Builder IDE compiler, Understanding Players and Support
Flex Component Kit for Flash CS3 extension, Coding with Flex Builder 3
Flex framework, Discovering What You Need to Work with ActionScript 3.0
Flex platform for building web applications, Standards and Portability Among Other Technologies
Flex SDK, Discovering What You Need to Work with ActionScript 3.0
compiler, Understanding Players and Support
floating-point numbers, IEEE-754 double precision, New Primitive Types
FLV (Flash video files), Understanding Players and Support
FLVPlayback component, Overview of the Component Set
configuring skin parameter, FLVPlaybackCaptioning and CaptionButton
customizing without using code, Feature Changes
FLVPlaybackCaptioning component, Overview of the Component Set
configuring source parameter, FLVPlaybackCaptioning and CaptionButton
writing code for, FLVPlaybackCaptioning and CaptionButton
focus property (stage), Solution
Font Symbol Properties dialog box, Attaching Fonts
fonts
embedding and making available to ActionScript 3.0, Attaching Fonts
using embedded fonts, Problem
formatting text
setting default format, Setting a default text format
using CSS, Problem
using TextFormat, Solution
frame events
capturing, Problem
removal of loaded SWF files and, Enter frame events
full-screen mode, switching to, Discussion
FullScreenButton component, FullScreenButton
fully qualified class names, Major Syntax and Structure Changes
function literals, Runtime Errors
functions
associating events with, Using Script Assist
definitions of, on()/onClipEvent()
event listener, calling manually, Problem
global functions, removal in ActionScript 3.0, Creating global variables and functions
method closure and, Method Closures
redundancy in older versions of ActionScript, ActionScript 3.0 is more organized, which makes it more efficient
triggered by an event, setting execution order, Problem
triggering ActionScript function with a hyperlink, Triggering an ActionScript function with a hyperlink

G

garbage collection, Timers
getChildAt( ) method, Solution
getChildByName( ) method, Solution, Accessing a display object by name
getChildIndex( ) method, Checking the level of a display object
getProperty( ) function (obsolete), getProperty()/setProperty()/tellTarget()
gradient fill, creating, Problem
Graphics class, 12.0 Introduction, Discussion
beginFill( ) and endFill( ) methods, Solution
beginGradientFill( ) and endFill( ) methods, Solution
curveTo( ) method, Solution
drawCircle( ) method, Solution
drawing API, ActionScript 3.0 is more organized, which makes it more efficient, Using the drawing API
drawRect( ) method, Solution
drawRoundRect( ) method, Solution
drawRoundRectComplex( ) method, Discussion
lineStyle( ) method, Solution
moveTo( ) and lineTo( ) methods, Solution
moveTo( ) method, Be careful where you type your code
using in ActionScript 3.0, Main Timeline
graphics property, referencing for an object, Problem

H

hitTestObject( ) method, Checking for display object collisions
hitTestPoint( ) method, Checking for display object collisions
horizontal scrolling of text fields, Discussion
HTML
ActionScript triggered from links, Problem
detection of Flash Player version in publish settings, Making Sure Users Have the Necessary Version of Flash Player
document generation with SWFObject, Using SWFObject
enclosed in XML nodes, reading, Problem
hyperlinks for text, Solution
loading external HTML file and applying CSS stylesheet, Discussion
populating text fields with, Populating a text field with HTML
preparing for full-screen video, FullScreenButton
using to format text fields, Problem
written by Flash authoring tool, Making Sure Users Have the Necessary Version of Flash Player
hyperlinks
adding to text, Problem
triggering an ActionScript function, Triggering an ActionScript function with a hyperlink

I

IDEs (integrated development environments), Discovering What You Need to Work with ActionScript 3.0
images
loading and displaying external images, Discussion
loading and unloading, Loading and unloading an image or SWF file using loadMovie
loading in ActionScript 2.0, Main Timeline, Main Timeline
unloading, ProblemSee Also
import directives, Major Syntax and Structure Changes
importing, packages and, Importing and Packages
include directive, Code Snippets
indexOf( ) method (String), Regular Expressions
inheritance, class listings in ActionScript 3.0 Language Reference, Interpreting and Understanding Errors
inline creation of style objects, Discussion
input text fields, 15.0 Introduction
insertChildAfter( ) method, Discussion
instance names, eval()
referencing event handlers by, on()/onClipEvent()
instantiation
assets based on custom classes, Writing a Custom Class
dynamic custom class instantiation in ActionScript 3.0, Main Timeline
dynamic instantiation of custom class in ActionScript 2.0, Main Timeline
dynamically instantiating a component, ActionScript 2.0, Main Timeline
object instantiation in ActionScript 3.0, Consistency
int type, New Primitive Types
default value of instances, Compiler Warnings
system memory used by, Compiler Warnings
int( ) function, Discussion
integrated development environments (IDEs), Discovering What You Need to Work with ActionScript 3.0
InteractiveObject class, Discussion
internal (access control specifier), Namespaces
Internet Explorer, embedding Flash Player, Making Sure Users Have the Necessary Version of Flash Player
intervals, Using Intervals and Timeouts
intrinsic classes, Coding with PrimalScript
IO (input/output) processes, Network

K

keyboard events, capturing, Problem
KeyboardEvent class, Discussion
keyCode property, Discussion
<Keyframe> elements, editing to adjust blur, Editing the Default XML
keyframes
ActionScript 3.0 code in, Creating and Working with CodeThinking in Terms of the Timeline
errors from code in class format, Be careful where you type your code
location of errors in, Exploring the Compiler Errors Panel

L

language changes in ActionScript 3.0, Language Fundamentals, Language FundamentalsUsing delegates
(see also ActionScript 3.0)
default values, Examining and using default values
delegates, Using delegates
global variables and functions, Creating global variables and functions
referencing objects by evaluated expression, Referencing objects by evaluated expression
root of SWF files, accessing, Accessing the root of a SWF file
lastIndexOf( ) method (String), Regular Expressions
leftPeak and rightPeak properties, sound channels, Solution
length property (Sound), Getting a sound’s duration
length( ) method (XMLList), Discussion
level of display objects, Checking the level of a display object
library and linkage changes, Working with Library and Linkage ChangesAttaching Fonts
attaching fonts, Attaching Fonts
linkages referencing classes, Linkages Now Reference Classes
naming classes, Naming Classes
recognizing associated class for assets, Recognizing the Associated Class
specifying base class, Specifying a Base Class
writing custom class for attached asset, Writing a Custom Class
library path settings, ActionScript
lineStyle( ) method, Solution
lineTo( ) method, See Also
linkage class, Creating DragParrot, a Sample Class File, attachMovie()/attachSound()
naming, Naming Classes
Parrot custom class, Creating DragParrot, a Sample Class File
providing for imported font, Attaching Fonts
using to create Library-based display object instance, Discussion
writing by authoring tool, Linkages Now Reference Classes
linkage identifiers, Linkages Now Reference Classes
linkage properties
ActionScript 1.0 and 2.0 documents, Linkages Now Reference Classes
ActionScript 3.0 documents, Linkages Now Reference Classes
links
hyperlinks in text, Problem
triggering ActionScript from HTML links, Problem
List components, feature changes, Feature Changes
listeners, event, Discussion
(see also events)
improved memory management using weak listeners, Problem
manually calling functions, Problem
removing unused to enhance performance, Problem
understanding basic operations of, Problem
using target or currentTarget properties to parse data from, Problem
Loader class, Display List API, Efficiency, Discussion
contentLoaderInfo property, ActionScript 3.0 is more organized, which makes it more efficient, Discussion
load( ) method, Loading and unloading an image or SWF file using loadMovie
loading external image file or SWF, Solution
removal of SWF file or image loaded into an instance, Discussion
SWF file loaded into an instance, casting as movie clip, Solution
unload( ) method, Solution
LoaderInfo class, ActionScript 3.0 is more organized, which makes it more efficient, Discussion
FlashVars stored in parameters object, Using FlashVars
LocalConnection class, ActionScript 2.0 Components in ActionScript 3.0 SWF Files
LocalConnection objects, Solution
removal of loaded SWFs with, Streams and connections
logical AND operator (&&), Properties and methods cannot be referenced from a null reference
logical comparisons, Solution
lumps variable, automatic declaration, ActionScript 3.0 is stricter

M

Main class, Creating a Document Class
Mandelbrot set, rendering, PerformanceUpdating the Code to ActionScript 3.0
speed in different versions of Flash Player, Performance
updating code to ActionScript 3.0, Updating the Code to ActionScript 3.0
mask property, Solution, Assigning a mask to movie clip
masking display object with another display object, Problem
Matrix class, createGradientBox( ) method, Discussion
maxChars property (TextField), Discussion
mc variable, createEmptyMovieClip()/duplicateMovieClip()/createTextField()
McCauley, Trevor, Additional ActionScript 3.0 Resources
media components available with Flash CS4 Professional, New and Removed Components
metadata in video files, Discussion
method closures, Method Closures
in ActionScript 3.0, Particles Class
lacking in ActionScript 2.0, Particles Class
methods
inability to reference from a null reference, Properties and methods cannot be referenced from a null reference
redundancy in older versions of ActionScript, ActionScript 3.0 is more organized, which makes it more efficient
Michels, Pieter, Recreating a WebServiceConnector Scenario in ActionScript 3.0
migration to ActionScript 3.0, A Sample MigrationMigration Sample Summary
ActionScript 2.0 example code, ActionScript 2.0Particles Class
main timeline, Main TimelineMain Timeline
Particles class, Particles Class
ActionScript 3.0 example code, ActionScript 3.0Particles Class
main timeline, Main TimelineMain Timeline
Particles class, Particles ClassParticles Class
audio, Sound
display, DisplayAssigning a mask to movie clip
events, Events
language changes in ActionScript 3.0, Code ComparisonsUsing delegates
text, Text
MorphShape class, Discussion
motion, Editing the Default ActionScript
(see also Copy Motion as ActionScript 3.0 feature)
applying to other objects, Applying Motion to Other Objects
copying, Copying Motion as ActionScript 3.0
Motion class instance, Applying Motion to Other Objects
Motion Editor panel, Copying Motion
MotionBase class, Applying Motion to Other Objects
mouse events
capturing, Solution
CLICK event, flow of, Discussion
mouse leaving bounds of Flash Player stage, Discussion
simulating outside display object bounds, Problem
target and currentTarget properties in parsing event listener data, Problem
text selection, Problem
trapping mouse up event outside display object boundaries, Trapping a mouse up event outside a display object’s boundaries
using event bubbling, Discussion
MouseEvent class, on()/onClipEvent()
constants for event types, Discussion
listening for events from, Solution
target property, Editing the Default ActionScript
mouseUp event, on()/onClipEvent()
moveTo( ) method, Be careful where you type your code, Solution
movie clips, Flash CS4 Professional/Flex Builder 3
(see also timelines)
adding library movie clip to the stage, Adding a library movie clip to the stage
assigning mask to, Assigning a mask to movie clip
casting Loader instance content as, Solution
creating, differences in ActionScript 2.0 and 3.0, Creating an empty movie clip
creation with new statement, Consistency
duplicating, Duplicating a movie clip
dynamic creation in ActionScript 2.0, Main Timeline
dynamic creation in ActionScript 3.0, Main Timeline
instantiation in ActionScript 3.0, Display List API
iterating through with an object reference, eval()
referencing parent, requirement for explicit conversion, Referencing movie clip’s parent requires explicit conversion (casting)
MovieClip class, Sealed Classes, Discussion
ActionScript 2.0 versus 3.0, Efficiency
currentFrame property, Thinking in Terms of the Timeline
direct instantiation with new operator, createEmptyMovieClip()/duplicateMovieClip()/createTextField()
document class extending, Creating a Document Class
drawing API methods, ActionScript 3.0 is more organized, which makes it more efficient, Using the drawing API
graphics property, ActionScript 3.0 is more organized, which makes it more efficient
loadMovie( ) method, ActionScript 3.0 is more organized, which makes it more efficient
methods, listed, in ActionScript 3.0, Display List API
name property, eval()
play( ) method, Referencing movie clip’s parent requires explicit conversion (casting)
property names, Remember to omit property underscores
stop( ) and play( ) methods, Creating a Document Class
MovieClip( ) function, Discussion
Mozilla browsers, Flash Player installation, Making Sure Users Have the Necessary Version of Flash Player
MP3 file (external), loading and playing, Problem
MXML, Understanding Players and Support

N

name qualifier operator (: :), Namespaces, Namespaces
named functions, Runtime Errors
Namespace class, Namespaces
namespaces, Namespaces, Namespaces
access to private namespaces, Accessing private namespaces
document class residing in package structure, Creating a Document Class
XML, Namespaces
XML generated by Copy Motion as ActionScript 3.0, Editing the Default ActionScript
NaN (not a number), Compiler Warnings
NetConnection objects, Solution
closing and nullifying, Streams and connections
event listeners for asynchronous event errors, Discussion
instantiating, Discussion
pausing and closing while unloading a video, Solution
NetStream class, Consistency
NetStream objects, Solution
client property, Discussion
creating, Discussion
event listeners for asynchronous event errors, Discussion
pausing and closing, Streams and connections
pausing and closing while unloading a video, Solution
new keyword
consistency in ActionScript 3.0 object instantiation, Consistency
creating display objects, Solution, Solution, Creating an empty movie clip
movie clip instantiation in ActionScript 3.0, Display List API
new operator
attaching library assets at runtime, attachMovie()/attachSound()
direct instantiation of MovieClip and TextField classes, createEmptyMovieClip()/duplicateMovieClip()/createTextField()
nodeFind( ) method, Discussion
Null type, New Primitive Types
null values, Compiler Warnings
comparisons to, Data Types and Typing
passing to event listener function, Discussion
Number data type, New Primitive Types
default value of instances, Compiler Warnings
system memory used by, Compiler Warnings
number data types, Particles Class

O

Object class, Efficiency
prototype property, Sealed Classes
toString( ) method, Don’t Underestimate trace()
object initializations, Discussion
object instantiation, Consistency
object references, building in Script Assist, Using Script Assist
object-oriented programming (OOP) and ActionScript 3.0, Learning ActionScript 3.0 on the Heels of 2.0
objects
accessing a parent, Accessing a parent
accessing by instance name, Main Timeline, Main Timeline
accessing in the parent, Particles Class
ActionScript attachment to, ActionScript Can No Longer Be Attached to Objects
data types and typing, Data Types and Typing
re-parenting in display list system, Display List API
referencing by evaluated expression, Referencing objects by evaluated expression
referencing graphics property, Problem
Script Assist documentation, Using Script Assist
obsolete code, Obsolete Codeeval()
attachMovie( )/attachSound( ), attachMovie()/attachSound()
createEmptyMovieClip( ), duplicateMovieClip( ) and createTextField( ), createEmptyMovieClip()/duplicateMovieClip()/createTextField()
eval( ) function, eval()
getProperty( )/setProperty( )/tellTarget( ), getProperty()/setProperty()/tellTarget()
on( )/onClipEvent( ), on()/onClipEvent()
on( )/onClipEvent( ) methods, changes in ActionScript 3.0, on()/onClipEvent(), ActionScript Can No Longer Be Attached to Objects
onClick( ) listener function, Discussion
onDown( ) listener function, Discussion
onKeyPressed( ) function, Discussion
operating systems
consistent Flash Player runtime, Standards and Portability Among Other Technologies
supporting Flash Player 9, Understanding Players and Support
OperationEvent component, Recreating a WebServiceConnector Scenario in ActionScript 3.0

P

packages
in ActionScript 3.0, ActionScript 3.0 encourages programming with purpose
document class in package structure, Creating a Document Class
imported into class files, Major Syntax and Structure Changes
importing and, Importing and Packages
links to in compiler errors, Interpreting and Understanding Errors
package declaration in class format code, Be careful where you type your code
pan level for loaded sound file, Discussion
pan property, Getting or setting a sound’s volume or pan
parameters, strongly typed, Runtime Types
parent object
accessing for display objects, Accessing a parent
changing for display object, Solution
parent property, display objects, Solution
particle system (example), A Simple Particle SystemParticles Class
ActionScript 2.0 code, ActionScript 2.0Particles Class
main timeline, Main TimelineMain Timeline
Particles class, Particles Class
ActionScript 3.0 code
main timeline, Main TimelineMain Timeline
Particles class, Particles ClassParticles Class
password field, creating, Problem
patterns, Regular Expressions
pauseFrame( ) and resumeFrame( ) methods (example), Creating a Document Class
performance
benefits of ActionScript 3.0, PerformanceUpdating the Code to ActionScript 3.0
improvement with ActionScript 3.0 components, Increased Performance and Reduced File Size
PHP script saving file to server and returning XML object, ActionScript
pluginpage HTML tag attribute, Making Sure Users Have the Necessary Version of Flash Player
plus-equal (+=) operator, Populating a text field with HTML
PNG encoder, Binary Data and Sockets
portability among technologies, Standards and Portability Among Other Technologies
position property (SoundChannel), Getting a sound’s current time
preferences for ActionScript, Setting ActionScript PreferencesFlash Publish Settings
Auto Format preferences, Auto Format
Flash Publish settings, Flash Publish Settings
Preferences dialog box, Preferences Dialog Box
prependChild( ) method, Discussion
PrimalScript editor, Coding with PrimalScript
features, Coding with PrimalScript
providing with ActionScript 3.0 intrinsic classes, Coding with PrimalScript
primitive types, new in ActionScript 3.0, New Primitive Types
priority parameter (addEventListener( ) method), Solution
private (access control specifier), Namespaces
properties
declaring a variable as class property, ActionScript 3.0 is stricter
inability to reference from a null reference, Properties and methods cannot be referenced from a null reference
naming in ActionScript 2.0, Main Timeline
naming in ActionScript 2.0 and 3.0, Examining property underscores and name changes
serving as constants, names of, Using event and constant names
uderscore (_) in names, Remember to omit property underscores
Property inspector
attaching document class to FLA file, Creating a Document Class
instance names for objects, on()/onClipEvent()
Property-inspector-style instance names, eval()
protected (access control specifier), Namespaces
prototype property (Object), Sealed Classes
public (access control specifier), Namespaces
Publish settings (Flash), Flash Publish Settings
Publish Settings dialog, assigning a document class, Creating a Document Class

Q

quotation marks (“), XML entity, Discussion

R

RegExp class, Regular Expressions
regular expressions, Regular Expressions
release versions (Flash Player), Debug Vs. Release Players
remote debugging, Debugging Remotely
removeChild( ) method, Solution, Removing a display object
removeChildAt( ) method, Solution
removeEventListener( ) method, Solution
removing listeners, Adding and removing listeners
resize events, Discussion
restrict property (TextField), Discussion
resumeFrame( ) method (example), Creating a Document Class
return values, strongly typed, Runtime Types
root node (XML object), Discussion
root of SWF files, accessing, Accessing the root of a SWF file
runtime types, Efficiency

S

scaleMode property (Stage), Discussion
scope, Method Closures
buttonHandler( ) function prior to ActionScript 3.0, Method Closures
variables, ActionScript 3.0 is stricter
Script Assist, Using Script Assist
building an object reference, Using Script Assist
building expressions, Using Script Assist
changing Actions panel Script pane, Using Script Assist
configuring a custom function, Using Script Assist
script editors (see code editors external to Flash)
Script windows, New Features in the Actions Panel and Script Windows
toolbar, Script Windows
scrollbars, creating for text scrolling, Discussion
scrolling text fields, Problem, Scrolling a text field
scrollPolicy parameter, TileList component, TileList
sealed classes, Sealed Classes
searches, using regular expressions, Regular Expressions
SEIPY ActionScript editor, Coding with SE|PY
additional tabs and tools, Coding with SE|PY
Snippets tab, Coding with SE|PY
selectable property (TextField), Discussion
selecting text in a field, Problem
setProperty( ) function (obsolete), getProperty()/setProperty()/tellTarget()
Shape class, Discussion
shiftKey property, Discussion
simple content (XML object), Discussion
SimpleButton class, on()/onClipEvent(), Interpreting and Understanding Errors, Discussion
Skinner, Grant, ActionScript 2.0 Components in ActionScript 3.0 SWF Files
skinning components manually, Skinning Components Manually
skins
built-in CaptionButton component, FLVPlaybackCaptioning and CaptionButton
built-in FullScreenButton component, FullScreenButton
configuring for FLVPlayback component, FLVPlaybackCaptioning and CaptionButton
Slider component, Slider
example volume slider, Slider
SliderEvent.CHANGE constant, Slider
slideshow, runtime error in XML data document, Runtime Errors
SOAP protocol, Creating a WebServiceConnector Scenario in ActionScript 2.0
software development kit (SDK) (see Flex SDK)
sound (see audio)
Sound class
attachSound( ) method, Playing an internal sound from the library
bytesLoaded or bytesTotal properties, Getting a loaded sound’s bytes loaded or total bytes
collaboration with new classes for audio management, ActionScript 3.0 is more organized, which makes it more efficient
creating instance to load and play external sound file, Solution
imported audio file representing, Recognizing the Associated Class
length property, Getting a sound’s duration
load( ) method, Loading and playing an external sound
nullification of instance during sound file unloading, Solution
play( ) method, Loading and playing an external sound
SoundChannel class, New Sound APIs, ActionScript 3.0 is more organized, which makes it more efficient
controlling loaded sound file playback, Solution
nullificationn of instance during sound file unloading, Discussion
position property, Getting a sound’s current time
soundTtransform property, Solution
stop( ) method, Stopping a sound
SoundMixer class, New Sound APIs, ActionScript 3.0 is more organized, which makes it more efficient, Discussion
bufferTime property, Setting the buffer time of loaded sounds
stopAll( ) method, Stopping all sounds
using to transform all sounds, Getting or setting a sound’s volume or pan
SoundTransform class, New Sound APIs, ActionScript 3.0 is more organized, which makes it more efficient, Discussion
volume and pan properties, Getting or setting a sound’s volume or pan
<source> element, Editing the Default XML
source and library path settings, ActionScript
spectral data from sounds, New Sound APIs
Sprite class, Display List API, Efficiency, Discussion
buttonMode property, Editing the Default ActionScript
creating sprite object and adding to display list, Discussion
document class extending, Creating a Document Class
stage
access to, in ActionScript 2.0, Particles Class
accessing in ActionScript 2.0 and 3.0, Accessing the Stage
accessing in ActionScript 3.0, Particles Class
adding a library bitmap, Adding a library bitmap to the stage
adding library movie clip to, Adding a library movie clip to the stage
focus property, giving focus to specified text field, Solution
Stage class, Discussion
events, Discussion
stage property, Solution
standards and portability among technologies, Standards and Portability Among Other Technologies
static class members, Creating global variables and functions
static text fields, 15.0 Introduction
StaticText class, Discussion
streams
closing sound streams, Discussion
creating NetStream instance, Discussion
pausing and closing for video file unloading, Solution
unloading SWF files with video streams, Streams and connections
Strict mode, Flash Publish Settings
strictness in ActionScript 3.0, ActionScript 3.0 is stricter
String class, New Primitive Types
charAt( ) method, Discussion
indexOf( ) and lastIndexOf( ) methods, Regular Expressions
strings, trace( ) function output, Don’t Underestimate trace()
style properties, Button class, Styling Components with Code
StyleManager class, Styling Components with Code
setStyle( ) method, Styling Components with Code
StyleSheet class, Attaching Fonts, Solution
external CSS loaded into an instance, Solution
setStyle( ) method, Discussion
subclasses, links to information in compiler errors, Interpreting and Understanding Errors
swapping display object depths, Swapping display object depths
SWF files
accessing the root, Accessing the root of a SWF file
communication with ActionScript 2.0-based loaded SWF, Solution
communicationg with ActionScript 3.0-based loaded SWF, Problem
document class associated with, Be careful where you type your code
with dynamically attached assets, Recognizing the Associated Class
embedding fonts, Attaching Fonts
external, loading and displaying, Discussion
getting URL for, Getting the URL of a SWF file
loading and unloading, Loading and unloading an image or SWF file using loadMovie
management of visual objects by display lists, attachMovie()/attachSound()
remote debugging by Flash CS4, Debugging Remotely
unloading, ProblemSee Also
using ActionScript 2.0 components in 3.0 SWF files, ActionScript 2.0 Components in ActionScript 3.0 SWF Files
SWFBridge class, send( ) method, ActionScript 2.0 Components in ActionScript 3.0 SWF Files
SWFBridge classes, ActionScript 2.0 Components in ActionScript 3.0 SWF Files
SWFBridgeAS2 class, ActionScript 2.0 Components in ActionScript 3.0 SWF Files
SWFObject class, Using SWFObject
Symbol Properties dialog box, Linkages Now Reference Classes
syntax and structure changes (major), Major Syntax and Structure ChangesData Types and Typing
data types and typing, Data Types and Typing, Data Types and Typing
importing and packages, Importing and Packages
namespaces, Namespaces

T

target phase, events, Discussion
target property, events, Discussion
determining when to use, Problem
tellTarget( ) function( ) (obsolete), getProperty()/setProperty()/tellTarget()
TestFormat class, ActionScript 3.0 is more organized, which makes it more efficient
testing code, Testing Your ActionScript 3.0 CodeRuntime Errors
compiler errors, Compiler Errors
compiler warnings, Compiler Warnings
runtime errors, Runtime Errors
text, 15.0 IntroductionDiscussion, Text
adding hyperlinks, Problem
automatically sizing text fields, Problem
creating password fields, Problem
creating text fields, Problem, Creating a new text field
creating text fields with new statement, Consistency
embedded fonts, Problem
focusing a text field, Problem
formatting in text fields using TextFormat, Problem
formatting using CSS, Attaching Fonts, Problem
formatting using HTML, Problem
formatting using imported font, Attaching Fonts
populating text field with plain text, Populating a text field with plain text
populating text fields, Problem
populating text fields with HTML, Populating a text field with HTML
scrolling in text fields, Problem, Scrolling a text field
selecting, Problem
setting default format, Setting a default text format
static, dynamic, and input text fields, 15.0 Introduction
styling text fields, Problem
triggering ActionScript from HTML links, Problem
triggering ActionScript functions with hyperlinks, Triggering an ActionScript function with a hyperlink
using text field as a variable, Using a text field as a variable
text editors, creation of FLA files, Flash CS4 Professional/Flex Builder 3
text node, reading in XML object, Problem
text property (TextField), Solution
text( ) method, Discussion, Discussion
TextField class, Attaching Fonts, Discussion, Solution
alwaysShowSelection property, Discussion
appendText( ) method, Solution
autoSize property, Solution
defaultTextFormat property, Discussion
direct instantiation with new operator, createEmptyMovieClip()/duplicateMovieClip()/createTextField()
htmlText property, Discussion
properties used in styling, Solution
scrollV and maxScrollV properties, Solution
setSelection( ) method, Solution
setTextFormat( ) method, Attaching Fonts, Discussion
styleSheet property, Solution
text property, Solution
TextFieldAutoSize class, Discussion
TextFormat class, Styling Components with Code, Solution
textFormat style property, Styling Components with Code
TextInput components, feature changes, Feature Changes
this keyword, Method Closures
avoiding compiler errors with undeclared variables, Undeclared timeline variables cannot be referenced
this property, createEmptyMovieClip()/duplicateMovieClip()/createTextField()
this.start( ) function, Method Closures
TileList component, TileList
TimedText XML document (example), FLVPlaybackCaptioning and CaptionButton
timeline metaphor, Flash CS4 Professional/Flex Builder 3
timelines, Sealed Classes, Flash CS4 Professional/Flex Builder 3, Thinking in Terms of the TimelineThinking in Terms of the Timeline
(see also movie clips)
association with entry point class, Creating a Document Class
attaching ActionScript to desired frame, Thinking in Terms of the Timeline
main timeline and document class, ActionScript 3.0 is stricter
main timeline, ActionScript 3.0 particle system code, Main TimelineMain Timeline
main timeline, particle system (ActionScript 2.0), Main TimelineMain Timeline
pausing then resuming main timeline, Creating a Document Class
scope of variables within, ActionScript 3.0 is stricter
variables scoped to, Method Closures
timeouts, Using Intervals and Timeouts
Timer class, Discussion
intervals and timeouts, Using Intervals and Timeouts
repeatCount and currentCount properties, Discussion
Timer objects, Creating a Document Class
TimerEvent.TIMER_COMPLETE event, Discussion
timers
and removal of SWF files, Timers
using to dispatch events, Problem
toString( ) method, Don’t Underestimate trace()
totalFrames property, movie clips, Discussion
trace( ) function
acceptance of multiple parameters in ActionScript 3.0, Don’t Underestimate trace()
importance in debugging, Don’t Underestimate trace()
logging statements from a browser, Logging trace() Statements from a Browser
transformation of sounds (see SoundTransform class)
troubleshooting, Troubleshooting
try. .catch. .finally block, Properties and methods cannot be referenced from a null reference
Tween class, Thinking in Terms of the Timeline
tweening models, Flash CS4, Copying Motion
tweens
MorphShape class, Discussion
using classic tweens for animation, Going Retro for the Sake of XML
type mismatch, Runtime Types
types (see data types)
typing, changes in ActionScript 3.0, Data Types and Typing

U

UI components, Coding with Flex Builder 3, Overview of the Component Set
available with Flash CS4 Professional, New and Removed Components
Flash CS3 and later, using, Changes in Writing Code for Components
third party, Exploring Third-Party UI Components
Jumpeye components, Jumpeye Components
Yahoo! ASTRA components, Yahoo! ASTRA Components
UIComponent class, setStyle( ) method, Styling Components with Code
uint type, New Primitive Types
default value of instances, Compiler Warnings
UIScrollBar component, instancing to manage text scrolling, Discussion
undefined value, Data Types and Typing
unload( ) method (Loader), Solution
unloading images or SWF files, Loading and unloading an image or SWF file using loadMovie
URIs, Namespaces
namespace, Namespaces
url property, Getting the URL of a SWF file
URLLoader class, Solution
load( ) method, Solution, Loading variables using LoadVars
loading external CSS into StyleSheet instance, Solution
URLLoaderDataFormat class, Loading variables using LoadVars
URLRequest class, ActionScript 3.0 is more organized, which makes it more efficient
configuring instance for sending and loading, Discussion
URLRequest objects, Discussion
data property, Sending variables using LoadVars
loading sounds, Loading and playing an external sound
navigateToURL( ) method, Connecting to a URL in a web browser
URLs
connecting to a URL in a web browser, Connecting to a URL in a web browser
getting for SWF files, Getting the URL of a SWF file
URLVariables class, Sending variables using LoadVars
Uro, Tinic, Binary Data and Sockets
useCapture parameter, addEventListener( ) method, Discussion
user input, content requiring, Using ActionScript 3.0 Components
useWeakReference parameter (addEventListener( ) method), Solution

V

var keyword, ActionScript 3.0 is stricter
changes in ActionScript 3.0, ActionScript 3.0 is stricter
variables
changes in ActionScript 3.0, ActionScript 3.0 is stricter
data types, Data Types and Typing
declaration in ActionScript 2.0, Main Timeline
declaration in ActionScript 3.0 code, Main Timeline
declaration once per timeline or class, Variables can be declared only once per timeline or class
defined in keyframe scripts, Sealed Classes
differences between ActionScript 2.0 and 3.0, Creating global variables and functions
loading, Loading variables using LoadVars
private variable names, Creating DragParrot, a Sample Class File
sending to a server, Sending variables using LoadVars
specifying intended type, Runtime Types
text field used as (ActionScript 2.0), Using a text field as a variable
undeclared timeline variables, inability to reference, Undeclared timeline variables cannot be referenced
untyped, Data Types and Typing
writing XML containing variables, Problem
Variables panel, Breakpoints
vectors
caching vector as bitmap, Problem
manipulation with Graphics class, 12.0 Introduction
version detection, Making Sure Users Have the Necessary Version of Flash Player
version property, Capabilities class, Understanding Players and Support
vertical scrolling in text fields, Solution
video
displayed in full-screen mode, FullScreenButton
loading and playing external video, Problem
removal of loaded SWFs with video from memory, Streams and connections
unloading video files, Problem
Video class, Discussion
creating instance and adding to display list, Discussion
video components, Overview of the Component Set
available with Flash CS4 Professional, New and Removed Components
virtual machines
ActionScript Virtual Machine 2 (AVM2), Exploring the Benefits of Using ActionScript 3.0
AVM1 and AVM2, Introducing ActionScript 3.0
visual assets, display of, 13.0 Introduction
visual containers, DisplayObjectContainer base class, Display List API
void type, New Primitive Types
volume control
getting or setting a sound’s volume, Getting or setting a sound’s volume or pan
for loaded sound file, Discussion
volume slider (example), Slider

W

Warnings mode, Flash Publish Settings
warnings, compiler, Compiler Warnings
weak listeners, Problem
web browsers
embedding Flash applications, Making Sure Users Have the Necessary Version of Flash Player
Flash Player Debug and Release versions, Debug Vs. Release Players
standards and portability of content, Standards and Portability Among Other Technologies
web page for this book, How to Contact Us
WebService component extension, Recreating a WebServiceConnector Scenario in ActionScript 3.0
WebServiceConnector scenario, Creating a WebServiceConnector Scenario in ActionScript 2.0Recreating a WebServiceConnector Scenario in ActionScript 3.0
creating in ActionScript 2.0, Creating a WebServiceConnector Scenario in ActionScript 2.0
recreating in ActionScript 3.0, Recreating a WebServiceConnector Scenario in ActionScript 3.0
wildcard (*) operator, Solution
windows
draggable (example), Discussion
resizing, Discussion
wordWrap property (TextField), Discussion

X

XML, 16.0 IntroductionPHP
creating object to hold XML data for parsing, Problem
deleting, Problem
ECMAScript for XML (E4X), ECMAScript for XML (E4X)
editing default XML for animation, Editing the Default XML
error in document providing slideshow data, Runtime Errors
finding content using conditionals, Problem
finding content using shorthand, Problem
generated by Copy Motion as ActionScript 3.0, namespaces, Editing the Default ActionScript
loading from external document or server, Problem
namespaces, Namespaces
online information resources, 16.0 Introduction
reading a text node, Problem
reading an element node, Problem
reading attribute from an element node, Problem
reading HTML or entities in nodes, Problem
sending and loading, Problem
TimedText XML document (example), FLVPlaybackCaptioning and CaptionButton
working with multiple nodes of same name, Problem
writing, Problem
writing XML with variables, Problem
XML class, ECMAScript for XML (E4X), 16.0 Introduction
creating an instance, Solution
namespace( ) method, Namespaces
XMLConnector scenario, Creating an XMLConnector Scenario in ActionScript 2.0Recreating an XMLConnector Scenario in ActionScript 3.0
creating in ActionScript 2.0, Creating an XMLConnector Scenario in ActionScript 2.0
recreating in ActionScript 3.0, Recreating an XMLConnector Scenario in ActionScript 3.0
XMLDocument class, 16.0 Introduction
XMLList class, Solution
creating XMLList of text nodes (example), Discussion
length( ) method, Discussion
xmlns attribute, Namespaces

Y

Yahoo! ASTRA components, Yahoo! ASTRA Components
year of a date instance, Getting and setting the year of a date instance
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.170.65