Preface PartⅠ Getting Started Chapter 1 ActionScript Overview What Is ActionScript 3.0? The Flash Platform Procedural Versus Object-Oriented Programming The Document Class Legacy Code Compatibility Chapter 2 Core Language Fundamentals Miscellaneous Basics Variables and Data Types Conditionals Loops Arrays Functions Custom Objects this Absolute versus Relative Addresses PartⅡ Graphics and Interaction Chapter 3 Properties, Methods, and Events Inherited Attributes Properties Events Methods Event Propagation Frame and Timer Events Removing Event Listeners Chapter 4 The Display List The Sum of Its Parts Adding and Removing Children Managing Object Names, Positions, and Data Types Changing the Display List Hierarchy A Dynamic Navigation Bar Chapter 5 Timeline Control Playhead Movement Frame Labels Frame Rate A Simple Site or Application Structure Chapter 6 OOP Classes Inheritance Composition Encapsulation Polymorphism Navigation Bar Revisited Chapter 7 Motion Basic Movement Geometry and Trigonometry Physics Programmatic Tweening Timeline Animation Recreations Particle Systems Chapter 8 Drawing with Vectors The Graphics Class The Geometry Package The Motion Package 9-Slice Scaling Applied Examples Chapter 9 Drawing with Pixels Bitmap Caching The BitmapData Class Blend Modes Bitmap Filters Color Effects Image Encoding and Saving PartⅢ Text Chapter 10 Text Creating Text Fields Setting Text Field Characteristics Selecting Text Formatting Text Formatting with HTML and CSS Triggering ActionScriot from HTML Links Parsing Text Fields Loading HTML and CSS PartⅣ Sound and Video Chapter 11 Sound ActionScript Sound Architecture Internal and External Sounds Playing, Stopping, and Pausing Sounds Buffering Streaming Sounds Changing Sound Volume and Pan Reading ID3 Metadata from MP3 Sounds Visualizing Sound Data Working with Microphone Sound Waveform Visualization Chapter 12 Video Encoding Components Full-screen Video Captions Coding Your Own Video Playback PartⅤ Input/Output Chapter 13 Loading Assets Loading Sound and Video Loading Text Loading Display Objects Communicating Across ActionScript Virtual Machines Taking a Brief Look at Security Chapter 14 XML and E4X Understanding XML Structure Creating an XML Object Reading XML Writing XML Deleting XML Elements Loading External XML Documents Communicating with XML Servers An XML-Based Navigation System PartⅥ Programming Design and Resources Chapter 15 Programming Design and Resources Programming Design Methodologies Object-Oriented Design Patterns Resources Index