Book description
The updated edition on all the latest features and capabilities of ActionScript 3.0 and Flash Player 10.
ActionScript is a popular programming language used primarily for the development of Web sites and software. This update to the successful previous version introduces you to all the exciting new capabilities of ActionScript 3.0. You'll see how ActionScript 3.0 goes beyond its primary use of scripting Flash animations and is now an object-oriented evolution that runs ten times faster than previous versions and can be used in Adobe's new platforms, including Flex and AIR.
Hands-on instruction and step-by-step tutorials enhance your learning process as you discover everything you need to know in order to harness the power of ActionScript 3.0. You'll learn the nitty gritty of building Rich Internet Applications (RIA) and the ins and outs of putting the new features of ActionScript 3.0 to work for you.
ActionScript 3.0 goes beyond its original role as a scripting language and has added development features, incredible speed, and the ability to work with Flex and AIR
Shows you how to apply advanced graphic effects using Pixel Blender
Demonstrates the all-new text and typography capabilities
Addresses your new enhanced control over dynamic sound
Explains templated types and new vector data structures
ActionScript 3.0 Bible offers you a soup-to-nuts guide on all things ActionScript 3.0 so you can get started working with it immediately.
Table of contents
- Copyright
- About the Author
- Credits
- Acknowledgments
- Introduction
-
I. ActionScript 3.0 Language Basics
- 1. Introducing ActionScript 3.0
-
2. ActionScript 3.0 Language Basics
- 2.1. The Bare Essentials
- 2.2. Using Variables
- 2.3. Commenting Your Code
- 2.4. Introducing Scope
- 2.5. Introducing the Data Types
- 2.6. Connecting You to an Operator
- 2.7. Making Logical Choices with Conditionals
- 2.8. Repeating Actions Using Loops
- 2.9. Summary
- 3. Functions and Methods
-
4. Object Oriented Programming
- 4.1. Understanding Classes
- 4.2. Object Oriented Terminology
- 4.3. Encapsulation: Classes Are Like, So Selfish
- 4.4. Packages: Classes, Functions, and Packing Peanuts
- 4.5. Using Inheritance
- 4.6. Access Control Attributes
- 4.7. Methods and Constructors
- 4.8. Properties
- 4.9. Using Static Methods and Properties
- 4.10. Overriding Behavior
- 4.11. Designing Interfaces
- 4.12. Manipulating Types
- 4.13. Creating Dynamic Classes
- 4.14. Summary
- 5. Validating Your Program
-
II. Core ActionScript 3.0 Data Types
- 6. Text, Strings, and Characters
- 7. Numbers, Math, and Dates
-
8. Arrays
- 8.1. Array Basics
- 8.2. Converting Arrays to Strings
- 8.3. Adding and Removing Items from an Array
- 8.4. Slicing, Splicing, and Dicing
- 8.5. Iterating through the Items in an Array
- 8.6. Searching for Elements
- 8.7. Reordering Your Array
- 8.8. Applying Actions to All Elements of an Array
- 8.9. Alternatives to Arrays
- 8.10. Amazing Properties of Arrays
- 8.11. Summary
- 9. Vectors
- 10. Objects and Dictionaries
-
11. XML and E4X
- 11.1. Getting Started with XML in ActionScript
- 11.2. Querying XML
- 11.3. Modifying XML
- 11.4. Converting to and from Strings
- 11.5. Loading XML Data from External Sources
- 11.6. Gathering Meta-Information about XML Nodes
- 11.7. Using Namespaces
- 11.8. Setting XML Options
- 11.9. Summary
- 12. Regular Expressions
- 13. Binary Data and ByteArrays
-
III. The Display List
-
14. Visual Programming with the Display List
- 14.1. Introducing Display Lists and Display Objects
- 14.2. Display Object Classes
- 14.3. Geometry Classes
- 14.4. Putting the Display List to Use
- 14.5. Rendering and Performance
- 14.6. Summary
- 15. Working in Three Dimensions
- 16. Working with DisplayObjects in Flash Professional
-
17. Text, Styles, and Fonts
- 17.1. Introducing TextFields
- 17.2. Text with HTML and CSS
- 17.3. Background and Border Treatments
- 17.4. Styling Text with TextFormats
- 17.5. Input TextFields
- 17.6. Interaction with TextField Events
- 17.7. Interactive Typography
- 17.8. Fonts
- 17.9. Summary
-
18. Advanced Text Layout
- 18.1. Understanding Advanced Text Controls
- 18.2. The Flash Text Engine
-
18.3. The Text Layout Framework
- 18.3.1. Storing Content and Formatting with Models
- 18.3.2. Laying Out Text with Controllers
- 18.3.3. Text Layout Markup
- 18.3.4. Available Formatting Options
- 18.3.5. Editing Features
- 18.3.6. Undo and Redo History
- 18.3.7. Programmatic Editing
- 18.3.8. Flow and Container Configuration
- 18.3.9. A TextField Adapter Class
- 18.4. Fonts Revisited
- 18.5. Summary
-
19. Printing
- 19.1. Why Print from Flash?
- 19.2. Controlling Printer Output from Flash
- 19.3. Adding Print Functionality to Applications
- 19.4. Summary
-
14. Visual Programming with the Display List
-
IV. Event-Driven Programming
- 20. Events and the Event Flow
- 21. Interactivity with the Mouse and Keyboard
- 22. Timers and Time-Driven Programming
- 23. Multitouch and Accelerometer Input
-
V. Error Handling
- 24. Errors and Exceptions
- 25. Using the AVM2 Debugger
- 26. Making Your Application Fault-Tolerant
-
VI. External Data
-
27. Networking Basics and Flash Player Security
- 27.1. HTTP in Brief
- 27.2. Introducing URLRequest
- 27.3. Navigating to a Web Page
- 27.4. Loader
- 27.5. URLLoader
- 27.6. Sending Variables with URLRequest
- 27.7. Understanding Flash Player Security
- 27.8. Summary
- 28. Communicating with Remote Services
- 29. Storing and Sending Data with SharedObject
- 30. File Access
-
27. Networking Basics and Flash Player Security
-
VII. Sound and Video
-
31. Playing and Generating Sound
- 31.1. An Overview of the Sound System
- 31.2. Prepping and Playing Sound Objects
- 31.3. Controlling Sound Playback
- 31.4. Applying Sound Transformations
- 31.5. Working with a Sound's Metadata
- 31.6. Sampling Audio
- 31.7. Extracting Audio
- 31.8. Synthesizing Audio
- 31.9. Detecting Audio Capabilities
- 31.10. Summary
- 32. Playing Video
-
33. Capturing Sound and Video
- 33.1. Video Input Using a Camera
- 33.2. Sound Input Using a Microphone
- 33.3. Flash Media Servers
- 33.4. Summary
-
31. Playing and Generating Sound
-
VIII. Graphics Programming and Animation
-
34. Geometric and Color Transformations
- 34.1. DisplayObject and the Transform Object
- 34.2. 2D Affine Transformations
- 34.3. Color Transforms
- 34.4. 3D Transformations
- 34.5. Summary
- 35. Programming Vector Graphics
- 36. Programming Bitmap Graphics
- 37. Applying Filters
- 38. Writing Shaders with Pixel Bender
- 39. Scripting Animation
- 40. Advanced 3D
-
34. Geometric and Color Transformations
-
IX. Flash in Context
- 41. Globalization, Accessibility, and Color Correction
- 42. Deploying Flash on the Web
- 43. Interfacing with JavaScript
- 44. Local Connections between Flash Applications
Product information
- Title: ActionScript 3.0 Bible
- Author(s):
- Release date: April 2010
- Publisher(s): Wiley
- ISBN: 9780470525234
You might also like
book
Fundamentals of ActionScript 3.0: Develop and Design
Adobe Flash Professional is the most popular software available for creating animations for the Web. Most …
book
ActionScript Developer's Guide to PureMVC
Gain hands-on experience with PureMVC, the popular open source framework for developing maintainable applications with a …
book
The ActionScript 3.0 Quick Reference Guide
"No matter what your background, the pages that follow will provide you with some excellent knowledge, …
book
ActionScript 3.0 Cookbook
Well before Ajax and Microsoft's Windows Presentation Foundation hit the scene, Macromedia offered the first method …