Rich Shupe, Zevan Rosser0-596-52787-X, 978-0-596-52787-7
Table of contents :
Learning ActionScript 3.0……Page 1
Contents……Page 6
Preface……Page 12
Getting Started……Page 20
ActionScript Overview……Page 22
What Is ActionScript 3.0?……Page 23
The Flash Platform……Page 26
Procedural Versus Object-Oriented Programming……Page 27
The Document Class……Page 28
Legacy Code Compatibility……Page 30
Core Language Fundamentals……Page 32
Miscellaneous Basics……Page 34
Variables and Data Types……Page 35
Conditionals……Page 36
Loops……Page 39
Arrays……Page 42
Functions……Page 43
Custom Objects……Page 45
Absolute versus Relative Addresses……Page 46
Graphics and Interaction……Page 48
Properties, Methods, and Events……Page 50
Properties……Page 51
Events……Page 53
Methods……Page 58
Event Propagation……Page 60
Frame and Timer Events……Page 62
Removing Event Listeners……Page 65
The Display List……Page 68
The Sum of Its Parts……Page 69
Managing Object Names, Positions, and Data Types……Page 82
Changing the Display List Hierarchy……Page 84
A Dynamic Navigation Bar……Page 87
Adding and Removing Children……Page 77
Playhead Movement……Page 90
Frame Rate……Page 100
A Simple Site or Application Structure……Page 101
Frame Labels……Page 93
OOP……Page 106
Classes……Page 108
Inheritance……Page 112
Composition……Page 118
Encapsulation……Page 122
Polymorphism……Page 125
Navigation Bar Revisited……Page 130
Motion……Page 134
Basic Movement……Page 135
Geometry and Trigonometry……Page 138
Physics……Page 144
Programmatic Tweening……Page 149
Timeline Animation Recreations……Page 150
Particle Systems……Page 156
Drawing with Vectors……Page 160
The Graphics Class……Page 161
The Geometry Package……Page 168
The Motion Package……Page 177
9-Slice Scaling……Page 178
Applied Examples……Page 180
Drawing with Pixels……Page 186
Bitmap Caching……Page 187
The BitmapData Class……Page 189
Blend Modes……Page 196
Bitmap Filters……Page 199
Color Effects……Page 207
Image Encoding and Saving……Page 211
Text……Page 214
Text……Page 216
Setting Text Field Characteristics……Page 217
Selecting Text……Page 219
Formatting Text……Page 221
Formatting with HTML and CSS……Page 225
Triggering ActionScript from HTML Links……Page 228
Parsing Text Fields……Page 229
Loading HTML and CSS……Page 233
Sound and Video……Page 238
Sound……Page 240
ActionScript Sound Architecture……Page 241
Internal and External Sounds……Page 242
Playing, Stopping, and Pausing Sounds……Page 245
Buffering Streaming Sounds……Page 247
Changing Sound Volume and Pan……Page 248
Reading ID3 Metadata from MP3 Sounds……Page 250
Visualizing Sound Data……Page 253
Working with Microphone Sound……Page 255
Waveform Visualization……Page 258
Video……Page 270
Encoding……Page 271
Components……Page 273
Full-screen Video……Page 277
Captions……Page 279
Coding Your Own Video Playback……Page 291
Input/Output……Page 296
Loading Assets……Page 298
Loading Sound and Video……Page 299
Loading Text……Page 300
Loading Display Objects……Page 304
Communicating Across ActionScript Virtual Machines……Page 308
Taking a Brief Look at Security……Page 310
XML and E4X……Page 316
Understanding XML Structure……Page 317
Creating an XML Object……Page 321
Reading XML……Page 322
Writing XML……Page 329
Deleting XML Elements……Page 332
Loading External XML Documents……Page 333
Communicating with XML Servers……Page 334
An XML-Based Navigation System……Page 338
Programming Design and Resources……Page 350
Programming Design Methodologies……Page 352
Object-oriented Design Patterns……Page 358
Resources……Page 364
Index……Page 370
Reviews
There are no reviews yet.