Advanced ActionScript 3, Second Edition

Book description

Advanced ActionScript 3 is a fresh look and new approach to utilizing valuable, structural techniques and methods that are commonly used in the field of rich interactive application development. With each method broken down into different strategized explanations, you'll find the approach most suitable for you. Whether it is an example you can utilize as-is, or one you can start with and develop further, you will have a glossary of definitions and organizational concepts at your fingertips.

Object-oriented programming (OOP) and design patterns are not new to the field, but can often be overlooked in their value. They are, at times, not only overwhelming to learn, but difficult to put into practice. However, they are useful because they create a structure that can be broken down, rebuilt, and reused.

This edition has been fully updated to reflect modern coding standards and practices.

  • Provides the building blocks required for the implementation of OOP
  • Addresses problems and concerns regarding OOP
  • Offers solutions on how to approach and utilize OOP
  • Table of contents

    1. Cover
    2. Title
    3. Copyright
    4. Contents at a Glance
    5. Contents
    6. About the Author
    7. About the Technical Reviewers
    8. Acknowledgments
    9. Introduction
    10. Chapter 1: Object-Oriented Programming
      1. Encapsulation
      2. Polymorphism
      3. Inheritance
      4. Data Hiding
      5. ActionScript as an Object-Oriented Language
      6. Defining an External Definition
      7. Parts of a Class
        1. The Constructor
      8. Custom Namespaces
        1. Declaring the Namespace Identifier
        2. Applying a Custom Namespace
        3. Opening a Namespace within a Class
      9. Constructing an Interface
      10. Change
      11. General Terms and Definitions
      12. Summary
      13. Key Points
    11. Chapter 2: ActionScript 3: The Facts Behind the Basics
      1. ActionScript 3
      2. The Traits Object
      3. Garbage Collection
        1. Memory Management
        2. Mark and Sweep
        3. Implementing a Disposable Pattern
      4. Manually Declared Stage instances
      5. Application Domain
        1. The LoaderContext
        2. The Class Object
      6. Strong Typing
        1. Runtime Type Checking
        2. Compile-Time Type Checking
        3. Restricting a Dynamic Language
      7. Casting
      8. Configuration Constants
      9. ActionScript Editors
      10. Summary
      11. Key Points
    12. Chapter 3: Decision-Making and Planning
      1. Object-Oriented Analysis (OOA)
      2. Case Study
        1. The Kick-Off
        2. Turning Off the Volume
        3. Use Case Scenario
        4. Requirements from the Features
        5. Flow Chart
        6. Performance
        7. Layering
        8. Analysis Continued
        9. The Breakup
        10. Wrapping Up the Analysis
      3. Object Oriented Design (OOD)
      4. Summary
      5. Key Points
    13. Chapter 4: Intro to Design Patterns
      1. Design Patterns Catalog
        1. Selecting Patterns
        2. Pattern Identification
      2. Reading a Design Pattern
        1. UML
        2. The Class Diagram
      3. Chapter Summary
      4. Key Points
      5. Upcoming Chapters
    14. Chapter 5: Q&A
      1. Quiz 1
      2. Answers to Quiz 1
      3. Quiz 2
      4. Answers to Quiz 2
    15. Chapter 6: Creational Patterns
      1. That Which Must Not Be Named
      2. The Simple Factory
        1. A Comprehensive Look
        2. Example
        3. FAQ
      3. The Factory Method Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. When It’s Useful
        5. Example
        6. FAQ
        7. Related Patterns
      4. The Abstract Factory Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. When It’s Useful
        5. Example
        6. FAQ
        7. Related Patterns
      5. The Builder Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. When It’s Useful
        5. Example
        6. FAQ
        7. Related Patterns
      6. The Simple Singleton Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. Example
      7. The Singleton Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. When It’s Useful
        5. Example
        6. FAQ
        7. Related Patterns
      8. Summary
      9. Key Points
    16. Chapter 7: Behavioral Patterns
      1. The Strategy Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. When It’s Useful
        5. Example
        6. Related Patterns
      2. The Template Method Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. When It’s Useful
        5. Example
        6. FAQ
        7. Related Patterns
      3. The Command Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. When It’s Useful
        5. Example
        6. FAQ
        7. Related Patterns
      4. The Chain of Responsibility Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. When It’s Useful
        5. Example
        6. FAQ
        7. Related Patterns
      5. The Iterator Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. When It’s Useful
        5. Example
        6. FAQ
        7. Related Patterns
      6. The State Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. When It’s Useful
        5. Example
        6. FAQ
        7. Related Patterns
      7. The Memento Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. When It’s Useful
        5. Example
        6. FAQ
        7. Related Patterns
      8. The Observer Pattern
        1. A Comprehensive Look
        2. Vignette
        3. The AS3 Cast
        4. When It’s Useful
        5. Example
        6. FAQ
        7. Related Patterns
      9. Summary
      10. Key Points
    17. Chapter 8: Structural Patterns
      1. The Decorator Pattern
        1. Technical Overview
        2. A Comprehensive Look
        3. Vignette
        4. The AS3 Cast
        5. When It’s Useful
        6. Demonstration
        7. FAQ
        8. Related Patterns
      2. The Adapter
        1. Technical Overview
        2. A Comprehensive Look
        3. Vignette
        4. The AS3 Cast
        5. When It’s Useful
        6. Demonstration
        7. FAQ
        8. Related Patterns
      3. The Composite
        1. Technical Overview
        2. A Comprehensive Look
        3. Vignette
        4. The AS3 Cast
        5. When It’s Useful
        6. Demonstration
        7. Related Patterns
      4. Facade
        1. Technical Overview
        2. A Comprehensive Look
        3. Vignette
        4. The AS3 Cast
        5. When It’s Useful
        6. Demonstration
        7. FAQ
        8. Related Patterns
      5. Chapter Summary
      6. Key Points
    18. Chapter 9: Q&A
      1. Design Pattern Quiz
      2. Answers to Design Patterns Quiz
    19. Chapter 10: MVC: A Compound Pattern
      1. The MVC: Model View Controller
        1. Technical Overview
        2. The Model
        3. The View
        4. The Controller
    20. Chapter 11: Object-Oriented Design… A Revisit
      1. Recap
      2. Initially Identified Objects
      3. Candidate Classes
      4. Elimination Phase
      5. Collaborations
      6. Diagramming
      7. The Creative Direction
      8. Implementation
      9. Chapter Summary
    21. Chapter 12: Getting Real
      1. Object-Oriented Obstacles: O3
        1. Always a Student
        2. Business is Business
        3. Varied Priorities
      2. Object-Oriented Solutions
        1. Software
        2. Dedication
        3. User Groups
    22. Index

    Product information

    • Title: Advanced ActionScript 3, Second Edition
    • Author(s):
    • Release date: December 2014
    • Publisher(s): Apress
    • ISBN: 9781484206713