Book description
ActionScript 3 is a full-fledged programming language, with complete object-oriented capabilities, event handling, sound and video support, drawing capabilities, support for regular expressions, and much more.
Whether you are just starting out on the road to computer programming and animation or an experienced developer who wants to learn a new language, you’ll find all you need to know in Foundation ActionScript 3.
Starting with the fundamentals, you’ll learn how to add interactivity to your Flash movies by using ActionScript objects, manipulating sound and video, and harnessing the power of regular expressions and XML. The book concludes with two case studies to consolidate what you’ve learned and introduce some additional advanced techniques. You’ll gain a solid understanding of the exciting world of ActionScript 3 and see how everything fits together, so you’ll be able to build your own professional applications.
The sensible layout of the book makes it easy to find information about specific techniques. It focuses on the essential skills that will enable you to get up and running quickly. With this book as your guide, you’ll be creating killer Flash applications before you know it.
Table of contents
- Cover
- Title
- Copyright
- Contents at a Glance
- Contents
- About the Authors
- About the Technical Reviewer
- Layout Conventions
- Chapter 1: Getting Started with ActionScript 3.0
- Chapter 2: ActionScript 3.0 Fundamentals
-
Chapter 3: Objects and Classes
- iPod Analogy
- Working with Objects
- Creating Your First Class
- Adding Properties
- Adding Methods
- Controlling Access to Properties and Methods
- Adding Getter/Setter Methods
- Static Properties and Methods
- Taking Advantage of Inheritance
- Using Packages to Group Your Classes
- Removing Dependency on Timeline Code
- Summary
- Chapter 4: Working with the Display
- Chapter 5: Creating Vector Graphics with the Drawing API
- Chapter 6: User Interaction and More with Events
- Chapter 7: Working with Video
-
Chapter 8: Using Audio
- Importing and Converting Sound Files
-
Using ActionScript to Play Sound
- Accessing Sound Files with the Sound Class
- Controlling Sound Channels with the SoundChannel Class
- Doing Security Checks with the SoundLoaderContext Class
- Controlling Volume and Panning with the SoundTransform Class
- Controlling Sounds Globally with the SoundMixer Class
- Getting ID3 Data with the ID3Info Class
- Using a Microphone with the Microphone Class
- Understanding the Basics of a Sound Player Application
- Building a Sound Player
- Summary
- Chapter 9: Working with Components
-
Chapter 10: Regular Expressions
- Why you Need Regular Expressions
- Introducing the RegExp Class
- Anatomy of a Regular Expression Pattern
- Understanding the E-Mail Regular Expression-Pattern
- Changing Regular Expression Behavior with-Modifiers
- Using Variables to Build a Regular Expression
- Useful Regular Expressions
- Regular Expression Resources
- Summary
- Chapter 11: Using XML
- Chapter 12: Case Study: Creating a Dynamic Image Viewer
- Chapter 13: Getting Started with Flex
- Chapter 14: Flex by Example
- Index
Product information
- Title: Foundation ActionScript 3, Second Edition
- Author(s):
- Release date: December 2014
- Publisher(s): Apress
- ISBN: 9781484205839
You might also like
book
Learning ActionScript 3.0, 2nd Edition
If you're new to ActionScript 3.0, or want to enhance your skill set, this bestselling book …
book
Advanced ActionScript 3, Second Edition
Advanced ActionScript 3 is a fresh look and new approach to utilizing valuable, structural techniques and …
book
Essential ActionScript 3.0
ActionScript 3.0 is a huge upgrade to Flash's programming language. The enhancements to ActionScript's performance, feature …
book
ActionScript for Flash MX: The Definitive Guide, Second Edition
Updated to cover Flash MX, the newest version of Macromedia Flash, ActionScript for Flash MX: The …