A

absolute paths 72

accessing

methods 92

object properties 28

actions 10

asynchronous 131

interactivity 69

listed 29

looping 40

new features 9

repeating 39

trace actions 55

with target paths 30

Actions toolbox

adding an action with 35

ActionScript

and Flash 4 features 9

JavaScript support 9

syntax 9

terminology 10

ActiveX controls 140

adding notes in ActionScript 15

animation

symbols and 18

array access operators 28

arrays, multidimensional 29

ASCII values 75

assignment operators

about 27

compound 27

associativity, of operators 24

asynchronous actions 131

attaching

sounds 79

attachSound method 78

B

balance (sound), controlling 80

Bandwidth Profiler 43

bitwise operators 26

Boolean values

about 17

comparing 26

built-in ActionScript objects 89

built-in functions 30

C

calling methods 18

capturing keypresses 75

case sensitivity of strings 16

character sequences 16

child node 134

classes, ActionScript

defined 10

collisions

between movie clip and Stage point 82

between movie clips 82

detecting 81

Color object 77

color values, ActionScript 77

colors

in Actions panel 37

combining operations 27

comments, in ActionScript 15

communicating with the Flash Player 138

comparison operators 25

concatenating strings 16

constants

defined 10

syntax 16

constructor functions, sample 10, 683

counters, repeating action with 40

createTextField method 101

creating ActionScript objects 90

creating passwords

for movies 131

cursors, creating custom 73

custom functions 31

D

data types

Boolean 17

defined 11

movie clips 18

number 17

objects 18

rules 16

Debugger

activating in Web browser 47

Flash Debug Player 44

movie properties 50

using 44

variables 48

Watch list 49

detecting collisions 81

dimming Flash Player context menu 319

displaying

Flash Player context menu 319

DOM (Document Object Model), XML 134

dot operators 28

dot syntax

about 13

download performance 43

E

equality operators 27

errors

name collision 22

syntax 37

escape sequences 17

event handlers, defined 11

events, defined 11

executing application from projector 319

execution order

operator associativity 24

operator precedence 24

scripts 39

expressions 70

assigning multiple variables 27

comparing values 25

defined 11

manipulating values in 24

external sources, connecting Flash with 129

F

Flash Debug Player 44

Flash movies

testing 43

Flash Player

communicating with 138

debugging version 44

dimming context menu 138, 319

displaying context menu 138, 319

displaying full-screen 138, 319

methods 140

normal menu view 138, 319

scaling movies to 138, 319

simulating downloading 44

frame actions

in conflicting layers 662

frame-by-frame graph, in Bandwidth Profiler 44

fscommand action 129

commands and arguments 138, 319

communicating with Director 139

using 138

functions

assigned 11

built-in 30

calling 33

constructor 683

custom 31

defined 11

defining 31

local variables in 32

passing parameters to 32

returning values 33

sample 12

G

Generate Size Report option 44

getAscii method 75

getting information from remote files 129

getting mouse position 74

getURL action 71, 130

global variables 21

goto action 69

graph, in Bandwidth Profiler 44

grouping ActionScript statements 14

H

handlers, checking for XML data 131

hierarchy

inheritance 687

highlighting syntax 37

hitTest method

about 81

HTML documents, loading into window 72

HTTP protocol

about 130

communicating with server-side scripts 132

HTTP requests, permitting 130

HTTPS protocol 130

I

identifiers

holding values 12

information, passing between movies 129

inheritance, creating 687

instance names

assigning 30

defined 11

setting dynamically 28

instances, object 11

instantiating ActionScript objects 90

interactivity, in movies

complex 73

creating 69

J

JavaScript

alert statement 55

sending messages to 139, 320

supported in ActionScript 9

jumping to a URL 71

K

key codes

getting 75

listed 671

keyboard controls

to activate movie clips 76

keypresses, capturing 75

keywords

defined 11

listed 15

L

levels 30

List Objects command 53

loaded data

checking for 131

security 130

loaded movies

identifying 30

loadMovie action 130

checking for loaded data 131

loadVariables action 130

checking for loaded data 131

local variables 21

in functions 32

sample 22

logical operators 26

looping

actions 40

children objects 40

M

Macromedia Director

communicating with 139

manipulating numbers 17

message box, displaying 139

methods 71

accessing 92

defined 11

object 89

MIME format, standard 132

mouse position, getting 74

movie clips

changing properties in Debugger 50

data type 18

detecting collisions 81

displaying properties 50

giving instance name 30

listing objects 53

looping children 40

Movie Explorer 662

moviename_DoFSCommand function 139

movies

controlling in Flash Player 140

jumping to frame or scene 69

maintaining original size 138, 319

optimizing 42

passing information between 129

placing on Web page 71

scaling to Flash Player 138, 319

securing loaded data 130

stopping and starting 70

testing in a browser 662

multidimensional arrays 29

N

name collisions 22

naming conventions, in ActionScript 662

naming variables 20

navigation

controlling 69

controlling with ActionScript 69

new operator 90

nodes 134

numbers

converting to 32-bit integers 26

manipulating 17

numeric operators 25

O

object initializer operator 90

object properties

accessing 28

assigning values to 91

objects, ActionScript

built-in 89

Color object 77

creating 90

data type 18

defined 12

onClipEvent handlers 86

onClipEvent(load), sample 86

operators

array access 28

assigned 27

assignment 27

associativity 24

bitwise 26

combining with values 24

comparison 25

defined 12

dot 28

equality 27

logical 26

new 90

numeric 25

object initializer 90

string 26

optimizing

movies 42

Output panel

using 53

Output window

List Objects command 53

options 53

P

parameters 12

in parentheses 14

passing to functions 32

parentheses 14

passing values

by content 23

by reference 23

passwords

for movies 131

play action 70

ports, XMLSocket connection 130

primitive data types 16

projectors

executing application 319

executing applications from 138

properties in ActionScript 28

accessing 28

collections 12

defined 12

unchanging 16

Properties tab (in Debugger) 50

prototype property 687

R

reference data types 16

referencing variables 21

relative paths 72

remote files, communicating with 129

remote sites, continuous connection 137

repeating actions 39

reserved words, ActionScript 11

listed 15

this 85

S

sample movie 85

sample script 85

saving

scripts 661

Script pane

working with scripts in 35

scripts 662

commenting 662

controlling execution 39

controlling flow 39

debugging 44

declaring variables 22

guidelines 41

sample 85

saving 661

testing 41

security 130

semicolon 14

sending information

in XML format 130

to remote files 129

URL-encoded format 130

via TCP/IP socket connection 130

server-side scripts

languages 129

XML format 134

setPan method 78

setRGB method 77

setVolume method 78

Show Streaming command 44

size report 44

slash syntax 681

socket connections

about 137

sample script 137

Sound object

creating 78

sounds

attaching in ActionScript 79

balance control 80

controlling in ActionScript 78

creating volume controls 78

special characters 17

statements

grouping 14

terminating 14

stop action 70

streaming graph, in Bandwidth Profiler 44

string operators 26

strings 16

SWF files

testing performance 43

syntax

case sensitivity 12

curly braces 14

dot 13

errors 37

highlighting 37

parentheses 14

rules 9

semicolon 14

slash 681

T

target paths

entering 30

specifying 30

TCP/IP connection

sending information 130

with XMLSocket object 137

terminating statements 14

terms, ActionScript 10

test mode 662

testing

download performance 43

movies 662

scripts 661

variable values 20

text

formatting dynamically 103

text fields

creating and removing dynamically 101

setting properties dynamically 102

triggering scripts with events 104

this keyword 85

trace action 43

troubleshooting

listing objects 53

scripting guidelines 41

using the Output panel 53

with trace action 55

typing variables 19

U

URL subdomains 130

URLs

as expressions 72

V

values

about 70

manipulating in expressions 24

Variables tab, Debugger 48

variables, ActionScript 71

absolute path 49

assigning multiple 27

changing values in Debugger 48

converting to XML 135

defined 12

determining type 19

modifying in Debugger 48

naming meaningfully 662

naming rules 20

passing content 23

referencing value 23

removing from Watch list 49

scoping 21

sending to URL 71

setting dynamically 28

testing 20

using in scripts 22

volume

controls 78

sliding control 80

W

Watch list 49

Web applications, continuous connection 137

X

XML

hierarchy 134

in server-side scripts 134

sample variable conversion 134

sending information via TCP/IP socket 130

sending information with XML methods 130

XML DOM 134

XML object methods 134

XMLSocket object

checking for data 131

methods 137

using 137