start page | rating of books | rating of authors | reviews | copyrights

Book Home

ActionScript: The Definitive GuideSearch this book

Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Index: S

scenes
moving playhead to
next scene: 20.5. Alphabetical Language Reference
previous scene: 20.5. Alphabetical Language Reference
vs. pseudo-scenes: 20.5. Alphabetical Language Reference
scope
built-in object classes: 10.7.3. Other Object Event Handler Scope
button event handlers: 10.7.2. Button Event Handler Scope
event handler: 10.7. Event Handler Scope
function (see function scope)
movie clip event handlers: 10.7.1. Movie Clip Event Handler Scope
problems with: 19.2.3. Common Sources of Bugs
variable: 2.5. Variable Scope
scope chain: 9.7.1. The Scope Chain
15.3. Advanced Function Scope Issues
Script box (Actions panel): 1.1.1. Creating Code
script clips: 13.2.5. Script Clips
script files, importing text of: 16.7.2. #include (Compile-Time Import)
20.5. Alphabetical Language Reference
Script pane (Actions panel): 16.1. The Actions Panel
adding code to buttons: 16.3. Adding Scripts to Buttons
adding statements to: 16.1.1.1. Normal Mode
scripts: 1.2.1. Flash Programs
adding
to buttons: 16.3. Adding Scripts to Buttons
to frames: 16.2. Adding Scripts to Frames
to movie clips: 16.4. Adding Scripts to Movie Clips
creating
calculation scripts: 1.3.7. Building the Quiz End
main timeline variables: 1.3.4. Initializing the Quiz
2.5. Variable Scope
functions in: 1.2.4. Modular Code (Functions)
locating using Movie Explorer: 16.5. Where's All the Code?
remotely executing: 20.5. Alphabetical Language Reference
Scroll Lock key and isToggled(): 20.5. Alphabetical Language Reference
scroll property (text field): 18.4.1. The scroll Property
20.5. Alphabetical Language Reference
maxscroll property and: 20.5. Alphabetical Language Reference
searching strings: 4.6.5.3. The indexOf( ) function
20.5. Alphabetical Language Reference
20.5. Alphabetical Language Reference
seconds of a date
assigning: 20.5. Alphabetical Language Reference
UTC time: 20.5. Alphabetical Language Reference
retrieving: 20.5. Alphabetical Language Reference
UTC time: 20.5. Alphabetical Language Reference
security issues
loadVariables() and: 20.5. Alphabetical Language Reference
XMLSocket.connect() and: 20.5. Alphabetical Language Reference
seed clips: 13.2.7. Seed Clips
20.5. Alphabetical Language Reference
assigning instances to stacks: 13.4.2.2. How clips generated via duplicateMovieClip( ) are added to the stack
inheriting transformations: 13.3.2.2. Creating instances with duplicateMovieClip( )
Selectable option for text fields: 18.3.5. Selectable
Selection object: 20.5. Alphabetical Language Reference
working with text field selections: 18.6. Working with Text Field Selections
Selection.getBeginIndex(): 20.5. Alphabetical Language Reference
Selection.getCaretIndex(): 20.5. Alphabetical Language Reference
Selection.getEndIndex(): 20.5. Alphabetical Language Reference
Selection.getFocus(): 20.5. Alphabetical Language Reference
Selection.setFocus(): 20.5. Alphabetical Language Reference
Selection.setSelection(): 20.5. Alphabetical Language Reference
self-commenting code: 14.3. Comments
semicolon (;)
missing: 19.2.3. Common Sources of Bugs
terminating statements with: 1.1.4. The Wizard Behind the Curtain (the Interpreter)
6.2. Statement Syntax
9.2. Running Functions
14.2. Statement Terminators (Semicolons)
send()
XML class: 20.5. Alphabetical Language Reference
20.5. Alphabetical Language Reference
transmitting form-based data to web servers: 17.1.2. Transmitting Data for Server-Side Processing
XMLSocket class: 20.5. Alphabetical Language Reference
sendAndLoad() (XML class): 20.5. Alphabetical Language Reference
20.5. Alphabetical Language Reference
transmitting form-based data to web servers: 17.1.2. Transmitting Data for Server-Side Processing
XML.loaded property and: 20.5. Alphabetical Language Reference
server applications
closing open connections to: 20.5. Alphabetical Language Reference
opening connections to: 20.5. Alphabetical Language Reference
support for: 20.5. Alphabetical Language Reference
transmitting XML-formatted data to: 20.5. Alphabetical Language Reference
server/client TCP/IP connection (XMLSocket class): 20.5. Alphabetical Language Reference
set statement: 6.3. The ActionScript Statements
vs. Set Variable in Flash 4: 6.3.4. The set Statement (Set Variable)
Set Variable (Flash 4): 6.3.4. The set Statement (Set Variable)
setDate() (Date class): 20.5. Alphabetical Language Reference
setFocus() (Selection object): 20.5. Alphabetical Language Reference
setFullYear() (Date class): 20.5. Alphabetical Language Reference
setHours() (Date class): 20.5. Alphabetical Language Reference
setInterval()
process clips as alterative to: 13.2.4. Process Clips
simulating: 8.7. Timeline and Clip Event Loops
D. Differences from ECMA-262 and JavaScript
setMilliseconds() (Date class): 20.5. Alphabetical Language Reference
setMinutes() (Date class): 20.5. Alphabetical Language Reference
setMonth() (Date class): 20.5. Alphabetical Language Reference
setPan() (Sound class): 20.5. Alphabetical Language Reference
setProperty() global function: 20.5. Alphabetical Language Reference
setRGB() (Color class): 20.5. Alphabetical Language Reference
setSeconds() (Date class): 20.5. Alphabetical Language Reference
setSelection() (Selection object): 20.5. Alphabetical Language Reference
setTime() (Date class): 20.5. Alphabetical Language Reference
setTimeout()
process clips as alterative to: 13.2.4. Process Clips
simulating: 8.7. Timeline and Clip Event Loops
D. Differences from ECMA-262 and JavaScript
setTransform()
Color class: 20.5. Alphabetical Language Reference
Sound class: 20.5. Alphabetical Language Reference
setUTCDate() (Date class): 20.5. Alphabetical Language Reference
setUTCFullYear() (Date class): 20.5. Alphabetical Language Reference
setUTCHours() (Date class): 20.5. Alphabetical Language Reference
setUTCMilliseconds() (Date class): 20.5. Alphabetical Language Reference
setUTCMinutes() (Date class): 20.5. Alphabetical Language Reference
setUTCMonth() (Date class): 20.5. Alphabetical Language Reference
setUTCSeconds() (Date class): 20.5. Alphabetical Language Reference
setVolume() (Sound class): 20.5. Alphabetical Language Reference
setYear() (Date class): 20.5. Alphabetical Language Reference
shared libraries and runtime import: 16.7.3. Shared Library (Runtime Import)
shift() (Array class): 11.8.3.2. The shift( ) method
20.5. Alphabetical Language Reference
Shift-JIS characters (Japanese): 4.5.1. Character Encoding
hexadecimal escape sequences and: 20.5. Alphabetical Language Reference
shift operators, bitwise: 5.1.3. Operator Precedence
15.2.5. The Bitwise Shift Operators
SHIFT property (Key object): 20.5. Alphabetical Language Reference
short keyword (potential reserved word): 14.4. Reserved Words
shortcut keys, capturing: 10.11.4.1. Handling special keys
show() (Mouse object): 20.5. Alphabetical Language Reference
showmenu command (standalone Player): 20.5. Alphabetical Language Reference
signed right shift assignment (>>=) operator: 5.1.3. Operator Precedence
signed right shift (>>) operator: 15.2.5.1. Signed right shift
sin() (Math object): 20.5. Alphabetical Language Reference
sine, computing: 20.5. Alphabetical Language Reference
single-byte vs. multibyte operations: 4.6.11. Flash 4 Versus Flash 5 String Operators and Functions
Single Line option in text fields: 18.3.1. Line Display
single quotes () in strings: 4.5.2. String Literals
SIZE attribute of HTML tag: 18.5.4. <FONT> (Font Control)
slash syntax and _target property: 20.5. Alphabetical Language Reference
slice()
Array class: 5.4.2. Composite Datatype Equality
11.9.3. The slice( ) Method
20.5. Alphabetical Language Reference
String class: 4.6.6.3. The slice( ) function
20.5. Alphabetical Language Reference
Smart Clips: 13.2.3. Smart Clips
16.8. Packaging Components as Smart Clips
adding custom interfaces to: 16.8.2.2. Adding a custom interface to a Smart Clip
building customized interfaces for: 16.8.2. Building a Smart Clip with a Customized Interface
building standard interfaces for: 16.8.1. Building a Smart Clip with a Standard Interface
clip parameters
configuring: 16.8.1.2. Configuring standard clip parameters
removing/reordering: 16.8.1.3. Removing and reordering standard clip parameters
using in movies: 16.8.3. Using Smart Clips
xch (exchange) instances and: 16.8.2. Building a Smart Clip with a Customized Interface
sort() (Array class): 11.9.2. The sort( ) Method
20.5. Alphabetical Language Reference
sound
attached sounds: 20.5. Alphabetical Language Reference
playing: 20.5. Alphabetical Language Reference
silencing: 20.5. Alphabetical Language Reference
controlling with ActionScript: 20.5. Alphabetical Language Reference
exporting: 20.5. Alphabetical Language Reference
left/right channels
determining balance: 20.5. Alphabetical Language Reference
determining distribution to left/right speakers: 20.5. Alphabetical Language Reference
distributing between left/right speakers: 20.5. Alphabetical Language Reference
setting balance: 20.5. Alphabetical Language Reference
muting
Sound.setVolume() and: 20.5. Alphabetical Language Reference
Sound.stop() and: 20.5. Alphabetical Language Reference
stopAllSounds() and: 20.5. Alphabetical Language Reference
panning: 20.5. Alphabetical Language Reference
silencing (see sound, muting)
specifying streaming sound to preload: 20.5. Alphabetical Language Reference
volume
retrieving current setting: 20.5. Alphabetical Language Reference
setting: 20.5. Alphabetical Language Reference
_soundbuftime global property: 20.5. Alphabetical Language Reference
Sound class: 20.5. Alphabetical Language Reference
Sound objects
attached sounds: 20.5. Alphabetical Language Reference
playing: 20.5. Alphabetical Language Reference
silencing: 20.5. Alphabetical Language Reference
creating: 20.5. Alphabetical Language Reference
Sound.attachSound(): 20.5. Alphabetical Language Reference
Sound.getPan(): 20.5. Alphabetical Language Reference
Sound.getTransform(): 20.5. Alphabetical Language Reference
Sound.getVolume(): 20.5. Alphabetical Language Reference
Sound.setPan(): 20.5. Alphabetical Language Reference
Sound.setTransform(): 20.5. Alphabetical Language Reference
Sound.setVolume(): 20.5. Alphabetical Language Reference
Sound.start(): 20.5. Alphabetical Language Reference
Sound.stop(): 20.5. Alphabetical Language Reference
space characters in code: 14.1. Whitespace
SPACE property (Key object): 20.5. Alphabetical Language Reference
special characters, creating: 4.6.9.1. The fromCharCode( ) function
special keys
capturing: 10.11.4.1. Handling special keys
keycodes for: B. Latin 1 Character Repertoire and Keycodes
splice() (Array class): 11.7.3.3. The splice( ) method
11.8.3.3. The splice( ) method
20.5. Alphabetical Language Reference
split() (String class): 4.6.6.4. The split( ) function
20.5. Alphabetical Language Reference
sprite event handlers: 20.5. Alphabetical Language Reference
sqrt() (Math object): 20.5. Alphabetical Language Reference
SQRT1_2 property (Math object): 20.5. Alphabetical Language Reference
square root of 2: 20.5. Alphabetical Language Reference
stacks
document: 13.4.3. The .swf Document "_level" Stack
internal layer: 13.4.1. The Internal Layer Stack
order of execution: 13.4.4. Stacks and Order of Execution
pop()/push() and: 11.7.3.1. The push( ) method
programmatically generated: 13.4.2. The Programmatically Generated Clip Stack
stacking order: 13.4. Movie and Instance Stacking Order
Stage: 13. Movie Clips
(see also main movies)
detecting collisions: 20.5. Alphabetical Language Reference
globalToLocal() and: 20.5. Alphabetical Language Reference
height of: 13.7. Built-in Movie Clip Properties
20.5. Alphabetical Language Reference
20.5. Alphabetical Language Reference
localToGlobal() and: 20.5. Alphabetical Language Reference
updates and timeline loops: 8.7. Timeline and Clip Event Loops
width of: 13.7. Built-in Movie Clip Properties
20.5. Alphabetical Language Reference
20.5. Alphabetical Language Reference
standalone Player
disabling menu commands: 10.11.4.1. Handling special keys
fscommand() and: 20.5. Alphabetical Language Reference
standalone Projector, running fullscreen in: 20.5. Alphabetical Language Reference
star field, generating with a load event: 10.10.2. load
start() (Sound class): 20.5. Alphabetical Language Reference
startDrag()
global function: 20.5. Alphabetical Language Reference
target parameter and: 13.8.3.1. Method versus global function overlap issues
MovieClip class: 13.8.3. Built-in Movie Clip Methods
20.5. Alphabetical Language Reference
20.5. Alphabetical Language Reference
statement block delimiters
semicolons not required: 14.2. Statement Terminators (Semicolons)
statement block delimiters ({}): 1.2.4. Modular Code (Functions)
6.2.1. Statement Blocks
statement blocks: 6.2.1. Statement Blocks
conditional statements and: 7.5. Compact Conditional Syntax
creating functions: 9.1. Creating Functions
statements: 6. Statements
adding code to Actions panel: 1.1.2. Say Hi to Flash
conditionals: 6.3.1. Loops and Conditionals
expression: 6.3.2. Expression Statements
function calls: 6.3.2. Expression Statements
function scope: 9.7. Function Scope
loops: 6.3.1. Loops and Conditionals
substatements: 6.2.1. Statement Blocks
syntax of: 6.2. Statement Syntax
terminating with semicolons: 1.1.4. The Wizard Behind the Curtain (the Interpreter)
14.2. Statement Terminators (Semicolons)
types of: 6.1. Types of Statements
vs. Actions: 6.4. Statements Versus Actions
static keyword (potential reserved word): 14.4. Reserved Words
status codes, XML parsing: 20.5. Alphabetical Language Reference
status property (XML class): 20.5. Alphabetical Language Reference
20.5. Alphabetical Language Reference
stereo sound: 20.5. Alphabetical Language Reference
stop()
global function: 1.3.4. Initializing the Quiz
20.5. Alphabetical Language Reference
MovieClip class: 13.8.3. Built-in Movie Clip Methods
20.5. Alphabetical Language Reference
20.5. Alphabetical Language Reference
Sound class: 20.5. Alphabetical Language Reference
stopAllSounds() global function: 20.5. Alphabetical Language Reference
stopDrag()
global function: 20.5. Alphabetical Language Reference
MovieClip class: 13.8.3. Built-in Movie Clip Methods
20.5. Alphabetical Language Reference
20.5. Alphabetical Language Reference
streaming sound: 20.5. Alphabetical Language Reference
String class: 20.5. Alphabetical Language Reference
string datatype: 3.2.1. The ActionScript Datatypes
4.5. The String Type
converting
datatypes to: 3.4.1. Automatic Type Conversion
values to: 20.5. Alphabetical Language Reference
equality rules for: 5.4.1. Primitive Datatype Equality
String() global function: 3.4.2.2. Converting to a string with the String( ) function
20.5. Alphabetical Language Reference
string literals: 4.5.2. String Literals
string operators: 5.6. The String Operators
String.charAt(): 4.6.5.2. The charAt( ) function
20.5. Alphabetical Language Reference
String.charCodeAt(): 4.6.9.2. The charCodeAt( ) function
20.5. Alphabetical Language Reference
String.concat(): 20.5. Alphabetical Language Reference
vs. += operator: 4.6.1.1. The concat( ) function
String.fromCharCode(): 4.5.2.3. Unicode-style escape sequences
4.6.9.1. The fromCharCode( ) function
20.5. Alphabetical Language Reference
String.indexOf(): 4.6.5.3. The indexOf( ) function
20.5. Alphabetical Language Reference
substring() and: 4.6.7. Combining String Examination with Substring Extraction
String.lastIndexOf(): 4.6.5.4. The lastIndexOf( ) Function
20.5. Alphabetical Language Reference
String.length property: 4.6.5.1. The length property
20.5. Alphabetical Language Reference
strings
calculating number of characters: 4.6.5.1. The length property
20.5. Alphabetical Language Reference
character indexing in: 4.6.4. Character Indexing
comparing: 4.6.2. Comparing Strings
5.5. The Comparison Operators
case sensitivity issues: 4.6.8. Character Case Conversion
concatenating: 4.6.1. Joining Strings Together
20.5. Alphabetical Language Reference
converting
to arrays: 4.6.6.4. The split( ) function
20.5. Alphabetical Language Reference
arrays to: 11.9.4. The join( ) Method
11.9.5. The toString( ) Method
20.5. Alphabetical Language Reference
20.5. Alphabetical Language Reference
to identifiers: 4.6.10. Executing Code in a String with eval
20.5. Alphabetical Language Reference
values of Boolean objects to: 20.5. Alphabetical Language Reference
values of Number objects to: 20.5. Alphabetical Language Reference
XML node objects to: 20.5. Alphabetical Language Reference
creating from code points: 4.6.9.1. The fromCharCode( ) function
decoding: 20.5. Alphabetical Language Reference
describing objects as: 20.5. Alphabetical Language Reference
empty: 4.5.2.1. The empty string
encoding: 4.5.1. Character Encoding
20.5. Alphabetical Language Reference
equality/inequality operators: 4.6.2.1. Using the equality (==) and inequality (!=) operators
examining: 4.6.5. Examining Strings
combined with substring extraction: 4.6.7. Combining String Examination with Substring Extraction
executing code with eval(): 4.6.10. Executing Code in a String with eval
extracting
combined with string examination: 4.6.7. Combining String Examination with Substring Extraction
floating-point numbers from: 20.5. Alphabetical Language Reference
integers from: 20.5. Alphabetical Language Reference
extracting substrings based on
positive character positions: 4.6.6.1. The substring( ) function
20.5. Alphabetical Language Reference
positive or negative positions: 4.6.6.3. The slice( ) function
20.5. Alphabetical Language Reference
starting position and length: 4.6.6.2. The substr( ) function
20.5. Alphabetical Language Reference
generating from code points: 20.5. Alphabetical Language Reference
line breaks in: 4.5.2.2. Escape sequences
lowercase versions of, creating: 4.6.8.2. The toLowerCase( ) function
20.5. Alphabetical Language Reference
performance issues for string extraction functions: 4.6.6.5. String extraction performance issues
quotation marks in: 4.5.2. String Literals
problems with: 19.2.3. Common Sources of Bugs
retrieving
characters from specific positions: 4.6.5.2. The charAt( ) function
20.5. Alphabetical Language Reference
code points for specified characters: 4.6.9.2. The charCodeAt( ) function
20.5. Alphabetical Language Reference
searching for substrings
first occurrence of: 4.6.5.3. The indexOf( ) function
20.5. Alphabetical Language Reference
last occurrence of: 4.6.5.4. The lastIndexOf( ) Function
20.5. Alphabetical Language Reference
uppercase versions of, creating: 4.6.8.1. The toUpperCase( ) function
20.5. Alphabetical Language Reference
String.slice(): 4.6.6.3. The slice( ) function
20.5. Alphabetical Language Reference
String.split(): 4.6.6.4. The split( ) function
20.5. Alphabetical Language Reference
String.substr(): 4.6.6.2. The substr( ) function
20.5. Alphabetical Language Reference
String.substring(): 4.6.6.1. The substring( ) function
20.5. Alphabetical Language Reference
indexOf() and: 4.6.7. Combining String Examination with Substring Extraction
String.toLowerCase(): 4.6.8.2. The toLowerCase( ) function
20.5. Alphabetical Language Reference
String.toUpperCase(): 4.6.8.1. The toUpperCase( ) function
20.5. Alphabetical Language Reference
Submit button for Flash forms: 17.2.1. Building the Frontend
subroutines, local variables in: 2.5.8.1. Local variables in subroutines
substatements: 6.2.1. Statement Blocks
in for-in loops: 8.5. The for-in Loop
in if statement: 7.1. The if Statement
in while loops: 8.1. The while Loop
substr() (String class): 4.6.6.2. The substr( ) function
20.5. Alphabetical Language Reference
substring() (String class): 4.6.6.1. The substring( ) function
20.5. Alphabetical Language Reference
indexOf() and: 4.6.7. Combining String Examination with Substring Extraction
substrings
extracting from strings based on
positive character positions: 4.6.6.1. The substring( ) function
20.5. Alphabetical Language Reference
positive or negative positions: 4.6.6.3. The slice( ) function
20.5. Alphabetical Language Reference
starting position and length: 4.6.6.2. The substr( ) function
20.5. Alphabetical Language Reference
searching for
first occurrence of: 4.6.5.3. The indexOf( ) function
20.5. Alphabetical Language Reference
last occurrence of: 4.6.5.4. The lastIndexOf( ) Function
20.5. Alphabetical Language Reference
subtraction () operator: 1.1.6. ActionScript's Glue (Operators)
4.4.1. Using Operators
5.3.3. Subtraction
super keyword (potential reserved word): 14.4. Reserved Words
superclass of XML class: 20.5. Alphabetical Language Reference
superclasses
checking if objects belong: 12.5.4.3. Determining whether an object belongs to a superclass
creating: 12.5.4.1. Making a superclass
swapDepths() (MovieClip class): 13.8.3. Built-in Movie Clip Methods
20.5. Alphabetical Language Reference
20.5. Alphabetical Language Reference
assigning instance depths in programmatically generated clip stacks: 13.4.2.3. Assigning depths to instances in the programmatically generated clip stack
swapping instances in internal layer stacks: 13.4.1. The Internal Layer Stack
SWF file format
backward compatibility: C. Backward Compatibility
resources for: A.4. SWF File Format
SWF files
adding custom interface SWF files to Smart Clips: 16.8.2.2. Adding a custom interface to a Smart Clip
creating custom interface SWF files: 16.8.2.1. Creating a custom interface .swf file
data event handlers and: 10.10.4.2. Using a data event handler with loadMovie( )
externalizing ActionScript code: 16.7. Externalizing ActionScript Code
_leveln global property: 13.4.3. The .swf Document "_level" Stack
13.5.4.2. Referencing other documents in the Player using _leveln
20.5. Alphabetical Language Reference
loading into document levels
via loadMovie(): 13.4.3. The .swf Document "_level" Stack
13.5.4.2. Referencing other documents in the Player using _leveln
via loadMovieNum(): 20.5. Alphabetical Language Reference
loading into Player: 13.3.4. Importing External Movies
20.5. Alphabetical Language Reference
20.5. Alphabetical Language Reference
movie clip unload events and: 10.10.3. unload
_url property and: 20.5. Alphabetical Language Reference
switch keyword (potential reserved word): 14.4. Reserved Words
switch statement, simulating: 7.4. Simulating the switch Statement
switches (bits): 15.2. Bitwise Programming
symbols, movie clip: 13.3.1. Movie Clip Symbols and Instances
exporting from Library: 13.3.2.3. Creating instances with attachMovie( )
synchronized keyword (potential reserved word): 14.4. Reserved Words
synchronous code execution: 10.1. Synchronous Code Execution
16.2. Adding Scripts to Frames
syntax
automatic literal typing and: 3.3.1. Automatic Literal Typing
event handler: 10.5. Event Handler Syntax
statement: 6.2. Statement Syntax
variable addressing: 2.5.6.3. Flash 4 versus Flash 5 variable access syntax
system events: 10.3. Types of Events


Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z


Library Navigation Links

Copyright © 2002 O'Reilly & Associates, Inc. All Rights Reserved.